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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
pennetzdorfer
Creator III
Creator III

Aggregation problem using variable

Hey,

I'm using a variable vCurrentSales in several charts:

sum({<Year={$(vCurrentYear)} >} $(vSales))

1.jpg

Now, for one specific chart I would like to add another set analysis condition.

sum({<Month = {1} >} $(vCurrentSales))

The result of this expression is just NULL ... Does anybody have an idea?

Thanks in advance!

11 Replies
Not applicable

Is this what you are looking for?

Kiran.

pennetzdorfer
Creator III
Creator III
Author

Kiran,

that's exactly what I need ... THANKS a lot!

That's a handy way of re-using an existing variable for a specific case with small modifications ... Great

Regards,

Florian