Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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êsStarting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
90 | |
86 | |
83 | |
64 | |
49 |
User | Count |
---|---|
127 | |
108 | |
88 | |
70 | |
66 |