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: 
Tommmy
Contributor III
Contributor III

Text with bold font

Hi experts

Is it possible to set individually the names of measures in bold or other colour?

thanks, tom

Tommmy_0-1660811677266.png

 

Labels (4)
4 Replies
Timario
Contributor III
Contributor III

Hi Tom. You can colored measure. write expression for set color.

Also you can change color in styles.

In your case write next expression:
if( col_name = 'Staff Costs', 'Red', 'Black' )

 

 

BrunPierre
Partner - Master II
Partner - Master II

Use these in the Text Color and Text Format under the expression

=IF(FIELD='Staff Costs',LightRed())

=IF(FIELD='Staff Costs','<B>')

peter_brown_0-1660816385249.png

 

Tommmy
Contributor III
Contributor III
Author

Thanks for your proposals...I have a measure here and not a dimension.

The measures name: "Staff Costs". 

How would the code look like for a measure text?

Timario
Contributor III
Contributor III

measure also support background color.

my example with code

if(username= 'john.doe', 'red', red() )