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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.