Filter Data in a Data Variable

Im using a data variable using a REST API. I have buttons that populate the Page Variable to different status values like APPLIED, APPROVED, etc. Now Im trying to filter the data variable using the formula: SELECT(outputs[“Get record collection”].records, LOOKUP(item, item.eventStatus.displayName) == pageVars.eventSearchQuery)

This is returning an empty array. I checked the data, the data has status “APPLIED”. The Page Variable has been set to “APPLIED” before triggering to fire the Get Collection event.

Don’t know why the data is not showing up. Where am I possibly going wrong. Need some help here.

Sorted Out.
I did it this way:
SELECT(outputs[“Get record collection”].records, LOOKUP(item.eventStatus, “displayName”) == pageVars.eventSearchQuery)

1 Like