Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

If Statement

Hi I pretty much new to Qlikview and I am trying to do an If Stetement in a Definition. I am currently trying

=if([Next Period]='Green','qmem://<bundled>/BuiltIn/led_g.png',

         if([Next Period] = 'Red','qmem://<bundled>/BuiltIn/led_r.png',

             'qmem://<bundled>/BuiltIn/led.png'))

But getting nothing can any one show me where I have gone wrong

The only data in the table at the minute is Green or Red

Distressed SQL Developer

11 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

Did you try my suggestion.

Regards

ASHFAQ

sasikanth
Master
Master

Make sure that

the Field   [Next Period]  have  brackets or with out Brackets like Next Period

Othet than that exp is fine