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: 
fmazzarelli
Partner - Creator III
Partner - Creator III

extension Horizontal ListBox

Hi Community,

are unable to operate a if

I have to extract a value from my data source.

What's wrong?

ERRORE.png

3 Replies
fmazzarelli
Partner - Creator III
Partner - Creator III
Author

Ah!!

I attach a new imageERRORE.png

shraddha_g
Partner - Master III
Partner - Master III

try

if([STATO CONSEGNA] = 'DA CONSEGNARE', 'Red','Black')

If(getfieldselection([STATO CONSEGNA]) = 'DA CONSEGNARE' , 'Red','Black')

fmazzarelli
Partner - Creator III
Partner - Creator III
Author

Hi Shraddha

thanks for your reply

Solution 1)

if([STATO CONSEGNA] = 'DA CONSEGNARE', 'Red','Black')

I explained bad, I want to color the value and not the label

Solution 2)

If(getfieldselection([STATO CONSEGNA]) = 'DA CONSEGNARE' , 'Red','Black')

I get error. I explained bad, I want to color the value and not the label