Forum Discussion
Creating calculated columns that ranks table by numeric column
Hi
I am trying to add 3 calculated columns that will rank every row by column D (Sales) . I have used the RANX function but could not manage to do it.
- The first calculated column ( Column E) should be done for the whole table and rank every row by the Sales column
- The second calculated column (Column F) should do it over Position column by Sales Column
- And the last one ( Column G) should to it by Region and then Position
Many thanks in advance
enestkm ,
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns //column Rank
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415
1 Reply
- amitchandakSuper User
enestkm ,
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns //column Rank
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/367415