Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! 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

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

Try:

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


talk is cheap, supply exceeds demand