for some reason my rankx function doesn't show the right result.
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.
View solution in original post
Without any further information on your data is difficult to see what is the issue try to change your measure to:
ALL ( Transaction[Courtier]; Transaction[#Volume transigé] );
CALCULATE ( SUM ( Transaction[#Volume transigé] ) );
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.
Proud to be a Super User!
That is strange because the function should work even with decimals. Maybe something in your model.
But glad it's solved.
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.