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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
samuel_brierley
Creator
Creator

Text Formatting

Hi I Have the follwing expression in a text box, is there a way to format just the Calculation to be Bold

=' Total Assets Failed In Date Range Defined: '& count ([Fault Id])

5 Replies
Not applicable

Define 2 text boxes?

ngulliver
Partner - Specialist III
Partner - Specialist III

I don't think there is a way of changing the text format for part of a string of text within the same box. As Gerrit suggests, you might have to be creative in using two text boxes.

Not applicable

In my opinion you coulf create 2 text box with the same colour, therefore they will appear like one.

In the second one (with the calculation expression) you set the bold font.

samuel_brierley
Creator
Creator
Author

I tried that but because my formula is dynamic it doesnt look too brilliant most of the time,

but thanks anyway

yevgeniy
Creator
Creator

In font - Color:

if(count ([Fault Id]) >=1000,Color(Blue()), Color(Yellow()))

but if need font style is bold:

Copy text box

add variable = if(count ([Fault Id]) >=1000,1, 2)

in first text box Layout-Show-Conditional:  variable = 1 In Font-FontStyle-Bold

in 2 text box Layout-Show-Conditional:  variable = 2 In Font-FontStyle-Normal