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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis expression issue

Hi all,

This is my expression:

=sum({1<Month={$(vMaxDate)}>} [Subscriber Count])

vMaxDate has a value (a date).

when I filter by regular selection I see a value under the next expression: =sum([Subscriber Count])

but I'm trying the set analysis to fix this calculation to the max Date and I get 0.

why can it be?

Thanks,

Boris

17 Replies
Not applicable
Author

the value of the variable is right. so the peek is correct

Not applicable
Author

doesn't work

Not applicable
Author

there is no data on the 12/1/2013 - unless its due to demo data?

Not applicable
Author

Try this demo, it is full with data, with 2 objects, one with regular selection and one with the set analysis.

Not applicable
Author

try this:

=sum({<Month={"=$(=Date(Max(Month)))"}>} [Subscriber Count])

jagan
Partner - Champion III
Partner - Champion III

Hi,

Use this expression, you are using wrong variable.

=sum({1<Month={'$(vMaxMonth)'}>}[Subscriber Count])

Regards,

Jagan.

Not applicable
Author

Sorry, Thanks!

Not applicable
Author

haha plus 1 - Didnt see that