Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How can I get the nametext in expression font bold?

How can I get the nametext in expression font bold? I really appreciate for the answer.

6 Replies
prieper
Master II
Master II

Open the small "+" under the expression, below extract from OL-Help:


Edit the Text Format expression to enter an attribute expression for calculating the font style of text associated with the data point (For tables: text in the table cell for each dimension cell. The calculated text format will have precedence over table style.) The expression used as text format expression should return a string containing a '<B>' for bold text, '<I>' for italic text and/or '<U>' for underlined text. Note that = is necessary before the string.


HTH
Peter

Not applicable
Author

Is there a way to change the font as well?

prieper
Master II
Master II

I don't think so - but you may change the font in a lot of other items (dimension, caption, title etc), so put the desired font under "Font" and change the other ones.

Peter

Not applicable
Author

Sample in Text Format ...


if(x>y,'<B>'&Fieldname,Fieldname)


Not applicable
Author

You can try this:

1- Go to Menu - View and select "Design Grid";

2- Right click over the table where the expression was defined and select "Custom Format Cell";

3- In Text Settings box, select the "Bold" Check box.

Rgds

Eduardo Bastos

phcaptjim
Creator
Creator

Here is how I accomplished this for bolding an expression depending on the value of a field:

My expression is defined as =[METRIC_REFRESH]

This field contains 'Monthly', 'Quarterly', etc.

Click the + box for this expression (which in my case is METRIC_REFRESH)

Then click on Text Format

In the definition box I have the following:

=IF(METRIC_DELAYED='Y','<B>',)

When the METRIC_DELAYED value = 'Y', my expression METRIC_REFRESH will be bold, otherwise it will be normal.  I hope this makes sense!  Please let me know if you have any questions.