Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I would like to make a YES/NO slicer where NO shows all countries and YES shows the official scope with some countries excluded.
I found the formula below and it is working for one country.
If I would like to exclude mutiple countries, how do I include them in the same formula?
Or should I use another approach?
Solved! Go to Solution.
@NinoLag Sorry, I missed a paren.
Measure = IF(SELECTEDVALUE('Table'[Column1])="NO",1,IF(NOT (MAX('IHtoberefreshed (2)'[Country]) IN {"Australia", "Germany"}),1))
@NinoLag Maybe:
Measure = IF(SELECTEDVALUE('Table'[Column1])="NO",1,IF(NOT (MAX('IHtoberefreshed (2)'[Country]) IN {"Australia", "Germany"},1))
@NinoLag Sorry, I missed a paren.
Measure = IF(SELECTEDVALUE('Table'[Column1])="NO",1,IF(NOT (MAX('IHtoberefreshed (2)'[Country]) IN {"Australia", "Germany"}),1))
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.