cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vffdd
Super User
Super User

Delegation warning with <> not equal

when I'm filtering a gallery using a switch statement,  I get a delegation warning for anything that I want to put as "not equal to" <> is there any way to avoid this ? I don't want to list the 10 things it should be equal to which doesn't cause delegation rather than just saying the 1 thing it shouldn't be equal to !

 

TIA

1 ACCEPTED SOLUTION

Accepted Solutions
Drrickryp
Super User
Super User

@vffdd 

The <> operator is not delegatable in SharePoint.  If your items in the list are < 2k, you can create a collection first, then filter it or filter down the list to less than 2k and then apply the <> operator.  See @WarrenBelz 's blog Practical PowerApps for other ways get around the delegation issue. 

View solution in original post

2 REPLIES 2
Drrickryp
Super User
Super User

@vffdd 

The <> operator is not delegatable in SharePoint.  If your items in the list are < 2k, you can create a collection first, then filter it or filter down the list to less than 2k and then apply the <> operator.  See @WarrenBelz 's blog Practical PowerApps for other ways get around the delegation issue. 

vffdd
Super User
Super User

Thanks

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (2,124)