Hi All,
I am new to power apps and I am currently building a leave request app for use by our team. With the help of searching and youtube I can say I made a lot of progress. Now I am stuck with creating a filter for the Leave Summary page. I can seem to connect the buttons to the gallery itself. I have tried many suggestions but none seem to work or I dont know how to tweak the formulas suggested to work with my data.
So currently I have this page:

The gallery items is currently set for the user to view their own entries only and this is the current item formula:
Sort(Filter('Leave requests', 'SME Email' = User().Email), 'Leave Date',SortOrder.Descending)
As you can see, I want to use the buttons to filter based on Approval Status (Item name: Approval).
Need help on how I can have a functioning Filter.
Thanks in advance and I truly appreciate any help.