cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Jansco Frequent Visitor
Frequent Visitor

Sorting dates descending in a matrix

Is there any way to sort dates descending in a matrix, where dates are in columns and metrics are in rows?  I know that the option to sort asc or desc is not available when dates are in columns but is there any way around this, for example, by ranking or indexing the dates?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Sorting dates descending in a matrix

Hi @Jansco ,

 

You can add a table with date and index to use 'sort by column' feature to manually define date sort order based on index fields.

Then build relationship to raw table on date filed and use custom sort order table data as matrix column.

Custom Sorting in Power BI


Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
1 REPLY 1
Community Support Team
Community Support Team

Re: Sorting dates descending in a matrix

Hi @Jansco ,

 

You can add a table with date and index to use 'sort by column' feature to manually define date sort order based on index fields.

Then build relationship to raw table on date filed and use custom sort order table data as matrix column.

Custom Sorting in Power BI


Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |