Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replacing text with icons (colored led)

Hi there,

I have several table boxes

I have a status column which is On time / Late / At risk

I would like to replace the text with some icons, for exemple colored leds (green = On Time / Red = Late /  At Risk = Yellow)

What should I do in order to implement this ?

Regards,

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Something like this:

pick(match(Status,'On time','Late','At risk'),'qmem://<bundled>/BuiltIn/led_g.png','qmem://<bundled>/BuiltIn/led_r.png','qmem://<bundled>/BuiltIn/led_o.png')

You can select the builtin images on the Images tab of the expression editor.


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Gysbert_Wassenaar

Something like this:

pick(match(Status,'On time','Late','At risk'),'qmem://<bundled>/BuiltIn/led_g.png','qmem://<bundled>/BuiltIn/led_r.png','qmem://<bundled>/BuiltIn/led_o.png')

You can select the builtin images on the Images tab of the expression editor.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks for the quick reply, but I don't know where to put that expression....

Which tab from my table box properties ?

Gysbert_Wassenaar

You can't put it in a table box, you'll have to use a straight table or pivot table and add it as an expression or calculated dimension.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks it worked