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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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

what does the variable vmonth contains ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
ksk278074
Contributor III
Contributor III
Author

vmonth contains the data like 201701 to 201712

agigliotti

is vmonth a variable or field name ?

what are you trying to achieve with your IF condition ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
YoussefBelloum
Champion
Champion

Hi,

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

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