Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP 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