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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Question In regard of ...
Power Pages
Answered

Question In regard of Delegation + Performance need help

(1) ShareShare
ReportReport
Posted on by 19

Hi Guys,

 

I'm building a gallery that is being filtered by a combobox + a text box, the data comes from a Sharepoint list with around ~200 entries,  the filter is currently  working but it's giving a delegation warning and it's kinda laggy.  

 

 I've the print of the code that I'm using, can someone help me to build a more efficient code that doesnt run into delegation issues, and that the response is faster? It would be really appreciated!

 

Code:

Filter('Digital_Library_2.0';

(
IsEmpty(
localizar_catalog.SelectedItems.Result)

||
IsBlank(
localizar_catalog.SelectedItems.Result)

||

field_3 in localizar_catalog.SelectedItems.Result

)


&&
(
TextInput1_1.Text in Title
||
TextInput1_1.Text in field_1
||
TextInput1_1.Text in field_2
)

 

 

 

BrkProdig_0-1658719565371.png

 

Categories:
I have the same question (0)
  • fyamasaki Profile Picture
    7 on at

    I'm running into a similar issue, looking forward to knowing a workaround

  • BrkProdig Profile Picture
    19 on at

    Yes, I hope someone has a solution for this 

  • oliver.rodrigues Profile Picture
    9,368 Most Valuable Professional on at

    Hi, I would suggest posting this on the Power Apps/Canvas Apps forum: 

    Power Apps Community - Power Platform Community (microsoft.com)

     

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @WarrenBelz 

    This thread is for you.  Sorry, we don't have permission to move. 

    Please help. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Verified answer
    WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @BrkProdig ,

    Firstly, the in filter is simply not Delegable in SharePoint and each one of your filter criteria contains it, so there is no opportunity to "pre-filter" to improve this. However, if your list numbers are always going to be under your (maximum 2,000) Delegation limit, this will "mask" the issue (you will not get a warning, but the limit is still there) and possibly run a bit faster

    With(
     {wList: 'Digital_Library_2.0'};
     Filter(
     wList;
     (
     Len(localizar_catalog.Selected.Result) = 0 ||
     field_3 in localizar_catalog.SelectedItems.Result
     ) &&
     (
     TextInput1_1.Text in Title ||
     TextInput1_1.Text in field_1 ||
     TextInput1_1.Text in field_2
     )
     )
    )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

  • BrkProdig Profile Picture
    19 on at

    Hi Warren! Thank you it worked!  😀

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 78 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 75

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard