cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
strahlemann42
Frequent Visitor

Mixing results in filter And(a, Or(b, c))

Sorry, I am seeking help on this issue: 


What I am trying to find are the following items from a sharepoint list: "Show me all, which are connected to an organizational entity (a) (text), or those who are valid for the whole company (b) (yes/no) but only those which are marked valid/not expired (c) (yes/no)." 


What works, but which raises delegation warnings is the Javascript notation: Filter([@table], c && (a || b))


What I want to achieve is this notation, which brings far more results than expected: Filter([@table], And(c, Or(a, b))


What am I doing wrong?

2 REPLIES 2
WarrenBelz
Super User III
Super User III

Hi @strahlemann42 ,

The Delegation issue I believe is the Boolean fields, not the and/or (which is Delegable).

I never use these, but instead have text fields with “yes” or “no”. I have done a blog on Delegation and if you look under Field Types, I have provided a Boolean workaround there.

 

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.

Hi @strahlemann42 ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

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.

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,563)