The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi!
I do not finish understandig RANKX beacuse Im using it but I cant make it rank the things well. In this scenario I have several filters and I need every filter I aplied the rank so... ranks the selected thing. I know I got help before about RANKX but all their previous solutions didnt get success.
Here is my pbix file https://1drv.ms/u/s!AtTnrgPUQzQCnAUc2MYHfnad2lPl , sorry but is some huge.
Thanks for your help.
Solved! Go to Solution.
Hi, try with:
Measure = IF ( [Parte 1 Gobierno Corporativo Diferencia] <> BLANK (), RANKX ( ALLSELECTED ( 'Tabla Cruce'[NIT] ), CALCULATE ( [Parte 1 Gobierno Corporativo Diferencia], ALLEXCEPT ( 'Tabla Cruce'; 'Tabla Cruce'[NIT] ), ALLSELECTED ( 'Sectores CIIU Codigos'[Sector] ) ), , DESC, DENSE ) )
Regards
Victor
Lima - Peru
Hi, try with:
Measure = IF ( [Parte 1 Gobierno Corporativo Diferencia] <> BLANK (), RANKX ( ALLSELECTED ( 'Tabla Cruce'[NIT] ), CALCULATE ( [Parte 1 Gobierno Corporativo Diferencia], ALLEXCEPT ( 'Tabla Cruce'; 'Tabla Cruce'[NIT] ), ALLSELECTED ( 'Sectores CIIU Codigos'[Sector] ) ), , DESC, DENSE ) )
Regards
Victor
Lima - Peru
Hi @Vvelarde
Thabks for your response but your formula does not work, the result is the same I posted.
It would be better to simplify your model and show us the expected result with dummy data.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
94 | |
85 | |
69 | |
65 |
User | Count |
---|---|
244 | |
128 | |
119 | |
82 | |
78 |