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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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]))