Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

RANKX Issues - Beginner woes

Hoping to get some help here with RANKX.  I have scoured the boards and tried almost all suggestions to no avail trying to get RANKX to work properly. Below is my scenario.

1.  created a measure 'Total Sales' [

Total Sales = SUMX('dim-INVOICE','dim-INVOICE'[SalesAmt])]

2. Applied RANKX to the total sales measure to rank it by value and the image below is what i get which is obviously wrong. [

Rank = RANKX(ALL('dim-INVOICE'), [Total Sales])

] I am at a loss of what is going wrong here.  TAll fields are in the same table.

 

9 Replies