Fast Suggestions: Kind Matrix by Column in Descending Order

Date:


How to Sort Matrix by Column in Descending Order

At this time Microsoft launched Energy BI Desktop March 2020 which I hoped that it features a easy characteristic on Matrix visible to have the ability to type the Martix by column in descending order, however, it doesn’t. So, on this put up I rapidly present you easy methods to type Matrix by column in descending order.

Right here is the situation. Considered one of my prospects is constructing a report in Energy BI displaying gross sales by 12 months, Month and Day of Week in a Matrix as under.

Sorting Matrix Visual in Power BI
Sorting Matrix Visible in Energy BI

All the pieces appears to be like effective! However wanting on the Matrix sorting rapidly reveals that such characteristic is NOT out there (YET). However the buyer want to see the Matrix sorted by 12 months in descending order, one thing like this.

Sorting Matrix by Column Headers in Descending Order
Sorting Matrix by Column Headers in Descending Order

Right here is the answer which is tremendous easy.

  • Add a brand new “12 months” column, both in Energy Question or utilizing DAX. I exploit DAX simply to maintain it so simple as attainable
MatrixSortDescYear="Date"[Year]
  • Add one other column which retains the order of the brand new “MatrixSortDescYear” in descending order like under:
MatrixSortDescYearOrder = -( 'Date'[Year] )
  • Kind the primary column by the second
Power BI Desktop Sort Column by another Column
Energy BI Desktop Kind Column by one other Column
  • Now put the “MatrixSortDescYear” in columns part in Matrix and take away earlier “12 months” column
Sort Matrix by Column in Descending Order

Voila! Straightforward, easy and neat!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Share post:

Subscribe

spot_imgspot_img

Popular

More like this
Related

How the Republican Social gathering Created Donald Trump

“The much less expertise they've, the extra satisfaction,...

WP Engine Achieves ISO 27001:2022 Certification, Underscoring Safety and Efficiency for Managed Internet hosting

AUSTIN, Texas—August 26, 2025—WP Engine, a world net...

Design Ideas, Tendencies & Styling Hacks

Fb Twitter LinkedIn WhatsAppThis...