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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors