Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Can someone help me figure out how to make it so the points for 'City 3' are not aligned on the same x-axis? Each occurs in its own row and has a Year or YearId column that I'd like to use to solve it, but I'm not sure how. I did some research and found detail channel, but that did not work.
Solved! Go to Solution.
Make the year the x axis and the city the legend.
Note: since year is temporal you could now even reconsider using a line chart, a stacked line chart, or a ribbon chart.
Do not use a line chart for independent (nominal) data points. Line charts should only ever be used to show temporal progression, or phase transitions.
What would you recommend for my use case?
I would recommend a column chart.
Which one is column? Or are you referring to power bi types?
The bar for City 3 still stacks them altogether. Can you suggest how to solve it with a mark of type bar?
Make the year the x axis and the city the legend.
Note: since year is temporal you could now even reconsider using a line chart, a stacked line chart, or a ribbon chart.
@JayeeDee What would you like it to look like instead? You could add additional columns to the x-axis to make a hierarchy that you could drill through but I am unclear if that that is what you are looking to do. Maybe a sketch of what you would rather have?
Absolutely! Here's the desired outcome...
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |