How to filter events to current date

I have an object list that displays events in a workshop app. I’d like it to have it automatically filtered to the current date’s events. How can I do this? Thanks a lot

Hey!

When you create a ‘Date’ variable, select variable transformation and then search for ‘Current Date/Timestamp’ within it. Name your variable appropriately; this gets you a current date variable.

In the object set or filter list for the object set, you can filter your date property to whatever configuration you want based on that current date variable (click the ‘(x)’ in the object set).

That should do it!

1 Like

Hi!

To add on to the response above, you can also directly filter the object set without any additional varibales by enabling the “Relative to Today” switch and selecting Today-Today in the dropdowns:

2 Likes

In the filter pane on your date filter, make sure to select “Customize Range Presets”

Then select the “Today” option:

This is a fairly new feature.

Another option is to pre-filter your object set to only select objects with today’s date (using the relative option selected) on the date property. The disadvantage of this approach is that users cannot adjust the filter to select objects on other days. If you want to prevent any other objects on other days showing, then rather use this approach. If its a filter on today you want, then use the above approach.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.