Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

gsmajdor
Contributor

Can I define a color palette or edit colors?

     Hi,

Maybe I am blind, but I cannot find any option to define my own color palette in Qlik Sense.

Is there any way to create my custom color palette?

2nd question:

How to edit colors in e.g. stacked bar?

I can see only some pre-defined colors  or by expression.

What I want to do is: select a measure and select a color for the selected measure.

I can do I in Tableau, Excel, Power BI, thus there must be some way to do it in Qlik Sense.

1 Solution

Accepted Solutions
omarbensalem
Esteemed Contributor

Re: Can I define a color palette or edit colors?

If you're working with Qlik Sense 3.2, you can create a measure as a master measure, and affect a color to it:

Capture.PNG

and color by expression, you can write your expression as you wish;

Exp:

if(dimension='Africa',red(),green())

And so on !

Hope this helps

5 Replies
omarbensalem
Esteemed Contributor

Re: Can I define a color palette or edit colors?

If you're working with Qlik Sense 3.2, you can create a measure as a master measure, and affect a color to it:

Capture.PNG

and color by expression, you can write your expression as you wish;

Exp:

if(dimension='Africa',red(),green())

And so on !

Hope this helps

tomasz_tru
Valued Contributor

Re: Can I define a color palette or edit colors?

You can store color definions in a shared text file:

     LET vMyCompanyColor1 = RGB(100,100,100);

     LET vMyCompanyColor2 = RGB(200,200,200);

and then use INCLUDE statement in your application script.

omarbensalem
Esteemed Contributor

Re: Can I define a color palette or edit colors?

If you want a better choice of colour, you can always find here:

Capture.PNG

omarbensalem
Esteemed Contributor

Re: Can I define a color palette or edit colors?

     Hi Tomasz,

Why? What's the point of doing so?

gsmajdor
Contributor

Re: Can I define a color palette or edit colors?

Thanks Omar - that's good workaround.

It solved my problemSmiley Happy

It is interesting that Qlik still doesn't have simpler solution like "right-click->select color"...