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

Rank by one attribute when there is more than one attribute in a table

$
0
0

Hi Everyone,

 

I have a table visual with Manager in column 1, Region in column 2, and store in column 3.  Manager is from database #1 while Region & store are from database #2 (these tables are joined).  

 

I am trying to rank P% by Manager for what is selected in the slicers.  If I use RANKX(allselected(Manager[Mgr]), [P%]), it works fine if ONLY Manager (column 1) is in the table visual.  However, when region and store are added (columns 2 & 3) to the visual, it gives me what appears to be non-sensical ranking numbers. 

 

How do I rank based on Manager while also having region and store in the visual?

 

Thanks,


Viewing all articles
Browse latest Browse all 217451

Trending Articles