This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I have data that looks like this (the data comes already summarized, I can't just use raw data and compute in BI):
| Office | Year | % Positive |
| A | 2020 | 66.4% |
A | 2021 | 75.2% |
A | 2022 | 75.3% |
| A | 2023 | 67.5% |
| B | 2020 | 61.0% |
| B | 2021 | 62.5% |
| B | 2022 | 64.0% |
| B | 2023 | 67.7% |
| C | 2020 | 84.30% |
| C | 2021 | 88.00% |
| C | 2022 | 94.7% |
| C | 2023 | 92.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?
Solved! Go to Solution.
Is 'YourTable'[Office] in the Legend field for the visual?
Is 'YourTable'[Office] in the Legend field for the visual?
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 31 | |
| 26 | |
| 23 | |
| 22 | |
| 13 |
| User | Count |
|---|---|
| 62 | |
| 47 | |
| 27 | |
| 23 | |
| 19 |