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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
monicama2022
New Member

sort by row matrix

i want the year in descending order, anyone know how to do this?

monicama2022_0-1666946582913.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@monicama2022 , Create these two columns

 

Year1= [year]

year sort = rankx(allselected(Date), Date[Year],,desc, dense)

 

Mark the Year sort column as Year1

 

check step here

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@monicama2022 , Create these two columns

 

Year1= [year]

year sort = rankx(allselected(Date), Date[Year],,desc, dense)

 

Mark the Year sort column as Year1

 

check step here

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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