Skip to main content

Notifications

Power Apps - Building Power Apps
Suggested answer

Power Apps Search Filter Issue

Posted on by 4

On this app, when I search for '3 R', the item [3 Rings] is displayed.

 

When I search for 'Rings', it does not find or display [3 Rings].

 

How can I edit the search box to filter any letters or words so I can see 3 Rings by only typing 'Rings'?

Format below:
 
SortByColumns(
    Filter(
        [@'Appendix D - Product and Service Approved & Prohibited List'],
        StartsWith(
            Title,
            TextSearchBox1.Text
        )
    ),
    "Title",
    If(
        SortDescending1,
        SortOrder.Descending,
        SortOrder.Ascending
    )
)
  • Suggested answer
    Inogic Profile Picture
    Inogic 830 on at
    Power Apps Search Filter Issue
    Hi,

    Please try the below FX formula to search based on the text input.

    SortByColumns(
        Filter(
            [@'Appendix D - Product and Service Approved & Prohibited List'],
            Search(@Datasource, TextSearchBox1.Text,Title)
        ),
        "Title",
        If(
            SortDescending1,
            SortOrder.Descending,
            SortOrder.Ascending
        )
    )

    Note: Replace the @Datasource with your entity
     
     
    Hope this helps.
     
    Thanks!
    Inogic Professional Services: Power Platform/Dynamics 365 CRM
    An expert technical extension for your techno-functional business needs
    Drop an email at crm@inogic.com 
    Service: https://www.inogic.com/services/ 
    Tips and Tricks: https://www.inogic.com/blog/ 
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,095 on at
    Power Apps Search Filter Issue
    A Filter action with "in" won't return all results due to delegation. You can increase the delegation limit in Power Apps to handle more rows, but it won't solve the issue for datasets larger than 2,000 rows.
  • AL-01100918-0 Profile Picture
    AL-01100918-0 4 on at
    Power Apps Search Filter Issue
    markperrah - Thank you
     
    Unfortunately, I am now getting unexpected behaviour - the '3 Rings' record has disappeared along with other records when searching:
     
  • markperrah Profile Picture
    markperrah 45 on at
    Power Apps Search Filter Issue
    SortByColumns(
        Filter(
          [@'Appendix D - Product and Service Approved & Prohibited List'], 
             TextSearchBox1.Text in Text(Title)), 
              "Title", 
              If(SortDescending1, 
                 SortOrder.Descending,  
                 SortOrder.Ascending))
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard