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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |