Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
mr_lampert
New Contributor III

Show RGB Code

Hello Community,

short question: is it possible to show the RGB color code from another column?

Unbenannt.JPG

Greetings,

David

Tags (3)
1 Solution

Accepted Solutions
jmvilaplanap
Valued Contributor

Re: Show RGB Code

Hi,

You can store the RGB values in a variable, and show it where you want.

Regards

5 Replies
jmvilaplanap
Valued Contributor

Re: Show RGB Code

Hi,

You can store the RGB values in a variable, and show it where you want.

Regards

sergio0592
Valued Contributor II

Re: Show RGB Code

As expression, paste your background color expression and add ' ' for rgb().

eg : =if(Country='USA','rgb(128,165,165)', if(Country='India','rgb(110,115,165)'))

mr_lampert
New Contributor III

Re: Show RGB Code

Hello


I would do that if the code for that was not thaaaaaaaat long. So the easiest way would be to show the RGB code in that other column with an simple formula. But if that does not work, I`ll use your solution.


Greetings

David

mr_lampert
New Contributor III

Re: Show RGB Code

Hello

it looks like there is no easy way to ask for this. Because the expression for the RGB Column this is veeeeery long. So sad

OK! If there is no other solution I use that.

Greetings

David

saumyashah90
Valued Contributor

Re: Show RGB Code

Check this out.

Get Color.docx