Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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
Partner - Master

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() )