Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All - please find attached a list of all the premier league teams and the rankings, based on Points, Match Played and Goals Difference(GD)
I would like to create a Ranking Column to mirror the attached spreadsheet example. I have highlighted some of the teams in Yellow which have similar points however the ranking is based on GD, Points & Matches Played
I had originally created a ranking measure
= RANKX( ALLSELECTED( 'TeamStatsTable'[Team] ) , CALCULATE( SUM ('TeamStats'[Points] ) ) )
However this measure only considers the points column and I would like help on how to incorporate the other columns in my measure
Many thanks
Solved! Go to Solution.
this is quite a useful article https://www.sqlbi.com/articles/rankx-on-multiple-columns-with-dax-and-power-bi/#
Proud to be a Super User!
@atin
In addition to the article suggested by @vanessafvg , if you like to try a simple Power Query solution when you need a static ranking, try the following:
Sort the Pts and GD columns Descending and Played Ascending order then add an index column with 1
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@atin
In addition to the article suggested by @vanessafvg , if you like to try a simple Power Query solution when you need a static ranking, try the following:
Sort the Pts and GD columns Descending and Played Ascending order then add an index column with 1
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
this is quite a useful article https://www.sqlbi.com/articles/rankx-on-multiple-columns-with-dax-and-power-bi/#
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |