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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
PBI_V2
Helper IV
Helper IV

Power BI - Column chart is showing blank visual when we have zero as Measure value

Hello All,

 

We have a column chart which is working fine when we have Sales Amount greater than Zero. In some of years, we dont have Sales Amount. Sales amount measure shows zero (0) value in Tabular report but Column chart shows completely blank visual like below.

 

chart.png

Kindly suggest to resolve the issue.

 

Thanks,

PBI V2

3 REPLIES 3
lbendlin
Super User
Super User

You are likely dividing by zero somewhere, or otherwise producing BLANK()

 

Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Hello @lbendlin 

 

Thanks for your response.

 

1) We are pulling data from excel Source. Below is the sample data:

YearRegionSalesAmt
2021India450
2021UK0
2021USA560
2022India0
2022UK550
2022USA600
2023India950
2023UK660
2023USA0

 

In the above data, Sales Amt is 0 for some of the criteria. e.g. Year - 2021 , Region - UK, SalesAmt is 0

2) When we run the report for all regions, Chart shows columns & theirs values per excel sheet. Below is screenshot:

PBI_V2_1-1698651261300.png

Note- Tabular visual is here just for explaination. In actual report, it will chart only.

3) When we select a criteria e.g Year -2021, Region - UK then Chart becomes blank.

PBI_V2_2-1698651445798.png

 

3) Our client want to show some meaningful message in case chart is blank. e.g.

 

PBI_V2_3-1698651547213.png

 

Thanks,

PBI V2

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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