Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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...
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 7 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |