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)
Rymatt830 Check which [ID] column you are using to build your Table Visualization?
If your Ranking Measure look like this...
you should use tblOrganization[ID] to build your Table NOT tblFinancialAudit[ID]
Rank =
RANKX (
ALL ( tblOrganization[ID] ),
CALCULATE ( SUM ( tblFinancialAudit[CurrentAssets] ) )
)
I hope this resolves it! :smileyhappy: