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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.