posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Dynamic "Today" filtering

Open dsert1 opened this issue 4 months ago • 0 comments

Feature request

Is your feature request related to a problem?

Yes

Please describe. I need to be able to report on a specific event only when the "appointmentDate" property is before today. The problem is that right now, I don't have a way for that to be dynamic. I can only set it to today's date, which is out-of-date by the time it's tomorrow.

Screenshot 2024-10-18 at 08 59 31

Describe the solution you'd like

I need a "Today" button that will automatically fill in HogQL today() rather than a date as a literal.

Screenshot 2024-10-18 at 08 59 53

Describe alternatives you've considered

I tried creating an Action like so, but I found it to be very clunky and unintuitive. Most people wouldn't be able to figure this out and it took more time from my day than I would have liked.

image

Screenshot 2024-10-18 at 09 05 32

dsert1 avatar Oct 18 '24 16:10 dsert1