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

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Delegation warning

(0) ShareShare
ReportReport
Posted on by 162
Hi, 
 
I use this code for items prop for a data table beside others conditions to filter. For this one I have delegation warning with || and with 'in'. How to deal with for both cases if my data is under 2000rows and if it is more that 2000 ! 
 
code :
 
 
(IsEmpty(ManagerListFilter_MyTS.SelectedItems) || IsBlank(ManagerListFilter_MyTS.SelectedItems))
                || ManagerName in ManagerListFilter_MyTS.SelectedItems.Title,
 
 
   : Delegation warning
I have the same question (0)
  • Kushal_M Profile Picture
    64 on at
    Delegation warning
     
    Please try the below formula to avoid delegation issues with any number of datasets.
     
    IsEmpty(ManagerListFilter_MyTS.SelectedItems)
        ||
    CountIf(
        ManagerListFilter_MyTS.SelectedItems,
        Title = ManagerName
    ) > 0
     
    🏷️ Please tag me @Kushal_M, if you still have any queries related to the solution or issue persists.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
     Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
  • Suggested answer
    WarrenBelz Profile Picture
    151,951 Most Valuable Professional on at
    Delegation warning
    Firstly, you can try this assuming ManagerName is a Single Line of Text field.
    If(
       IsEmpty(ManagerListFilter_MyTS.SelectedItems),
       YourListName,
       Ungroup(
          ForAll(
             ManagerListFilter_MyTS.SelectedItems As _Items,
             Filter(
                YourListName,
                ManagerName = _Items.Title
             )
          ),
          Value
       )
    )
    Also can you please post (in Text) your full filter - there may be a way to"pre-filter" this.
     
    Please Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 651 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 385 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 230 Super User 2025 Season 2

Last 30 days Overall leaderboard