Forum Discussion

Dion_tw's avatar
Dion_tw
Frequent Visitor
2 years ago

How to make a dynamic custom SQL query based on given date from the dateslicer?

Hey all,

 

I have managed to create a custom SQL query that is working fine.

However, the start- and enddate are now hardcoded in the query itself.

 

I want to make it dynamic, so that when a user uses the 'datepicker'/'dateslicer' in my dashboard. The query uses that start- and enddate. Is this possible?

 

Kind regards!

7 Replies