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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jvbs
Helper I
Helper I

Sort by Column Desc in Power BI

Hello, 

 

I have this matrix table which the columns are dynamic months.

 

a1cb9133-4cc2-441c-ab64-fd9a3f418bae.jpeg

 

As you can see, the data is in blank because it starts sorting by "asc" order, how can i change that to "desc"?

7 REPLIES 7
Hennadii
Helper IV
Helper IV

Hi @jvbs ,

Try to click on ... (three dots) in the top right - there should be a menu where you can choose an order.

Thanks for your response, @Hennadii , but in this case, it will order by the total column, instead of ordering desc by month column...

 

I want to see like this: 2020-06, 2020-05, 2020-04, etc...

@jvbs , there is Sort By in the bottom of that menu. Do you have there the Month column? If not, you can add a Month column in the tooltip section of the Matrix table, so after that it should be present under Sort By.

@Hennadii  could you send me a print of those steps? I cant find it here 😖

@jvbs , sorry for confusion, there is no Tooltip in the matrix (((
Try to use workaround mentioned here (after 2:44) https://www.youtube.com/watch?v=1bp_e-ik7aA

@Hennadii it didnt work 😞

 

Let me try to explain ya in other way:

 

The video you’ve sent show how to sort the rows of a simple table object by using a hidden field.

What i’m trying to do is sort a column from a matrix visual object by using the column “Year-month (YYYY-MM)”

 

Some pics to illustrate my issue:

 

print_issue_pwbi.PNG

 

Hi @jvbs ,

Please look at this article. Hope it will help you.

The key point there is to use Sort By Column feature by some additional column which can be called Order.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.