Forum Discussion
Everton
Helper I
3 years agoRank within group
Hi, I want to rank within a group. First group by Id then rank by MostRecentUpdate. This is how I want the data to look. Id InvoiceNumber InvoiceDate InvoiceStatus Owing MostRecentUp...
- 3 years ago
Everton
You mean like this?RankInGroupTest = IF ( NOT ISEMPTY ( data ), RANKX ( CALCULATETABLE ( data, ALLEXCEPT ( Data, data[ID] ) ), CALCULATE ( SELECTEDVALUE ( data[MostRecentUpdate] ) ),, DESC, Dense ) )