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: 
Not applicable

Display of image as a result of an IF statement

Dear all,

I have an IF statement in an expression that should result in the display of an image.

= if (vFrf_ba_senesteaar <= vLandsgns_frf_ba,'qmem://CustImg/checkmark2',
if (vFrf_ba_senesteaar > vLandsgns_frf_ba_med33pct,'qmem://CustImg/circle1',
'qmem://CustImg/circle2'))



For some reason the image is displayed 6 times (or more) (the image consists of only one checkmark).

The values of the variables are shown in the below input box.

Can anyone please share some input of what I am missing?

Thanks a lot:-).

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Then due to the dimension yo are getting multiple images. Try removing the dimension and see.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

6 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Are you using the chart to show the image or textbox?

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Hi Kaushik,

I am using a chart

Regards,

Gitte

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

Then due to the dimension yo are getting multiple images. Try removing the dimension and see.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable
Author

Hi, I think that the dimension has too many values. If the dimension result is only one record, then you'll get only one image.

Hope it helps,

Julio.

Not applicable
Author

Thanks a lot. That did the trick:-)

Regards,

Gitte

Not applicable
Author

Thanks a lot fir your help:-).-

Regards,

Gitte