Forum Discussion

IvanG92's avatar
IvanG92
Frequent Visitor
3 years ago
Solved

Moving RANK in a calculated column

Hi everyone,   I have a table with 2 columns: DATE and VALUE I need a calculated column with the value of the column VALUE ranked against the other values of the column VALUE that are released in ...
  • IvanG92's avatar
    IvanG92
    3 years ago

    I think I found the solution:

     

    SP D_Yield (Abs) NORM. = rankx(CALCULATETABLE('SP D_Yield',DATESINPERIOD('SP D_Yield'[DATE],LASTDATE('SP D_Yield'[DATE]),-2,YEAR)),'SP D_Yield'[SP D_Yield (Abs)])
     
    I still don't know what it works with CALCULATETABLE and not with FILTER...