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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
amanda_wahlig
Frequent Visitor

Line Graphs with Percentages Data

I have data that looks like this (the data comes already summarized, I can't just use raw data and compute in BI):

 

OfficeYear% Positive
A202066.4%

A

2021

75.2%

A

2022

75.3%
A202367.5%
B202061.0%
B202162.5%
B202264.0%
B202367.7%
C202084.30%
C202188.00%
C202294.7%
C202392.9%

 

I'm trying to create a line chart with year on the X axis, percent on the Y axis, and then different lines to show each of the three offices' results over time. But the problem is that the only way that I can get BI to have the percentage on the Y axis is to use "sum", which means if multiple offices are selected, it just adds up the numbers (instead of creating separate trend lines for each office).

 

Any advice on how to, in this example, have a line for each office on the same visual?

1 ACCEPTED SOLUTION
arava
Regular Visitor

Is 'YourTable'[Office] in the Legend field for the visual?

View solution in original post

1 REPLY 1
arava
Regular Visitor

Is 'YourTable'[Office] in the Legend field for the visual?

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.