web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter doesn't work in...
Power Apps
Unanswered

Filter doesn't work in Power app

(0) ShareShare
ReportReport
Posted on by 4

We passed 2000 rows when using our app at work, so we are trying to apply an additional filter. However, this one does not appear to work.

 

SortByColumns(Filter([@'Product Inventory - Part 1'],Order="Part1" Or Order="Part2", TextInput1.Text in Title), "field_1", If(SortDescending1, Descending, Ascending))

 

The two filters work separately (Order="Part1" Or Order="Part2" -> this one causes more than 2000 rows to be seen), but together they no longer work.

Would anyone know how I can solve this?

Categories:
  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Hi @Automation6 

     

    Try this:

    SortByColumns(
     Filter(
     [@'Product Inventory - Part 1'],
     (Order = "Part1" Or Order = "Part2") And TextInput1.Text in Title
     ),
     "field_1",
     If(SortDescending1, Descending, Ascending)
    )
  • Automation6 Profile Picture
    4 on at

    Hi @Rusk 

    Thanks for the quick reply!

     

    Now when I search for something where I know there are results in both Part 1 and Part 2, I still only get the results from Part 1.

    (Part 1 has 2000 entries, Part 2 just under 2000).

  • victorcp Profile Picture
    2,350 Moderator on at

    Hi,

    Unfortunately the maximum number of items retrieved in a single call is 2000, I would suggest adding another filter to get exactly what the user needs

     

    I hope it helps 🙂

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    Good morning @Automation6 

     

    I noticed your data source is named 'Product Inventory - Part 1'.  Does this data source actually have "Part2"in it?

  • Automation6 Profile Picture
    4 on at

    Hi! @Rusk

    Yes, it's just because I also have a list with the name Product Inventory.

     

  • Rusk Profile Picture
    1,369 Super User 2024 Season 1 on at

    I tested and it looks like the filter should be working fine... 

    Rusk_1-1677259377981.png

    The issue is no doubt what @victorcp mentioned

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard