Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
60 | |
58 | |
54 | |
36 | |
33 |
User | Count |
---|---|
79 | |
66 | |
45 | |
44 | |
42 |