
hello, I have a gallery with four filtering buttons based on the status
Each button has its OnSelect written as Set(varStatus, true). So for example, when clicking on pending, Set(varPending, true), etc.
The gallery items function is
Filter('myDataSource', SubmittedBy = EmployeeID.Text (ignore this part its for something else), Or(varFilter ="All", Status = varFilter))
^ the red is what im referring to for now. How do i get the gallery to show all records for default. right now when i launch it, i have to manually click a filter button.
Thanks in advance!!!!
Hi @water-guy-5 ,
I suggest you set varFilter it to "All" at screen OnVisible
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps