Forum Discussion

os_ca's avatar
os_ca
Frequent Visitor
8 years ago
Solved

How to rank Unique ID Per group

I tried to achive this but not successful. I like ranking Unique Person ID per Address ID. I used a number of solutions in this forum but they all do ranking per record. Address ID        Address   ...
  • v-chuncz-msft's avatar
    8 years ago

    os_ca,

     

    You may add a calculated column as follows.

    Column =
    RANKX (
        FILTER ( Table1, Table1[Address ID] = EARLIER ( Table1[Address ID] ) ),
        Table1[PersonID],
        ,
        ASC,
        DENSE
    )