Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
not sure what is going on here.. but used RANKX in a calculated column to add into a table for a report.
Function here:
Rank = VAR ThisGroup = 'FA Base Transfer List'[Preference#1]
RETURN
RANKX(Filter('FA Base Transfer List','FA Base Transfer List'[Preference#1] = ThisGroup), 'FA Base Transfer List'[Seniority], ,ASC,Dense)I am wanting to rank the list of employees by seniority number... the lowest seniority number is the lowest rank. It seems that it is only looking at the first or maybe first and second digit? 477 should be rank #1, not #5 after 4664. Is it something with 3 digit numbers vs 4 digit??
And this is what happens:
Thanks so much for the help!!!
Solved! Go to Solution.
Maybe it's a text field instead of a number field and that's why? It is correctly sorted, alphabetically. But not numerically.
//Mediocre Power BI Advice but hey, it's free//
Maybe it's a text field instead of a number field and that's why? It is correctly sorted, alphabetically. But not numerically.
//Mediocre Power BI Advice but hey, it's free//
duh! thank you!! 🙂
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 20 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 52 | |
| 37 | |
| 31 | |
| 27 |