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

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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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
Partner - Champion III
Partner - Champion III

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