Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
for some reason my rankx function doesn't show the right result.
thank you!
Solved! Go to Solution.
I finally made it work by changing the variable type of my columns so i guess there was a conversion problem somewhere. Thank you for your answer and have a good day.
Hi @mr_felix,
Without any further information on your data is difficult to see what is the issue try to change your measure to:
Test4 = RANKX ( ALL ( Transaction[Courtier]; Transaction[#Volume transigé] ); CALCULATE ( SUM ( Transaction[#Volume transigé] ) ); ; DESC )
Sometimes the columns you add to your table visual impact in the measure context so the result may not be the correct one.
Again without any addtional information is difficult, can you share a sample of the data model or a sample file?
If information is sensitive share it trhough private message.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsI finally made it work by changing the variable type of my columns so i guess there was a conversion problem somewhere. Thank you for your answer and have a good day.
Hi @mr_felix,
That is strange because the function should work even with decimals. Maybe something in your model.
But glad it's solved.
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |