Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I am relatively new to Qlikview and have encountered a problem with an expression that contains a dual if statement, the expression is as follows:
sum(if (Year = vYear1,
(if Exempt = 0,(Price - Tax - Service - 0),(Price - Tax - Service - Nett)),)
)
based on the values of the Exempt field I either need to subtract the Nett or not.
try like this
sum(if (Year = vYear1,
if(Exempt = 0,(Price - Tax - Service - 0),(Price - Tax - Service - Nett)),)
)
try like this
sum(if (Year = vYear1,
if(Exempt = 0,(Price - Tax - Service - 0),(Price - Tax - Service - Nett)),)
)
Thank you!
sum(if (Year = vYear1,(Price - Tax - Service - If(Exempt=0,0,Nett)) ) )