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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi,
I'm using in a dinamic table the function DISTINCCOUNT but this command counts the null value too:
Here I'm using the DISTINCTCOUNT and the result is wrong because it is counting the empty value:
With "No Resume"...
Is it possible to configure the DISTINCTCOUNT to avoid to count the empty value (or a specific value to define)?
Thanks.
Solved! Go to Solution.
Try this:
CALCULATE(DISTINCTCOUNT([Ginclus]), [Ginclus]<>" ")
Of course you may have to make it: CALCULATE(DISTINCTCOUNT(Ginclus]), [Ginclus]>0) if you are using a zero instead of a blank.
Keep in mind, I don't know the absolute names of your data and these were just pulled from the image.
Proud to be a Super User!
Try this:
CALCULATE(DISTINCTCOUNT([Ginclus]), [Ginclus]<>" ")
Of course you may have to make it: CALCULATE(DISTINCTCOUNT(Ginclus]), [Ginclus]>0) if you are using a zero instead of a blank.
Keep in mind, I don't know the absolute names of your data and these were just pulled from the image.
Proud to be a Super User!
Thank you very much everybody.
One of the ways you can handle this is by using calculate function .
=Calculate(DitinctCount (<<>>),<<Filterexpresion >>)
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 114 | |
| 107 | |
| 41 | |
| 34 | |
| 25 |