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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
hkg_qlik
Creator III
Creator III

Text Object(Color/Bold) function

Hi,

Can we change the color/size/Character (like bold) of a selective text in the text box on the front end?

Can someone share an example for the same?

Regards,

H

8 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

There is no way I know of to do selective text formatting in a text box. There is only the one setting that applies to all text in the box.

A workaround is to use multiple text boxes (or other objects) and layer them. This can be difficult to maintain.

-Rob

lethu281
Contributor II
Contributor II

Hi,

Have you tried going to the "Properties", "Font" Tab then on the "Color" option and then select "Calculated", the inster your expression in there e.g

" =If($(vYTDPYVar) > 0.01,

          RGB(0,128,0),

          RGB(255,0,0)) "

felcar2013
Partner - Creator III
Partner - Creator III

i tried this, and i get the "RGB(0,128,0)" in the color i wanted, but i want to get the result of the variable (a number) in that color!, Like  -55% (in red) or 48% in green

is this possible?

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Yes, you can get very fancy in the color formula, including the variable ColorWizard.

You can't modify size and style of the font, though (that's what Rob was referring to).

You can also store the whole formula for the color in a variable and use the variable in the color expression:

SET vColor1 = 'RGB(v1, v2, v3)';

<Color Expression> = $(vColor1)

cheers,

Oleg

Ask me about Qlik Sense Expert Class!
felcar2013
Partner - Creator III
Partner - Creator III

thanks, it worked in a simple way using an expression on the font tab for color. using the variable simplifies any change in the future, thanks again

Jason_Michaelides
Partner - Master II
Partner - Master II

There is an idea for this - please vote for it!

http://community.qlik.com/ideas/1880

WARNING - the webpage is screwing up the link above - you will need to type it exactly as seen but DO NOT click on it!!

Jason

Anonymous
Not applicable

Thanks looking for same.

anushree1
Specialist II
Specialist II

looks like the content is no longer active does anyone have a version of this i do not want to use multiple objects