Forum Discussion
Rymatt830
10 years agoAdvocate II
RANKX Help
I can't seem to get the RANKX function to work. I have searched what I think is every other post and tried all the solutions but nothing has worked. I am trying to return the annual rank by peer grou...
- 10 years ago
Ranking =
RANKX (
FILTER (
ALL ( tblFinancialAudit );
tblFinancialAudit[year] = EARLIER ( tblFinancialAudit[Year] )
&& tblFinancialAudit[PeerGroup] = EARLIER ( tblFinancialAudit[PeerGroup] )
);
tblFinancialAudit[CurrentAssets];
;
ASC;
DENSE
)
Sean
10 years agoCommunity Champion
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:
Rymatt830
10 years agoAdvocate II
Thanks for the reply. I tried that solution initially and it does not work.