Mathieu Vézina
08/04/2023, 4:04 PMSELECT (*Task/Event Created Date Unix* - *Lead Created Date Unix*)
I want to get the seconds between to date when a lead as created in my database and the time of I create an appointment for this lead.
Task/Event Created Date Unix is the Dataset and in this dataset I have a referal link to LeadId stored into Lead Dataset
First question when I add my metric into Analyse I can not for example get the Lead Id For example We want for Month of year the time between a lead is created and a lead is contacted, must add something in MAQL metric to give me the field ?
Second Question the best query for me is to filter my select with where *Task/Event Main Event* = *true* and *Task/Event Type* = *appointment*
it's the best way to do that ?
Thank you!Moises Morales
08/04/2023, 7:01 PMMoises Morales
08/04/2023, 7:02 PMMoises Morales
08/04/2023, 7:34 PMMoises Morales
08/04/2023, 7:36 PMSELECT SUM (fact 1 - fact 2)