cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

Delegation warning on gallery filter

I'm working with a SharePoint list (Named: SampleData2) containing 20,000 rows of data.

One column within the list is a single line of text column named 'Plant Name'.

 

I have a gallery within the PowerApp which is looking at the SharePoint list and carrying out a filter to return 1 x 'Plant Name' (in this example 'Berlin'.

 

This works fine. 

 

Items:            Filter(SampleData2,
                     'Plant Name' = "Berlin")

 

However, when I add a second filter criteria (to return both "Berlin" and "Stockholm") I then get a delegation warning and the blue underline of "Stockholm". 

 

Delegation.JPG

 

So I gather you cannot filter on more than one criteria without stumbling into the delegation issue. Can anyone think of a workaround regarding this please? 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Hi @Tricky778 ,

Try

Filter(
   SampleData2,
   'Plant Name' = "Berlin" ||
   'Plant Name' = "Stockholm"
)

 

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.

View solution in original post

3 REPLIES 3
Super User II
Super User II

Hi @Tricky778 ,

 

Try this formula instead:

Filter(SampleData2, 'Plant Name'="Berlin" || 'Plant Name'="Stockholm")

 

Hope it helps !

Super User III
Super User III

Hi @Tricky778 ,

Try

Filter(
   SampleData2,
   'Plant Name' = "Berlin" ||
   'Plant Name' = "Stockholm"
)

 

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.

View solution in original post

Thank you @WarrenBelz & @gabibalaban , both worked perfectly. User error 🙂

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (17,433)