Filter Data by Selected Timeframe Using DQL Queries

Hello,

Is there any way to access the timeframe (start/end) of a DQL query within the query itself? Something like query variables.

I need to evaluate a certain sequence of bizevents flows. Typically the process duration (time between first and last event) is below 5 minutes. I need to use it in a filter command and filter only starting events which occurred more than 5 minutes before the timeframe end.

Hello @Julius_Loman 
On Dashboards in a DQL query, you can use the variables $dt_timeframe_from and $dt_timeframe_to to get the dashboard timeframe
Not sure if that really answers your question…

@GerardJ only partially - I need that in notebooks or SRG. Looks like I will raise another product idea.

this helped me out immensely, though. thanks @GerardJ !