Forum Discussion

DaveAl's avatar
DaveAl
Frequent Visitor
4 years ago
Solved

RANKX Circular Reference Help

Hi All,   I feel like this one should be really simple, but I can't seem to work it out. I have a very basic, static table with a persons name and a score. I would like to rank those score within t...
  • AlexisOlson's avatar
    4 years ago

    The ALLEXCEPT function is a bit weird when used as a table function. I you're trying to write a calculated column, I'd suggest this version instead.

     

    RANKX (
        FILTER ( 'Table', 'Table'[Person] = EARLIER ( 'Table'[Person] ) ),
        'Table'[Score],, DESC, DENSE
    )