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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dynamic Background Color

Hello to all of you,

i have a question. I have a Listbox with KPI Keys. When i select one Key, then i see my Background Color:

Bild1.JPG

When i select another Key, then i also see my Background Color:

Bild2.JPG

But when i deselect the Key, i can't see anything.

Bild3.JPG

I have the following Code for the Background Color:

if(column(1) - column(2) <=minSkala,$(='vF_Wert1_'&concat(Skala,'|')),

  if( column(1) - column(2)>=minSkala and column(1) - column(2) <=maxSkala,$(='vF_Wert2_'&concat(Skala,'|')),

      if(column(1) - column(2)>=maxSkala, $(='vF_Wert3_'&concat(Skala,'|')))))

I have the following Variables which i want to call for the RGB Code.

Farbe.JPG

So for every %_Key there is a Field "Skala" which contains  the number of it.

Skala.JPG

I want to build dynamically the variablename which contains the RGB Code to prove it again the max and min Skala and then set the color. What i make wrong? I only get it when one is selected. I think the concat function could be the problem?

Thank you for helping me.

Kind Regards

1 Solution

Accepted Solutions
marcus_sommer

Maybe this is helpful for you: Colors in charts.

- Marcus

View solution in original post

1 Reply
marcus_sommer

Maybe this is helpful for you: Colors in charts.

- Marcus