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 set analysis

I have a working set analysis expression that limits the population to the top N.  However, my data model includes CalendarYear, CalendarMonth, and CalendarQuarter, but none of the calendar objects work with top N expression.  How can I get Year, Month, and Quarter to work?

COUNT({<ProcedureSurgeonName = {"=RANK(COUNT(DISTINCT SurgicalCaseSk),4)=1"}>}DISTINCT SurgicalCaseSk)

Labels (1)
1 Solution

Accepted Solutions
NickHoff
Specialist
Specialist
Author

It was correct in the data model my problem was there was an alternate state selected on the calendar fields, which threw everything off.

View solution in original post

2 Replies
Not applicable

As per the expression (If it is working), Year, Quarter and Month selections should effect the data. So there might be something wrong in your data model.

Can you attach sample QVW and/or explain the set expression, dimensions on the chart etc?

Regards,

KKR

NickHoff
Specialist
Specialist
Author

It was correct in the data model my problem was there was an alternate state selected on the calendar fields, which threw everything off.