Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Variable not evaluating

Hi everybody

Set vbg7='G'

Set vBG6='R'

If(vbg7 = 'G' and vBG6 <> 'G', vBG6, vbg7)

with above formula I'm still getting 'G' instead of 'R', what mistake I'm making?

Thanking you

5 Replies
Clever_Anjos
Employee
Employee

Getting R, here

Capturar.PNG

sunny_talwar

May be share your app

vvvvvvizard
Partner - Specialist
Partner - Specialist

If(vbg7 = 'G' and vBG6 <> 'G', 1,2)

Do you get one or two

vvvvvvizard
Partner - Specialist
Partner - Specialist

Copy this to script

Set vbg7='G';

Set vBG6='R';

now in textbox add

=If(vbg7 = 'G' and vBG6 <> 'G', vBG6, vbg7

Anonymous
Not applicable
Author

Hi Guys

I appreciate your help, btw in my case vbg7 needed to evaluate ($(vbg7)) first.

Now works

Thanking you all of you for your valuable time