Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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