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: 
Not applicable

Set Identifier not Working

Can anyone tell me why this expression is not selecting all records (ignoring the current selections)?

=(Sum({1<[B YearPeriod] = {"<=$(=Max([B YearPeriod]))"} >}[B Actual Amount]))

/(Sum({1<[B YearPeriod] = {"<=$(=Max([B YearPeriod]))"} >}[Budget Amount]))

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

You probably need to add the set identifier also to the max functions:

=(Sum({1<[B YearPeriod] = {"<=$(=Max({1}[B YearPeriod]))"} >}[B Actual Amount]))

/(Sum({1<[B YearPeriod] = {"<=$(=Max({1}[B YearPeriod]))"} >}[Budget Amount]))

View solution in original post

1 Reply
swuehl
Champion III
Champion III

You probably need to add the set identifier also to the max functions:

=(Sum({1<[B YearPeriod] = {"<=$(=Max({1}[B YearPeriod]))"} >}[B Actual Amount]))

/(Sum({1<[B YearPeriod] = {"<=$(=Max({1}[B YearPeriod]))"} >}[Budget Amount]))