Forum Discussion
DaveAl
4 years agoFrequent Visitor
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...
- 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 )
AlexisOlson
4 years agoSuper User
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
)
- DaveAl4 years agoFrequent Visitor
Hi AlexisOlson,
Works like a charm! Thank you for the assist.