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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / FILTER DELEGATION LARG...
Power Apps
Unanswered

FILTER DELEGATION LARGE DATA SET

(0) ShareShare
ReportReport
Posted on by 195

Hello everyone,

 

Good day!

 

I would like to ask what is the best way to avoid delegation using my filter below. 

 

The first filter I used. But i'm having delegation the blue one.
Sort(
 Distinct(
 Filter(
 'Service Region Market',
 !(Vendor)
 ),
 Service.Value
 ),
 "Result"
)

Next one is same with first.
Sort(
 Distinct(
 Filter(
 'Service Region Market',
 !IsBlank(Vendor)
 ),
 Service.Value
 ),
 "Result"
)

Last is: Having incompatible comparison
Sort(
 Distinct(
 Filter(
 'Service Region Market',
 Vendor <> Blank()
 ),
 Service.Value
 ),
 "Result"
)

 Thanks in advance for your help. guys! 

Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @YamiteKudasai ,

    You have two issues here - Distinct is not Delegable, neither is Not() which includes <> and !IsBlank. You therefore cannot do what you want in a Delegable manner. Also what type of field is Service - you would normally not be able to do a Distinct on that?

     

    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

  • YamiteKudasai Profile Picture
    195 on at

    Hi @WarrenBelz , Service is a lookup column

  • YamiteKudasai Profile Picture
    195 on at

    The real code below. When I used collection its okay. But I don't want to use collection since the data is so big. I need to do it direct to datasource filter. 

    YamiteKudasai_0-1643614031035.png

     

  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    Hi @YamiteKudasai ,

    Third reason - you cannot use Distinct on a Lookup column without using AddColumns, which is also not Delegable. Unless you want to do a big collection, you cannot do this.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard