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 / Filtered gallery not s...
Power Apps
Answered

Filtered gallery not showing all records

(1) ShareShare
ReportReport
Posted on by 115
Hello,
 
I have a Power Apps app that has a gallery, connected to a large Sharepoint list.
I am filtering the gallery with radio buttons (status).
I was having issues with using "Search" and learned that there being >2000 records was likely causing me some grief, so I changed it, and have pasted it below.
I no longer receive any warnings, but I still am not seeing all records.
I'm not 100% sure, but some of the filters seem to work - but when I select 'All' - I only see records up to Jan 6, and if I select 'Completed' I only see records up to Jan 26. Both should have records up to and including today.
 
 
SortByColumns(
Filter(
    Switch(
        radStatusFilter.Selected.Value,
        "All", Tickets,
        "In Progress", Filter(Tickets, Status.Value = "In Progress"),
        "New", Filter(Tickets, Status.Value = "New"),
        "Completed", Filter(Tickets, Status.Value = "Completed"),
        "On Hold", Filter(Tickets, Status.Value = "On Hold"),
        "Cancelled", Filter(Tickets, Status.Value = "Cancelled"),
        Tickets // Fallback
    ),
    StartsWith(Title, txtSearch.Text)),
    "DateReported", SortOrder.Descending)
 
 
 
Any thoughts or suggestions?

Thanks,
Amber
 
Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,563 Super User 2026 Season 1 on at
     
    It seems the nested Switch() function in the Filter() function is breaking the delegation despite not showing any warnings. Please try the below formula instead which should give the same result, but is fully delegable:
     
    SortByColumns(
        Filter(
            Tickets,
            (
                radStatusFilter.Selected.Value = "All" 
                || Status.Value = radStatusFilter.Selected.Value
                || IsBlank(radStatusFilter.Selected.Value)
            )
            && StartsWith(Title, txtSearch.Text)
        ),
        "DateReported",
        SortOrder.Descending
    )
     
    If this reply helped you in any way, please give it a Like 💜 and in case it resolved your issue, please mark it as the Verified Answer ✅.
  • AH-22100006-0 Profile Picture
    115 on at
    Thank you so much! That did the trick :)
     
    Amber
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#2
Haque Profile Picture

Haque 69

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard