Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sfolkes80
New Member

Help Create Rule

sfolkes80_0-1664482379649.png

 

I have been trying to write a rule and It is not working.  If the Series Collection contains both Number of Bowls ( Double and Single) then Yes, else no.. So if the series collection only has Single, it should flag NO.  How can I write this rule.  I am not having any luck

3 REPLIES 3
sfolkes80
New Member

Should I merge the series collection field and number of bowls? I want PQ to look at both series collection and number of bowls field

should this work.

=let a=Table.Buffer(Table.Group(PreviousStepName,"Series/Collection",{"Flag",each if List.ContainsAll([Number of Bowls],{"Double Bowl","Single Bowl"}) then "Yes" else "No"})) in Table.AddColumn(PreviousStepName,"Flag",each a{[#"Series/Collection"=[#"Series/Collection"]]}?[Flag]?)

Thank you Daniel for looking into this for me.  So my previouse step, I merged the series collection and number of bowl, so I applied the formula and  now I am getting this error

sfolkes80_0-1664551693292.png

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors