I'm frequently struggling for one of the PowerApps form I'm creating, as I'm not too expert into this.
SortByColumns(Search('SharePointListName', TextInput1.Text,'Customer Name', Status),"Modified", SortOrder.Descending)
TextInput1 is a Text Input added above the Gallery to Search the Gallery with Customer Name or the Status column
Now my requirement is to filter the Gallery by clicking the buttons
For Instance - I need to add a Button Called Status, Now when the user clicks the button, the Gallery should only filter where the status is called Pending and we should also get a count of how many Pending counts are there. Please note, my Status column is a calculated field and the default property is set as beow:
If(Len(DataCardValue4.Text)=0,"In Progress","Completed")
Similarly - I need to check a Date field (called as Recorded Date), which are Blanks, so when the user clicks the button, the Gallery should only filter the Dates which are blank and we should also get a count of how many Blank dates are there.
And lastly I should have an option to Filter the Gallery with all records by clicking a button which will be called "All"
Please advise. Thanks!