cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ashok2
Post Patron
Post Patron

how to add filter with search and sort in powerapps

how can add filter column name "delete" equals "no" in below powerapps syntax for gallery item

 

SortByColumns(Search(AddColumns( 'SP_List', "EmpText", 'Team Member'.DisplayName ),TextInput1.Text,"EmpText","Title"),"Modified",Descending)

  

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Ashok2 

Please consider changing your Formula to the following:

SortByColumns(
    Search(
        AddColumns(
            Filter('SP_List', delete="no"),
            "EmpText", 'Team Member'.DisplayName 
        ),
        TextInput1.Text, "EmpText", "Title"
    ),
    "Modified",Descending
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@Ashok2 

Please consider changing your Formula to the following:

SortByColumns(
    Search(
        AddColumns(
            Filter('SP_List', delete="no"),
            "EmpText", 'Team Member'.DisplayName 
        ),
        TextInput1.Text, "EmpText", "Title"
    ),
    "Modified",Descending
)

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,069)