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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Change the color of a part of the text in side the text object


Hi

I want to change the color of part of the sentence which is in the text box and not change the color of all the texts.

So in my scenario, im using some conditions to pop up dynamically in the text box whose color I want to change.

1) I might be wrong with the RGB() function use so I want an example how to use the function with some condition

2) I want to use the same condition in the sentence with the color change in the same text object.

Example: '< if condition>' which gives a text 'Sachin' whose color I want to change

               Sachin & 'is performing very bad' (in text)

And both are there in the text object and are not different text object placed on one another

\\is it possible to get a solution with an example asap as I have time constraint

6 Replies
giakoum
Partner - Master II
Partner - Master II

I don't think so. You need two separate text objects to achieve that. The color can be set on font, and it applies to the whole text object.

rustyfishbones
Master II
Master II

It's not possible within 1 text object, you will need 2 text objects.

Or perhaps there is an extension that can do it

rustyfishbones
Master II
Master II

Hi,

You could create a straight table and remove all of the captions and headers and then use the background colors and text colors to get what you need

Something like this, and it will change dynamically based on Sales

2015-02-20_1718.png

rustyfishbones
Master II
Master II

So when I reload Data it will change to something like

2015-02-20_1720.png

Not applicable
Author

Not possible in text box but as suggested above you can go for workarounds.