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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
okusai3000
Helper IV
Helper IV

Fix Index on a Matrix

Hello everyone,

 

I am trying to get a very simple thing but sadly I cannot succeed. I simply want to have an index column starting by 1, that would not be affected by any header.

 

In other words, here we have a matrix:

 

Captura 2.PNG

 

The Nº column was based on the rank function, and this one, on the YTD. This solution it's not what I want because If I click on Prior YTD, the ranking will change.

 

I just would like that the Nº column to stay FIX at 1, 2, 3, even after sorting by YTD, %YTD, etc.

 

What should I do?

 

Thanks!!

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @okusai3000 

As tested, when clicking on the other headers of the matrix, the rank sort would change accordingly.

 

One way to protect the "N" column to be reflected by other columns->

add a "Shape" on the "YTD..." measures/columns' headers, so when click on these headers, it would not change the rank sort.

 

Another way->

create a rank by mutilple measures /columns

Ranking on Multiple Measures

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello Magie,

 

The idea of inserting a shape doesn't help because I would like to be able to press those headers to re order everything according to that criteria. 

 

is that dificult what I'm asking?

 

Thanks!!

Hi @okusai3000 

It seems impossible.

When wen click on one header, the table will be sorted by that column.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.