Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
NickHoff
Specialist
Specialist

Top N

I have a slider dimension that drives the variable vTopPhysicians and limits one result set to the top N Physician's using a dimension limit. 

The second part i'm attempting to limit my express results to the Top N using the following:

SUM({<ProcedureSurgeonName = {"=RANK(COUNT(DISTINCT SurgicalCaseSk),$(vTopPhysicians)-1)"}>}SurgicalUsedQTY)

My Syntax shows it's correct, but it's not working correctly.

Labels (1)
1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

SUM(

{<

ProcedureSurgeonName = {"=RANK(COUNT(DISTINCT SurgicalCaseSk))<($(vTopPhysicians)-1)"}>}SurgicalUsedQTY)

View solution in original post

1 Reply
MK_QSL
MVP
MVP

SUM(

{<

ProcedureSurgeonName = {"=RANK(COUNT(DISTINCT SurgicalCaseSk))<($(vTopPhysicians)-1)"}>}SurgicalUsedQTY)