Hi,
I have a gallery where, based on the user selection, the filter will be different. When the user selects the option that they want to see (from an icon), the variable is updated with the icon value and this will be used in the filter. But I'm sure the format in my items field is completely wrong!
My formula is:
Sort(
If(GallView = "1st Approval (Awaiting Price)",
Filter('Travel Approval Process','Pre-approved'.Value = "Approved" And 'Travel Approval Process',Approved.Value = "Pending")
,
If(GallView = "2nd Approval (Awaiting Ticket Issuance)",
Filter('Travel Approval Process',Approved.Value = "Approved" And 'Travel Approval Process','Tickets Issued'.Value= "No")
,
'Travel Approval Process')
),
Created,Descending)