Dynamic Date Range Report Filter
Answered
Experts,
I am looking to create a date field filter between current date at 4:0PM to tomorrow 3:59PM it should be calculated when ever the report run. I need help to implement this.
Regards
Mohammad
Hi Mohammad,
I think the best way to do this would be to create a custom query cached filter for your current date at 4:00. In mysql this would be:
You can then set the default value to be "Max". For your next either link to filter, you can either link with a dynamic offset (+23 hours), or create a second custom query with +39 hours (from midnight on the current day).
Let me know if this makes sense.
Regards,
Nathan
Hi Mohammad,
I think the best way to do this would be to create a custom query cached filter for your current date at 4:00. In mysql this would be:
You can then set the default value to be "Max". For your next either link to filter, you can either link with a dynamic offset (+23 hours), or create a second custom query with +39 hours (from midnight on the current day).
Let me know if this makes sense.
Regards,
Nathan
Replies have been locked on this page!