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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
giuliapiazza94
Helper IV
Helper IV

Years descending order

Hi guys,

i have this matrix

giuliapiazza94_0-1639571997327.png

and I'd like to have descending order of years without using a dax formula.

Is it possible?

 

Thank you all 🙂

 

1 ACCEPTED SOLUTION

Hi,

I forgot that matrix doesn't allow to sort by columns if you have row data. In this case it would be hard to sort the years in descending order without dax. You can change the row and column hierarcies like in this example and then sort the data. Otherwise I don't see a way to do this without dax or modifications to your data model:

ValtteriN_0-1639573787511.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

5 REPLIES 5
ValtteriN
Super User
Super User

Hi,

You can select sort descending in option in the matrix:

ValtteriN_0-1639572383636.png


If  you don't see this option check the data type of your year and how it is sorted. I hope this helps to solve your issue and if it does consider accepting this as a solution!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




in my report I see this 

giuliapiazza94_0-1639572609643.png

i can order item (articolo) or sales (importo - fatturato),

not years. Why?😢

 

my column of years is a number type

Hi,

I forgot that matrix doesn't allow to sort by columns if you have row data. In this case it would be hard to sort the years in descending order without dax. You can change the row and column hierarcies like in this example and then sort the data. Otherwise I don't see a way to do this without dax or modifications to your data model:

ValtteriN_0-1639573787511.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




If I wanted to create a new table calendar that has descending order, which dax formula can I use?

You can create negative year column and sort year column by it:

ValtteriN_0-1639576698618.pngValtteriN_1-1639576711005.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.