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 August 31st. Request your voucher.
I am trying to use the rank function to rank weekly points. I want the ranking to skip a value after ties. I entered the SKIP parameter but it is not skipping after ties. See screenshot below. What am I doing wrong? If i put the 'All Scores' table as the second parameter I get a circular reference error.
Solved! Go to Solution.
Hi,
I am not sure how your semantic model looks like, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
RANK function (DAX) - DAX | Microsoft Learn
Weekly Rank CC =
RANK (
SKIP,
SUMMARIZE (
'All Scores',
'All Scores'[Team ID],
'All Scores'[Total Points],
'All Scores'[Matchup Week]
),
ORDERBY ( 'All Scores'[Total Points], ASC ),
,
PARTITIONBY ( 'All Scores'[Matchup Week] )
)
Hi,
I am not sure how your semantic model looks like, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
RANK function (DAX) - DAX | Microsoft Learn
Weekly Rank CC =
RANK (
SKIP,
SUMMARIZE (
'All Scores',
'All Scores'[Team ID],
'All Scores'[Total Points],
'All Scores'[Matchup Week]
),
ORDERBY ( 'All Scores'[Total Points], ASC ),
,
PARTITIONBY ( 'All Scores'[Matchup Week] )
)
Thank you, this worked perfectly. If you have an explanation for why my original formula below doesn't work it would be appreciated as well.
User | Count |
---|---|
11 | |
8 | |
6 | |
6 | |
6 |
User | Count |
---|---|
24 | |
14 | |
13 | |
9 | |
8 |