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
hi Experts,
i am getting 2 different results for the RankX function
first screenshot same details, rank starts from 1
The second screenshot same details, rank starts from 2
why in the 2nd screenshot the rankx formula is not giving the correct result, it should start from 1?
Solved! Go to Solution.
@vjnvinod , Are these two same tables?
sort on week start date and check for min one. Also if there is any blank value, the rank may start with 2.
Also, there no need of all('Date') in column rank
you can use
Rankx('Date', [week start],,asc,dense)
@vjnvinod , Are these two same tables?
sort on week start date and check for min one. Also if there is any blank value, the rank may start with 2.
Also, there no need of all('Date') in column rank
you can use
Rankx('Date', [week start],,asc,dense)
awesome you are a genius, the issue came up because of ALL functions. I removed it based on your advice & it fixed the issue
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 41 | |
| 21 | |
| 18 |