Hi all,
I have an app with a gallery that shows data from a SharePoint list. Users submit a form on one page to request an approval, and their submission can either be "Pending", "Approved", or "Rejected" on our SharePoint site. My Gallery page currently displays all the items on that SharePoint site, but I want to be able to have users sort the Gallery and only see items for the status they have chosen. I will include some pictures below of what I have, I'm thinking that 3 buttons would be fine (each button filtering by one status) but I haven't been able to get any buttons to filter the gallery.
Any suggestions?


I've tried using a variable, but I'm not very experienced with them and unsure of what to try. I got this code error free:
UpdateContext({var1:Filter(Aurora_Engineering_Standard_Components, Text(Approval_Status) ="Pending")})
but I'm not sure if it'll help do what I want.
Thanks for any help!