Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. 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êsIf you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |