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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.