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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Nested IF - flag Script

hi i am trying to achieve the following logic.

i would like to create a flag based on the following statement;

i seem to have a brackets issue however

=if (Artikeltyp = 'Z' and if (MovementDate > dayend(Now() -365)1, 0) ) as moving

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try:

if (Artikeltyp = 'Z' and MovementDate > addyears(today(1),-1) , 1, 0) as moving


talk is cheap, supply exceeds demand

View solution in original post

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try:

if (Artikeltyp = 'Z' and MovementDate > addyears(today(1),-1) , 1, 0) as moving


talk is cheap, supply exceeds demand