Forum Discussion
majid154a
Helper II
2 years agoRank based on 2 indicators
Dear Experts, With the delivery data, I want to rank the drivers based on two indicators: the largest number of orders and the minimum possible average total order time from all orders. Note that th...
- 2 years ago
Make it dynamic
ThxAlot
Super User
2 years agoMake it dynamic
majid154a
Helper II
2 years agoThxAlot Thank you alot. Thank you. Thank you.
In your solution, can you exlplain to me this code:
Rnk = GENERATESERIES( 1, CALCULATE( COUNTROWS( DATA ), DATA[Average total order time] <= 36 ) )
Also, we have here top 13 in our example, how If need top 20 or top 30?
Thanks much for hepling>
Thanks much for hepling>
- ThxAlot2 years ago
Super User
That create a result meeting the requirement of DATA[Average total order time] <= 36; otherwise, you can put an arbitary number as you like,
Rnk = GENERATESERIES( 1, 100 )