Forum Discussion

dphillips's avatar
dphillips
Icon for Helper IV rankHelper IV
7 years ago
Solved

Rank based on a measure

I have marks from students who have completed some tests. I have created a measure which gives me the average of the students results. Scld Mark Ave = AVERAGE(uncRedshift_Studentresults[Scld]) I h...
  • parry2k's avatar
    7 years ago

    dphillips add following measure for rank 

     

    Rank = 
    RANKX( 
        FILTER( 
            ALL( Sheet1[FileYear], Sheet1[StudentYearLevel], Sheet1[StudentID] ),
            Sheet1[FileYear] = MAX(Sheet1[FileYear]) && 
            Sheet1[StudentYearLevel] = MAX( Sheet1[StudentYearLevel] )  
        ), 
        [Average Marks], , ASC, Dense
    )