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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Qlikuser09
Creator II
Creator II

change image based on condition in Qliksense

is there a way i could possibly change based on conditions like =IF([Case] = 'Active',
'https://www.example.com/car_image.png',
'https://www.example.com/no_transport.png'), ii have tried in Text and Image chart , but i only get the link as output and not the exact image

Labels (5)
1 Reply
AmeliaAndersson
Employee
Employee

Hi! If you're open for an alternative solution then I usually use the map object for these kind of things. Here are the steps I took to get image by condition in map. 

 

First I chose "none" as background layer on the map.

Screenshot 2024-09-30 at 13.15.34.png

Then I remove legend and scale bar.

Screenshot 2024-09-30 at 13.16.25.png

Screenshot 2024-09-30 at 13.16.32.png

Then I add a layer as a background layer and as the image format. Then I write my conditions in the editor. And change size. 

Screenshot 2024-09-30 at 13.16.46.png

Here I used an expression to have the picture change depending on my selection.

Screenshot 2024-09-30 at 13.16.53.png

Would this work for you?