Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Not applicable

Conditional formatting in a straight table

Hi I am new to qlikview and struggling to conditional format the dimension's background in a straight table.

Basically it is text and I want to format it so that for example the text that begins with 1 is highlighted in red, 2 is highlighed in yellow etc..

What I have done is double clicked on the background color and put in a IF statement

=IF (ward ='1*',red(),

if (ward ='2*',yellow() etc

Tried tweaking the If statement in various ways but doesn't seem to be working. Need 7 different colours. Please help if you can.

Thanks

1 Solution

Accepted Solutions
Not applicable

Conditional formatting in a straight table

Hi

Try this statement

= IF(ward LIKE '1*', red(),

     IF(ward LIKE '2*', yellow() etc..

2 Replies
Not applicable

Conditional formatting in a straight table

Hi

Try this statement

= IF(ward LIKE '1*', red(),

     IF(ward LIKE '2*', yellow() etc..

Not applicable

Conditional formatting in a straight table

    Thanks a lot, that worked!