Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hello guys,
I need some help with a rank column
This is what I have:
I need to rank rpr column inside every rpf value
rpf is a report id and every rpr is a sample inside the report. I need to sort the samples (first, second, third ..... ). the blanks should be sample 0
I need to reach this result:
For every rpf value the rank should restart following the same logic:
rpr = blank -> 0
rank by rpr ascending
Could someone pleasae help me?
Thanks,
Thiago Duarte
Solved! Go to Solution.
Hi @ThiagoDuarte ,
How about this:
I used the following code to create a calculated column:
TomsRankColumn = RANKX ( FILTER ( Table, Table[rpf] = EARLIER ( Table[rpf] ) ), Table14[rpr], , ASC, DENSE ) - 1
Does this work for you? 🙂
/Tom
https://www.instagram.com/tackytechtom
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
Hi @ThiagoDuarte ,
How about this:
I used the following code to create a calculated column:
TomsRankColumn = RANKX ( FILTER ( Table, Table[rpf] = EARLIER ( Table[rpf] ) ), Table14[rpr], , ASC, DENSE ) - 1
Does this work for you? 🙂
/Tom
https://www.instagram.com/tackytechtom
Did I answer your question❓➡️ Please, mark my post as a solution ✔️ |
Also happily accepting Kudos 🙂 |
Feel free to connect with me on LinkedIn! | |
#proudtobeasuperuser | |
User | Count |
---|---|
85 | |
73 | |
73 | |
57 | |
51 |
User | Count |
---|---|
44 | |
41 | |
35 | |
34 | |
30 |