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
iamriz
Helper II
Helper II

Is it possible to sort the the x-axis values in descending order with "Continuous" type?

Hello, I want to display x-axis values in descending order with "Continuous" type with line chart.

But, upon checking, it seems to be possible only to sort with "Categorical" type. I want to use "Continuous" type instead of "Categorical" because I have to display all values in the x-axis, which seems to be impossible with Categorical with its scrollbar showing when many values are in x-axis.

Any feedback will be much appreciated, thank you!

1 REPLY 1
amitchandak
Super User
Super User

@iamriz , Try this Assume you x aix column is A

 

Create these column

A1= [A]

A sort = Rankx(Table, [A],,desc)

 

Mark A sort as the sort column of A1 , use A1 in your visual and try

 

Sort Month.png

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.