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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Adding legend changes values

Hi,

 

I have built a graph that is summarizing error data per month. I want to add a legend to show breakdown by type of error, but when I add this to the legend it changes my values.

 

Here is my graph before adding a legend

 
 

Capture.PNG

 

Here is my graph after: It changes the values to be 100% 

Capture1.PNG

 

I had a previous graph in excel that looked like this, which is what I'm trying to replicate (data isn't updated which is why the numbers differ)

Capture3.PNG

Any help would be appreciated!

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

In my ex[perience this happens when you either have the data type wrong or you haven't set up a relationship correctly (if you're drawing data from more than one table).  I'd check you've got your data types correct first.

View solution in original post

amitchandak
Super User
Super User

Check your relation of legend with fact.

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

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

Check your relation of legend with fact.

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

In my ex[perience this happens when you either have the data type wrong or you haven't set up a relationship correctly (if you're drawing data from more than one table).  I'd check you've got your data types correct first.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.