Forum Discussion

adnanarain's avatar
adnanarain
Icon for Helper V rankHelper V
6 years ago
Solved

Rank Measure with ID and Date

Hi All, Below is the sample data: ID Date Quantity 1 01/01/20       2 1 01/02/20       3 1 01/03/20       1 2 01/01/20       3 2 01/02/20       7 2 01/03/20      ...
  • Anonymous's avatar
    Anonymous
    6 years ago

     

    adnanarain 

    Try this one:

    Measure = RANKX(FILTER(ALLSELECTED('Table'),[ID]=MAX('Table'[ID])),CALCULATE(SUM([Date])),,ASC,Dense)

     

    Paul Zheng _ Community Support Team
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.