Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
emilyrabbit
Contributor III

Conditional Formatting failed

HI ,

I want to set up the conditional formatting. but it failed. the color failed to change.

图像3.png

图像1.png

the result:

图像2.png

Thanks in advance.

 

  

Labels (2)
1 Solution

Accepted Solutions
PrashantSangle

which color. you can use RGB()

if(yourexpression>0,RGB(255,10,10),RGB(10,255,20))

If you need symbol for up arrow and down arrow then add that in your expression only

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

View solution in original post

7 Replies
PrashantSangle

try simple

if(yourexpression>0,Green(),Red())

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
emilyrabbit
Contributor III
Author

Hi ,

Thanks. But I need to define a specific color. 💔

PrashantSangle

which color. you can use RGB()

if(yourexpression>0,RGB(255,10,10),RGB(10,255,20))

If you need symbol for up arrow and down arrow then add that in your expression only

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Kushal_Chawda

@emilyrabbit  do you want to apply colour or symbol to the numbers?

emilyrabbit
Contributor III
Author

HI ,sorry I have a further question:

I set the below expression in the KPI chart . and you can see , the number changed the color. Could I know why?

And the weird thing ,I put the same expression in another chart , it didn't change the color. I am totally lost.

图像.png

图像1.png

Kushal_Chawda

@emilyrabbit  Sometimes it happens that we don't understand what is happening due to may be bug. Instead trying to get your head around, create new object and see if that works

emilyrabbit
Contributor III
Author

hi,I tried. It still the same. sad..