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
Kalachuchi
Helper III
Helper III

Sort row header of matrix

Hey guys how do we sort row header of matrix decendingly? 

Kalachuchi_0-1613631061216.png

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Kalachuchi 

for this goal there is a solution based on Daniil Maslyuk article https://xxlbi.com/blog/built-in-column-sort-order-power-bi/

Create new column:

Date Desc = 
CONCATENATE(
 REPT(
  UNICHAR(8203),
  RANKX('Calendar', 'Calendar'[Date], , ASC)
 ),
 FORMAT('Calendar'[Date], "YYYY-MM-DD")
)

 and use this column as a Column in matrix


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

1 REPLY 1
az38
Community Champion
Community Champion

Hi @Kalachuchi 

for this goal there is a solution based on Daniil Maslyuk article https://xxlbi.com/blog/built-in-column-sort-order-power-bi/

Create new column:

Date Desc = 
CONCATENATE(
 REPT(
  UNICHAR(8203),
  RANKX('Calendar', 'Calendar'[Date], , ASC)
 ),
 FORMAT('Calendar'[Date], "YYYY-MM-DD")
)

 and use this column as a Column in matrix


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
Europe Fabric Conference

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.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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