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

Delegation Help - Formula check please

ForAll(Filter(splist, columnname = Text(Gallery4_6.Selected.PowerBiData)),columnname)

 

I was using the above formula with the Distinct function instead of ForAll. 

 

I changed to the ForAll as I read up about delegation issues with the distinct function.

 

However, I then read that ForAll is non-delegable. But I have no yellow warning sign.

 

Will the above formula fall victim to delegation issues? If so, what can I use instead of the ForAll? 

 

Thanks

 

D

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Delegation Help - Formula check please

@milky_bar_may 
The current formula you are showing is fine in terms of delegation.  FORALL iterates over a result-set so as long as the inner formula can be delegated you will be OK. 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Delegation Help - Formula check please

@milky_bar_may 
The current formula you are showing is fine in terms of delegation.  FORALL iterates over a result-set so as long as the inner formula can be delegated you will be OK. 

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Highlighted
Helper IV
Helper IV

Re: Delegation Help - Formula check please

Thanks @mdevaney !

 

Does the same logic apply for the distinct function? 

 

If so, would it be best practice to use the Distinct or ForAll?

 

Thanks

 

D

Highlighted
Super User
Super User

Re: Delegation Help - Formula check please

@milky_bar_may 
DISTINCT is not delegation-friendly.  Do not use it if you want to avoid the warning.

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up." 

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,696)