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 September 15. Request your voucher.
Hi All,
I have a three mode, If I select one mode in slicer then is should show countof other.
Ex: I have three mode data "Air", "Ocean" and "Rail". If I slecect mode "Air" in slicer then it should show me count of mode "Ocean and Rail" so on...
Please any one help me with this, I am trying DAX function for this from long.
Thank you.
Regards,
Sachin.
Solved! Go to Solution.
@Anonymous Please try this as a New Measure
Test309 = VAR _Selection = SELECTEDVALUE(Test309SlicerExclusion[Mode]) RETURN CALCULATE(COUNTROWS(Test309SlicerExclusion),NOT Test309SlicerExclusion[Mode] IN {_Selection})
Sample Test Data
Proud to be a PBI Community Champion
@Anonymous Please try this as a New Measure
Test309 = VAR _Selection = SELECTEDVALUE(Test309SlicerExclusion[Mode]) RETURN CALCULATE(COUNTROWS(Test309SlicerExclusion),NOT Test309SlicerExclusion[Mode] IN {_Selection})
Sample Test Data
Proud to be a PBI Community Champion
User | Count |
---|---|
69 | |
65 | |
63 | |
48 | |
28 |
User | Count |
---|---|
112 | |
82 | |
66 | |
48 | |
43 |