The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
15 | |
13 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
19 | |
12 | |
9 | |
7 |