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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Demographer
New Member

X axis labels for combo stacked columns+line chart

Hi,

I'm new to Power BI desktop. I want to plot a very simple chart showing the population (in columns) and proportion (line) from 2016 to 2061 (data are by 5-year interval).

 

When I set the X axis as continuous, labels are from 2020 to 2060. I tried to set the minimum to 2016 and maximum to 2061, but it doesn't change anything. See screenshot below.

Continuous.JPG

 

When I set the axis as categorial, labels are fine, but it orders data from the highest to the lowest.

Category.JPG

 

How can I have a chart ordered properly by year and showing the good labels, either 2016-2021,...,2061. I see other posts on this, but no solution works for me.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Demographer , Axis type categorical and sort ascending from three dots (...)

Axis_type.png

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Demographer , Axis type categorical and sort ascending from three dots (...)

Axis_type.png

vanessafvg
Super User
Super User

its not showing 2061 because its ony showing it in 5 year intervals if you want to show all you need to change the way you are doing the intervals. If you provide some dummy data in text format that would be useful to show you.




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.