Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error in Expression ')' expected

Hi,

I have created multiple variables in my expression all without equals sign. When I use the variable individually they are generating fine. But when I use it in a if condition I get this error. THe condition is like

if(Cond1 = True OR Cond2 = True, $(vVar1), if(Cond3 = False, $(vVar2),0))

something like this. How do I tackle this error, not able to find anything related to this.

Kindly help, its a little urgent.

Thanks

1 Solution

Accepted Solutions
vvvvvvizard
Partner - Specialist
Partner - Specialist

Try

if(Cond1 = True OR Cond2 = True, $(=vVar1), if(Cond3 = False, $(=vVar2),0))

View solution in original post

3 Replies
sunny_talwar

It would be more helpful if you post the actual expression, because this dummy expression doesn't seem to have any issue. May be we can find the issue in the original expression.

Best,

Sunny

vvvvvvizard
Partner - Specialist
Partner - Specialist

Try

if(Cond1 = True OR Cond2 = True, $(=vVar1), if(Cond3 = False, $(=vVar2),0))

Not applicable
Author

Worked perfectly thanks.