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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
zhimingmar
Regular Visitor

How to rank values using field parameters

Hi guys, 

 

Is there any way to rank values with field parameters?

For example, I have a dynamic filter created using field parameters (aging and state) and I'd like that the column rank could give me the rank ordered by the column 'indicador_vol_mdr'

 

zhimingmar_0-1709663666048.pngzhimingmar_1-1709663739310.png

I'm using this formula: 

Rank = RANKX(ALL('Dimensão 1 - Eixo X'[Dimensão 1 - Eixo X Campos]),[indicador_vol_mdr]) but it doesn't seem to work with this dynamic filter. 

 

3 REPLIES 3
JamesFR06
Resolver IV
Resolver IV

Please try this ==>Rank = RANKX(ALLSELECTED('Dimensão 1 - Eixo X'[Dimensão 1 - Eixo X Campos]),[indicador_vol_mdr])

Hi James, I tried with allselected and it returned me the same result.

zhimingmar_0-1709724441130.png

I don't know if the problem is that the formula does not understand the field I'm using ('Dimensão 1 - Eixo X'[Dimensão 1 - Eixo X Campos]) that comes from field parameters.

Anonymous
Not applicable

Hi, @zhimingmar 

Can you provide a PBIX file that does not contain private data? What is the format of your parameters?  

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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