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
rmolinajr
Frequent Visitor

Problem Filter and rankx

Hi

I am having problem in rank, when I do a search in slicer the rank changes everything, I am using this dax code to create the rank:

RANK =
RANKX (
     ALLSELECTED (table [Name]);
     [VALUE]
)

In slicer search I am using a date and the name.

When I select the name, it automatically changes the whole rank, but I would like to appear the rank as it was before.

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@rmolinajr,

 

It seems that you may use ALL Function instead.

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

View solution in original post

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@rmolinajr,

 

It seems that you may use ALL Function instead.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
RMDNA
Solution Sage
Solution Sage

@rmolinajr,

 

Just to clarify: you want the slicer to filter the rest of the table, except keep the rank static?

That's right, I need when I choose in the slice filter name, it appears in the table that person that chooses, but with the rank that was appearing.
Without choosing a name the table will appear all names and ranks of each one, when I choose a name in the slicer filter in the table appears the name, but the rank changes, did not want it to change.

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.