Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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