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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors