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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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