Forum Discussion
warrenpoh
9 years agoFrequent Visitor
Using RANKX to rank Top N aggregate measures
Hi, I have searched relatively hard for this - sorry if it's been covered already - any tips would be helpful. I have a series of 34,000 transaction data for various timesheet entries. I hav...
- 9 years ago
In this scenario, since your rank is based on each staff's sales total, you should use ALLEXCEPT() to calculate the total group on each staff as Anonymous suggested.
Rank = RANKX(ALL(Table1[Name]),CALCULATE(SUM(Table1[Sales]),Table1[IsSold]="T",ALLEXCEPT(Table1,Table1[Name])))
Regards,
Anonymous
9 years agoNot applicable
warrenpoh : Can you share the sample data , with the required result in additional column . Thanks
warrenpoh
9 years agoFrequent Visitor
Anonymous what's the best format to share the data. Copy and paste picture into the forum. I've never done it before. The solution suggested by the other person did not work so still need help.