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 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:
I have the same question (0)
  • WarrenBelz Profile Picture
    152,843 Most Valuable Professional on at
    Re: FILTER DELEGATION LARGE DATA SET

    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
    Re: FILTER DELEGATION LARGE DATA SET

    Hi @WarrenBelz , Service is a lookup column

  • YamiteKudasai Profile Picture
    195 on at
    Re: FILTER DELEGATION LARGE DATA SET

    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
    152,843 Most Valuable Professional on at
    Re: FILTER DELEGATION LARGE DATA SET

    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard