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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Thanks in advance.
I have a card visual which needs to only display it's value based on 1 slicers specific selections.
There are about 8 different combinations of selections the end user could make of this slicer in which the card needs to display, some a single values but majority are specific multiple values that are selected.
For example when Product2 is selected the value needs to show, and also when Product2 and Product3 is selected; but NOT when Product2 and Product4 is. tHere about 8 specific curated scenarios in which if occur the card visual needs to show.
I am struggling with the DAX logic behind this, any advise is appreciated.
Hi,
For multistate conditional logi try using SWITCH + TRUE structure.
E.g.
The basic logic is the following:
Proud to be a Super User!
Hi Yes, Thank you.
Getting there I think, but with the above measure how would i hard code in the combinations required.
So for example i want the message only to show when price2, price 3 and price4 is selected by user?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 9 | |
| 9 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 21 | |
| 20 | |
| 20 | |
| 14 | |
| 14 |