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...

1 Reply
orital81
Partner - Creator III
Partner - Creator III

You wrote $<year1={$(vYear)}

      and' & $<year1={$(vMonth)}

This will not bring you data... Please write in psaudo code what exactly did you mean?

Did you mean this? year1=vYear and month1=vMonth ?

If so then try this:

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