Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi.
How do I show a ranking(1-10) of this column? I have already made a TopN but I would like to see the ranking number next to it.
Best regards,
Lisa
Solved! Go to Solution.
Hi @Anonymous ,
You could try this calculated column.
Ranking = RANKX('Table',[Text],,ASC,Dense)
You can download my attachment for more details.
However, I guess you only want an index column, right? Please refer to
Add an index column - Power Query | Microsoft Learn
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
You could try this calculated column.
Ranking = RANKX('Table',[Text],,ASC,Dense)
You can download my attachment for more details.
However, I guess you only want an index column, right? Please refer to
Add an index column - Power Query | Microsoft Learn
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
rank =RANKX([table name],[*Material],,1,Dense)
Hi, refer to a table, we use apostrophe '
User | Count |
---|---|
84 | |
82 | |
66 | |
52 | |
48 |
User | Count |
---|---|
100 | |
49 | |
42 | |
39 | |
39 |