Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Bold formatting in table chart

I want to make some of the rows bold in my table. I started with one of the dimensions and clicked Text Format and entered my condition:

=if(LINETYPE='HEADER' or LINETYPE='SUM', '<B>')

But only the rows with LINETYPE=SUM shows in bold. I can't understand why this is.

1 Solution

Accepted Solutions
stigchel
Partner - Master
Partner - Master

Yes it is, try

=if(Match(Only( {< YEAR=, MONTH= >} LINETYPE), 'HEADER','SUM') , '<B>')

View solution in original post

17 Replies
anbu1984
Master III
Master III

May be because of spaces

=if(Trim(LINETYPE)='HEADER' or LINETYPE='SUM', '<B>')

Not applicable
Author

Still no change

its_anandrjs

Try this also

=if(Match( LINETYPE, 'HEADER','SUM') , '<B>')

anbu1984
Master III
Master III

Is your data (LINETYPE='HEADER') is in upper case?

Try this

=if(Index(LINETYPE,'HEADER') or LINETYPE='SUM', '<B>')

Not applicable
Author

None of these seem to work. At first i thought it was because these lines have the value 0 in the expression so I created another expression which gave a value other than 0. But that didn't help.

ashfaq_haseeb
Champion III
Champion III

Hi,

Can you post sample app to look over?

Regards

ASHFAQ

Not applicable
Author

there's a lot of company sensitive data so I can't. I'm sorry.

its_anandrjs

If possible any sort line sample test data is Ok to find out the problem you can change names and hide any sensitive data from others.

Regards

Anand

ashfaq_haseeb
Champion III
Champion III