Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

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)

1 Reply
fdelacal
Valued Contributor

Re: Syntax set analysis - IF statement

can you add a qvw. example?

Community Browser