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: 
Not applicable

If statement

Hi -

I am working with a table where i need to format in Bold specific rows. I am trying to achieve this using if statement within the 'Text Format' properties.

if(Consolidated='Revenue','<b>',if(Consolidated='Cost of Goods Sold','<b>',if(Consolidated='Taxes','<b>', ' ' )))

For some reason this expression only highlights first row 'Revenue' and does not work the rest of the rest of the fields.

What am I doing wrong?


Please help

Thank you!

1 Solution

Accepted Solutions
shree909
Partner - Specialist II
Partner - Specialist II

hi

try

if(Consolidated='Revenue','<b>') or

if(Consolidated='Cost of Goods Sold','<b>') or

if(Consolidated='Taxes','<b>','  ' )


View solution in original post

2 Replies
Not applicable
Author

Hi,

how many Revenues, etc. are there in the table?

Have you checked for typos?

Try encircling the error by copying that column as test versions using one if statement per column.

Ciao

Klaus

shree909
Partner - Specialist II
Partner - Specialist II

hi

try

if(Consolidated='Revenue','<b>') or

if(Consolidated='Cost of Goods Sold','<b>') or

if(Consolidated='Taxes','<b>','  ' )