Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have a slicer, and I want the visuals in my report to be blank when nothing is selected. If found different measures in the forum:
1. Slicercheck = ISFILTERED ( 'Deals'[Customer])
2.
SlicerCheck =if(calculate(distinctcount(Deals[Customer]),allselected([Deals[Customer]]))=1,"Y","N")
(My slicer is on column 'Deals'[Customer] )
They both work, except for when I click 'Select All' in the slicer. Then it acts like nothing is selected. Also
Selected = ISFILTERED('Deals[Customer])
Returns empty when selecting 'select all'
Any tips? I saw a post from 3 years back with the same issue, and no solution. Maybe something has changed now?
Solved! Go to Solution.
Hey @Laila92 ,
can you please elaborate a little more on what will be the difference if "all" available items are selected, meaning checked, instead of none items are selected
From a technical perspective, all items selected has same effect as none items are selected. In both cases, the table and related tables will not be filtered.
Regards,
Tom
Hi everyone,
I look for any solution and in my tests I have found this solution:
Measure 1=
var _valuesSelectedTable1 = CALCULATE(COUNTROWS([Table1]), ALLEXCEPT([Table1],Table1[Column]))
I don't think there is a way to check for that. It's something that only exists in the slicer.
Hi @Laila92 ,
Does that make sense? If so, kindly mark the proper reply as a solution to help others having the similar issue and close the case. If not, let me know and I'll try to help you further.
Best regards
Amy
Hello @Laila92
"Select All" is really telling the DAX engine to apply no filter. 2 & 3 are the same thing to DAX.
So ISFILTERED = FALSE means nothing is selected (no filter applied).
Do you know how to check if SELECT ALL is selected or not?
Hey @Laila92 ,
can you please elaborate a little more on what will be the difference if "all" available items are selected, meaning checked, instead of none items are selected
From a technical perspective, all items selected has same effect as none items are selected. In both cases, the table and related tables will not be filtered.
Regards,
Tom
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
96 | |
77 | |
63 | |
55 |
User | Count |
---|---|
143 | |
109 | |
89 | |
84 | |
66 |