Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
oric1884
Contributor III
Contributor III

Get the Default Color Name

Hi there!

I want to format bar chart series based on its values.

For this, I'm using the following expression: If(Sum([Resultado Financeiro])<0,LightRed(),Blue()) and I' getting:

Image 2.png

How can I get the default Qlik color as showed below?

Image 1.png

Best regards,

Ciro.

Labels (1)
2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Use If(Sum([Resultado Financeiro])<0,color(2),color(1))


talk is cheap, supply exceeds demand
sunny_talwar
MVP
MVP

Try this:

If(Sum([Resultado Financeiro])<0,RGB(204,102,119),RGB(68,119,170))