Forum Discussion

dombarg's avatar
dombarg
Helper II
8 years ago

problem in Rank Dax -need small modification

hello.i want to rank my city based on their sales.

i've write following dax and it seems ok

rankx = RANKX(ALLEXCEPT(Table1,Table1[Region],Table1[Year]),[sales],,DESC)

it is ok in table.but i need to show only Max and Min of (city in respect to their) Rank in Bar chart axis.so I have:

max of rank = maxx('Table1',[sales])

the problem is that both of city appeared on bar char axis.

I've attached sample Dashboard and following pictures.

thank u

 

 

here is Dashboard Download link

6 Replies