I have a custom entity (Event) with Title, Date and State fields. The State field's type is Enumeration of "Active/Inactive".
I want to filter my data to show only the active events.
What is the syntax of it?
I set the Items property of the Gallery object to Filter('Event', Title = "xyz") works well, but Filter('Event', State = Active) nor Filter('Event', State = "Active") do not work.
Go to Solution.
Try Text() function to convert the State enumeration to string and compare as below.
View solution in original post
It works fine.
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.