Hi all,
I have an app, with a gallery that works like a registration screen (users can registers for courses, etc).
To the left of this on the same screen, I have a second gallery, that filters in "Location".
I want my registration gallery to default on loading to show "all" current courses, and only filter when the location gallery is selected.
This is the code, I am using. Not sure why it isn't working:
Filter(
Sort(
SP list,
‘Date',
SortOrder.Ascending
),
(Len(LocationGallery.Selected.Location) = 0 || Location = LocationGallery.Selected.Location),
‘Date' >= Today()
)
Any help would be appreciated.
DW