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 nowThe Fabric community is now in read-only for platform upgrade. 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...
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.