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.
Hi all,
i have a simple table like below and i need to add an index based on descending order of Sales
Salesmen Sales
George 10
Ana 50
Jane 30
and need
Salesmen Sales Index
George 10 3
Ana 50 1
Jane 30 2
can you help me with this?
Thanks,
Cosmin
Solved! Go to Solution.
@cosminc Please try this as a New Column
Index = RANKX(Test294Rank,Test294Rank[Sales],,DESC)
Proud to be a PBI Community Champion
@cosminc Please try this as a New Column
Index = RANKX(Test294Rank,Test294Rank[Sales],,DESC)
Proud to be a PBI Community Champion
Thanks!
Cosmin
User | Count |
---|---|
65 | |
61 | |
60 | |
53 | |
30 |
User | Count |
---|---|
180 | |
88 | |
72 | |
48 | |
46 |