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

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

Reply
Anonymous
Not applicable

totals are incorrect after adding legend in powerbi

I am trying to make a bar plot but the results are not coming right (when i add the legend on the same bar chart) eventhough i do not have any filter on both vizuals. what is causing this ? many thanks in advance
Expected Answer: 200M in both bar chart.

Capture.PNG

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @Anonymous 


If you do everything in the standard way, there should be no problem and the total should equal the sum of all the parts.

I have attached a picture and my PBIX with an example.

If it works differently for you, please attach a link to your file demonstrating the logic so we can understand the problem.

Ritaf1983_0-1717317805434.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

thanks

 

Hi @Anonymous 

In order to understand what you need, we need to understand what data you have and what you are trying to achieve.

The information above cannot be obtained from the image you attached.

Therefore, in order to assist you, please attach a link to your file or at least a sample of the data and a picture of what you are trying to achieve.
Please refer to the link about How to provide sample data in the Power BI Forum if you need some assistance with attaching the needed:

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216

 

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @Anonymous 


If you do everything in the standard way, there should be no problem and the total should equal the sum of all the parts.

I have attached a picture and my PBIX with an example.

If it works differently for you, please attach a link to your file demonstrating the logic so we can understand the problem.

Ritaf1983_0-1717317805434.png

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
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