Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
koorosh
Post Partisan
Post Partisan

bar chart with zero value

Hi all,

How I can avoid bars with zero value in the following chart?

 

koorosh_0-1713687064108.png

 

4 REPLIES 4
AnalyticsWizard
Solution Supplier
Solution Supplier

@koorosh 

 

1. Click on the bar chart to select it.
2. In the 'Visualizations' pane, find and click on the 'Filters' pane.
3. Drag the measure or column you're using for the bar values into the 'Filters on this visual' area.
4. Set the filter type to 'Basic filtering'.
5. Uncheck the box for '0' or move the slider to exclude '0' from the range.

 

This will ensure that the bar chart only displays bars for values greater than zero, effectively removing any bars that would represent a value of zero.

 

Remember, filtering out zero values can sometimes remove important information about the presence or absence of data, which might be relevant for understanding the dataset as a whole. 

MFelix
Super User
Super User

Hi @koorosh,

 

How is you measure calculated? Do you have 0 in your dataset? So that the sum is 0?

 

Try to do a measure similar to:

 

Value = IF(sum(table[column]) <> 0, sum(table[column]))

 

This will return blank when the values are 0.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors