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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Mike91
Helper I
Helper I

Sorting Matrix without adding the row

Hi All,

 

i need help to create a matrix, like this but i want order the matrix by the release date of item, i tried with sorting by release date in table but more items was released in the same day and i can't do that. Any idea how i can sorting the matrix without add the release date info but use this for sorting? 

Mike91_0-1727687327857.png

 

1 ACCEPTED SOLUTION
Shivu-2000
Responsive Resident
Responsive Resident

Hin @Mike91 

 

According to my understanding you want to sort a Power BI matrix by the release date of an item, but you don't want to explicitly display the release date in the matrix. 

Solution would be using a Calculated Column and Sorting

    • In your data model, create a calculated column that assigns a unique identifier to each item based on its release date. This identifier should be unique even if multiple items have the same release date.

      Create a Calculated Column:

    ReleaseDateRank = RANKX(ALL(YourTable[ReleaseDate]), YourTable[ReleaseDate])

    Replace YourTable[ReleaseDate] with the actual name of your release date column.

  1. Sort the Matrix:

    • In your matrix visual, drag the calculated column ReleaseDateRank to the rows or columns (depending on your desired layout).
    • Sort the matrix by this calculated column in ascending or descending order.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!

View solution in original post

2 REPLIES 2
Shivu-2000
Responsive Resident
Responsive Resident

Hin @Mike91 

 

According to my understanding you want to sort a Power BI matrix by the release date of an item, but you don't want to explicitly display the release date in the matrix. 

Solution would be using a Calculated Column and Sorting

    • In your data model, create a calculated column that assigns a unique identifier to each item based on its release date. This identifier should be unique even if multiple items have the same release date.

      Create a Calculated Column:

    ReleaseDateRank = RANKX(ALL(YourTable[ReleaseDate]), YourTable[ReleaseDate])

    Replace YourTable[ReleaseDate] with the actual name of your release date column.

  1. Sort the Matrix:

    • In your matrix visual, drag the calculated column ReleaseDateRank to the rows or columns (depending on your desired layout).
    • Sort the matrix by this calculated column in ascending or descending order.

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Happy to help!

Thanks for the help, when i drag the rank value i need to a drill to see the item but near of them remain the rank value, it's possible hide them?

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.