The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
User | Count |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
23 | |
14 | |
14 | |
9 | |
7 |