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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
rperfeito
Regular Visitor

Not showing zero values on graph object

Hi,

 

I'm trying to show on a graph the number of documents of my database.

 

When i have 0 documents i can't see reflected in the graph, however i can see it in a table object.

 

What i'm doing wrong?


Best regards,

 

Ricardo Perfeito

5 REPLIES 5
Shahid12523
Resident Rockstar
Resident Rockstar

By default, Power BI visuals (like bar/line charts) only plot existing data points. If your fact table doesn’t have a row for “0 documents,” nothing shows up.

 

Fix options:

 

Use a Date/Category dimension table with all possible values, then relate it to your fact table → chart will show zeros too.

In DAX, wrap your measure with COALESCE([Documents], 0) or IF(ISBLANK([Documents]), 0, [Documents]) so missing values appear as 0.

Turn on Show items with no data (Visual → Axis field → right-click → Show items with no data).

👉 That way your chart will display 0 instead of skipping categories.

Shahed Shaikh
ashishrj
Power Participant
Power Participant

@rperfeito You are right, zero values are not displayed on graph

But don't you agree that you need to see the zero values?

It can be imporant to analyze our company information, right?

 

Hi there - this feature was added since you made your post! You should see an option in the Field Well for the field on your chart's axis to 'Show items with no data'. That will show categories with zero values too. Hope that helps!

This "feature" caused all my reports to stop function after I have put a lot of effort in building them.

I deliverately join my data sources with time-series that generates zero value in order to have a graph that shows the time continuously (e.g. if you measure the number of requests that arrive your server per hour, you will see hours that had no reuqest).

The "show empty value" doesn't show the zeroes.  So I'm stuck without a solution.

 

I wish you were more considerable to your users and develop new features that allow users to choose if they want to use them or not.  

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.