Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
LearnQlik
Contributor
Contributor

If statement - greater than or equal

Hello,  New to QlikSense

I created a variable (vWDR) from the following formula:

round((Sum(Cmpst_ttl_tons) + Sum(Rcycl_ttl_tons) )/(Sum(Lnd_Inc_ttl_tons)+ Sum(Rcycl_ttl_tons) + Sum(Cmpst_ttl_tons)+Sum(WCER_ttl_tons)) *100,0.5)

If the result is 100 or greater I want to sent variable vWDR to zero  otherwise I want to retain the value form the calculation.

Any ideas how to best do this?

1 Solution

Accepted Solutions
Channa
Specialist III
Specialist III

if(vWDR >=100 ,0,vWDR )

Channa

View solution in original post

2 Replies
Channa
Specialist III
Specialist III

if(vWDR >=100 ,0,vWDR )

Channa
cpomeren003
Partner - Creator II
Partner - Creator II