The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello, I have three slicers that I am using to filter data in my Power BI.
I would like that when any value of the three slicers is deselected my measure_output should return column e.
If none of the values in the slicers is deselected my measure_output should return column f.
Everything seems to be working as expected when a value is deselected in any of the three slicers.
However it does not work when no value is deselecetd in any of the three slicers, i.e. it is not possible to to return column f.
Here is my dax code any help on what I am doing wrong would be appreciated.
measure_output =
VAR measure_test =
CALCULATE (IF(ISFILTERED('table'[b]) || ISFILTERED('table'[c]) || ISFILTERED('table'[d]), 'table'[e], DISTINCT('table'[f])))
RETURN measure_test
@next-in-Line Well, it's a strange one. See my attached PBIX. First, I don't see the reason for the CALCULATE. But, more importantly it seems that not selecting anything in the slicers is different than selecting all of the items in each of the slicers unless you have the "Show 'Select All' option" toggled on under Slicer settings | Selection card.
User | Count |
---|---|
24 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
11 | |
10 | |
10 | |
9 |