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
I have a chart that shows distint values but sometimes the value is 0. I want to exclude 0 from the count. How can I go about doing this?
Solved! Go to Solution.
Hard to help without an example, have you considered creating your own column to count?
Something such as if(value > 0, 1, 0) aggregate this column to get your total
Not stated whether the filter is to be applied to the same value column but try this:
CALCULATE ( DISTINCTCOUNT ( data[value] ), KEEPFILTERS ( data[value] <> 0 ) )
Not stated whether the filter is to be applied to the same value column but try this:
CALCULATE ( DISTINCTCOUNT ( data[value] ), KEEPFILTERS ( data[value] <> 0 ) )
Hard to help without an example, have you considered creating your own column to count?
Something such as if(value > 0, 1, 0) aggregate this column to get your total
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 |
|---|---|
| 59 | |
| 46 | |
| 42 | |
| 23 | |
| 18 |
| User | Count |
|---|---|
| 192 | |
| 125 | |
| 99 | |
| 67 | |
| 48 |