Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Seeking help, for RANKX function I always getting 1 results.
I search a lot of function and I tried but it always return 1.
Thanks for your help
There seem to be a few issues.
1. Variables are immutable. Once they are set, they don't change. Move the variable code inside the rankx
2. The ALL inside the rankx would normally be placed around the table[column], and not the table