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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all ,
I'm using
Solved! Go to Solution.
I managed to make it work , thank you @amitchandak .
I used this ,
@Anonymous . try like
countx(allselected(table),table[column])
Or
measure =
Var _1 = countx(allselected(table),table[column])
var _2 = countx(all(table),table[column])
return
if(_1=_2 =0,_1)
That didn't work , it shows the value as 448 now , i had edited the message just before you replied , maybe you can get a better understanding now
@Anonymous , try
measure =
Var _1 = calculate(distinctCOUNT(table[column]),allselected(table))
var _2 = calculate(distinctCOUNT(table[column]),all(table))
return
if(_1=_2 =0,_1)
I managed to make it work , thank you @amitchandak .
I used this ,
Is it possible to ignore some months for slicer count? so for example count all selected on slicer, except 9,10,11,12
thanks!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 66 | |
| 46 | |
| 42 | |
| 26 | |
| 19 |
| User | Count |
|---|---|
| 196 | |
| 127 | |
| 102 | |
| 67 | |
| 49 |