Jeremy Simard
06/14/2024, 12:38 PMMichal Hauzírek
06/14/2024, 1:16 PMJeremy Simard
06/14/2024, 1:22 PMJeremy Simard
06/14/2024, 1:22 PMMichal Hauzírek
06/14/2024, 1:26 PMJeremy Simard
06/14/2024, 1:40 PMJeremy Simard
06/14/2024, 1:40 PMMichal Hauzírek
06/14/2024, 1:40 PMSELECT MAX(Date (Timeline)) BY ALL OTHER EXCEPT Date (Timeline)
◦ _timelineEnd = SELECT MAX(Date (Timeline)) BY ALL OTHER EXCEPT Date (Timeline)
• In your normal metrics that you want to filter by some specific date via the Timeline, you add ... WHERE Date (your date) BETWEEN _timelineStart AND _timelineEnd
◦ you can use have different dates for different metrics in your insight
• last step is to set the Insight date filter to use the Timeline
date for filtering
◦ note that you might need to do this before you add any metrics to the insight (otherwise the Timeline won’t show in the list). So first add the filter, then add the metrics. You might also see some a warning about the filter. But it should work.Michal Hauzírek
06/14/2024, 1:44 PM_timelineStart
and _timelineEnd
metrics get as results numbers that represent first day and last day of your date selection. And these numbers are then passed to your other metrics and used for filtering by the actual date values.