Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.

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)