Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Rankx all return 1

$
0
0

First time using the rankx. Trying to use the rankx function to return employee sales rank but somehow all return 1.

table 1 is the simple sales table. hoping to return result like table 2. 

 

My sales rank = rankx(allselected(sales[employee number]), sum(sales[sales amount]))

 

Can anyone see what is wrong here? thanks.

 

 

 

employee number sales amount sales date
100801 1 02/04/16
100801203/05/16
100801406/05/16
100806201/04/16
100806101/05/15
100806101/05/16
100806403/04/16
100806308/05/16
100807402/05/15

 

crew employee number sales amount sales rank
   
10080172
100806111
10080743

Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>