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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
stevietm
Creator
Creator

if statement in expression

Hi All

I need to work out an expression with the if statement I have checked the QV help and this is what I got so far   if(SEPExcl <'100',’sum((Quantity)/Size) * SEPExcl * 26/100)’,’sum((Quantity)/Size)*Percentage)’)

Every Time when I calculate this it returns the “sum((Quantity)/Size) * SEPExcl * 26/100)” expression and not the value can anyone please help??

Kind Regards Stevie

1 Solution

Accepted Solutions
SunilChauhan
Champion II
Champion II

if(SEPExcl <100,sum((Quantity)/Size) * SEPExcl * 26/100),sum((Quantity)/Size)*Percentage)))

Sunil Chauhan

View solution in original post

1 Reply
SunilChauhan
Champion II
Champion II

if(SEPExcl <100,sum((Quantity)/Size) * SEPExcl * 26/100),sum((Quantity)/Size)*Percentage)))

Sunil Chauhan