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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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