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

Syntax set analysis - IF statement

Hi.

I am currently putting together a R12 statement; the statement without the IF condition is working 100% however when i add the IF condition in a set analysis string it does not work.

Your help is greatly appreciated in this matter.

Original IF statement = sum(If(vr_ktonr_RR<4000,vr_Netto_RR,0))

rolling 12 syntax = sum({1<OrderDate={">=$(=addmonths(monthend(max(OrderDate))+1,-12)) <=$(=max(OrderDate))"}>}Vr_Netto_RR)

Labels (1)
1 Reply
fdelacal
Specialist
Specialist

can you add a qvw. example?