Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Delegation Issue Using Filter Function On SharePoint Choice Column

(0) ShareShare
ReportReport
Posted on by 56

Hi All,

I have a question regarding delegation that came about earlier this week when I made a slight change to my SharePoint data source ("Requests"). 

The Power App includes a screen with a Radio Button control that is used to filter a Gallery control to show items from the SharePoint list based upon the status. Radio Button choices are "Open" and "Completed". These values tie to a Status column on the SharePoint list.

Previously, this was a Text column called "Req_Status". Thus, I used the following for the Items property of the Gallery control:

*****************

Filter(
Requests,
Req_Status = radioBtnStatus.Selected.Value
),

*****************

Earlier this week, I replaced Req_Status with a new Choice column called Request_Status. The Choice column values are simply "Open" and "Completed", thus they still align with the Radio Button choices in the Gallery screen. Since I'm filtering on a Choice column now, I updated the Items property of the Gallery to the following:

*****************

Filter(
Requests,
Request_Status.Value = radioBtnStatus.Selected.Value
),

*****************

The Gallery control still displays the pertinent items (based upon the Radio button choice equaling "Open" or "Completed") - however, I noticed that if I select the latter, it's capping at 500 items which is the Data Row Limit setting for the app. There's about 550 items in the SharePoint list with a "Completed" status, so the Gallery is no longer pulling a full dataset. When I was filtering off the Text column (Req_Status), I didn't encounter any issues.

Now obviously I can work around this in the interim by simply increasing the Data Row Limit in the App settings. That said, I'm a bit vexed as to why I'm running into this issue if the Filter function is Delegable.

Is there a reason it would behave differently when filtering against a Choice column versus Text? 😖

 

Thanks in advance for any assistance / guidance you can provide! 😊

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at
    Re: Delegation Issue Using Filter Function On SharePoint Choice Column

    @bcanfield83 

    Try

     

     Filter(
     Requests, IsBlank(Request_Status.Value)|| // will show all records if a blank is included
     Request_Status.Value = "Open"||
     Request_Status.Value = "Completed" 
     ),

     

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard