Forum Discussion
Anonymous
6 years agoNot applicable
RankX return many 1s
Hello all, Iam trying to rank the customerNumber based on the sales. Top sales as 1 and next as 2 and so on .. But I get lot of rank values as 1. This is how I am getting. CustomerNumber...
- 6 years ago
For your case, Use below
Rank = RANKX(ALL('DC-R Ace'[CustomerNumber],'DC-R Ace'[CustomerName]),CALCULATE(SUM('DC-R Ace'[Sales$])),,DESC)Thanks
Ankit JainDo Mark it as solution if the response resolved your problem. Do like the response if it seems good and helpful.
AnkitBI
6 years agoSolution Sage
In your fromual what is [EachesCost] ?
- Anonymous6 years agoNot applicable
Sorry for the inclmplete data..
DC-R Ace is the table,
[Eachescost] is the Sales$ column.