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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis question

Hello everyone

I need a sum on a interval but the max value of the interval is going to be selected by the user. for example if i have year field going from 1997 to 2007 and the user selects 2005 I need the total of CA from 1997 to 2005. I tried every possible set Analysis expression I could think of.

Thanks in advance for your help

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Have you tried something like

=sum( {<Year = {"<=$(=max(Year))"}>} CA)

View solution in original post

3 Replies
swuehl
MVP
MVP

Have you tried something like

=sum( {<Year = {"<=$(=max(Year))"}>} CA)

jagannalla
Partner - Specialist III
Partner - Specialist III

Hello,

See the attached file. Hope it helps you.

Not applicable
Author

it does work! THANK you so much both of you for helping me, I got lost at a certain point, trying every possible expression i could think of. have a lovely weekend