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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
suvechha_b
Creator III
Creator III

How to use where clause in variable settings??

How to write this :

=Sum({$<year1={$(vYear)}>& 'and' & $<year1={$(vMonth)}>} projectedadjustment)

in settings>>Variable Overview:

Add a variable :vData and set the above statement...

3 Replies
Anonymous
Not applicable

why is year1 equal $(vYear) and $(vMonth) ?

suvechha_b
Creator III
Creator III
Author

I have to select projected adjustment depending on dimension vMonth and vYear .....

I have projected adjustment value depending on Product Code and also will depend vMonth and vYear....

Anonymous
Not applicable

try with this

Sum({$<year1={$(vYear),$(vMonth)}>} projectedadjustment)


or

Sum({$<year1={$(vYear)}, month1={$(vMonth)}>} projectedadjustment)