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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Chart showing incorrect value

I have two stacked column chart : chart one displays net sales sum by year (x axis) and other chart shows net sales by year (x axis) and product (legend). The first chart shows correct total net sales for each year whereas the second chart shows wrong sum of sales. When I export the second chart data in excel there it shows the correct sum.

Any reason why its happening?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

I resolved the issue myself. It was happening because the variable used in legend has 6k unique categories due to which the visual was not able to display each category value.

Thanks

View solution in original post

9 REPLIES 9
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Based on my test using power bi desktop version : 2.78.5740.861 64-bit (February 2020). I cannot reproduce your issue here. Did you set any filter to your visual? Also you can share your sample data and excepted result to me by removing Confidential Information. Please upload your files to One Drive and share the link here.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi,

I resolved the issue myself. It was happening because the variable used in legend has 6k unique categories due to which the visual was not able to display each category value.

Thanks

Thanks for sharing.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

Just check if it showing all the products, smaller values might not be visible. Can you share a better example?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Yeah, but why it is showing all the values if I remove legend. Its just I am adding legend and values get reduced. Also, there are no additional filters applied.

I tried on my system and it does not reduce the value(I taken at the item level to have quite a few values ). It could be because of some visual level filters. Or formula has some filter. Please share screenshot and formula

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

 

As you can see left chart shows 1.2 M net sales whereas right chart shows some 15k net sales. Also the legend category - Master product formula is there in the image. There are no visual level filter or page level filter. I checked after exporting data from left chart that the total sum of net sales is 1.2 M which is not present in the chart.

 

Annotation 2020-03-02 114339.png

Can you share sample data or If possible please share a sample pbix file after removing sensitive information.Thanks.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Sorry, I am not allowed to transfer any data. 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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