Forum Discussion
RANKX Help
- 10 years ago
Ranking =
RANKX (
FILTER (
ALL ( tblFinancialAudit );
tblFinancialAudit[year] = EARLIER ( tblFinancialAudit[Year] )
&& tblFinancialAudit[PeerGroup] = EARLIER ( tblFinancialAudit[PeerGroup] )
);
tblFinancialAudit[CurrentAssets];
;
ASC;
DENSE
)
Thank you, Vvelarde. I implemented your suggestion (except I replaced ";" with ",") but it's not recognizing the PeerGroupAC field. There are only 21 organizations in that Peer Group, but the ranks appear to be based on all of the organizations, not just the one's in the selected group (see image)
Ranking =
RANKX (
FILTER (
ALL ( tblFinancialAudit );
tblFinancialAudit[year] = EARLIER ( tblFinancialAudit[Year] )
&& tblFinancialAudit[PeerGroup] = EARLIER ( tblFinancialAudit[PeerGroup] )
);
tblFinancialAudit[CurrentAssets];
;
ASC;
DENSE
)
- Rymatt83010 years agoAdvocate II
Thank you again, Vvelarde! Your solution works great!