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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
ksk278074
Contributor III
Contributor III

if condition in qliksense

Hi i am having data filed like 201101 upto 201201

now my agenda is load all months data dynamically

if(right('month',2)>12,$('vmonth')

what is the error in the above IF condition?

4 Replies
agigliotti
Partner - Champion
Partner - Champion

what does the variable vmonth contains ?

ksk278074
Contributor III
Contributor III
Author

vmonth contains the data like 201701 to 201712

agigliotti
Partner - Champion
Partner - Champion

is vmonth a variable or field name ?

what are you trying to achieve with your IF condition ?

YoussefBelloum
Champion
Champion

Hi,

what did you call your field with quotes, try it like this:

if(right(month,2)>12,$(vmonth))