Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

RankX issue

More an issue between chair and keyboard here.

 

I am struggeling with what shouold be a simple RANKX

 

I have a table  (Table1)

Containing Name

and Profit

 

I need to Sum profit by Name and Rank the results in a measure so I can splt a visual by 1-10 11-20 etc.

 

Can some please put my out of my misery and show me how to do this.

 

Thanks....

  • Anonymous's avatar
    Anonymous
    7 years ago

    I have redeemed myself and got it working as follows.

     

    Rankx(ALL('This Month Profit'[TeamMember]),calculate(sum('This Month Profit'[Months Profit])))

     

    Thanks.

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    I have redeemed myself and got it working as follows.

     

    Rankx(ALL('This Month Profit'[TeamMember]),calculate(sum('This Month Profit'[Months Profit])))

     

    Thanks.