Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
DTurner2019
Contributor
Contributor

How to get Rank to Ignore Selections

Hi!

I am a relatively new user of Qlik. I am building a very simple table KPI ranking dashboard for our sales team. Here is how the data will look:

RankArea VPRegion VPSales Rep  Sales $ Quota% to Quota
1AVP1RVP1SR1         50,000   50,000100%
2AVP2RVP2SR2         40,000   50,00080%
3AVP1RVP1SR3         30,000   50,00060%
4AVP2RVP2SR4         20,000   50,00040%

 

Currently, when I attempt to filter on an RVP2, the rank function will recalculate and show the two sales reps aligned to them as 1 & 2.  I would like for the Regional VP to filter to their region and keep the ranking for the sales rep.

RankArea VPRegion VPSales Rep  Sales $ Quota% to Quota
2AVP2RVP2SR2         40,000   50,00080%
4AVP2RVP2SR4         20,000   50,00040%

 

This is the current formula I am using:

 

rank(total sum([Sales Target Credit]),4,1)

 

 

Thanks in advance for your help!

 

Labels (2)
1 Reply
Arthur_Fong
Partner - Specialist III
Partner - Specialist III

Try this:
rank(total sum({<[Region VP]=>}[Sales Target Credit]),4,1)