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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Colors in linear gauge

Hello,

I'm trying to represent some values in a pivot table as linear gauges. I did that, but now I need to color each "Categoria / Marca" with an custom RGB that I have in an inline.

This is how the table actually looks:

pintar imagen.jpg

The expression that I'm using in the "Segment" color is:

If($(vRegDemCat) = 2, Only({<Categoria_Marca>} RGB(R, G, B)))

I don't know what is wrong and why the dimensions aren't getting their colors.

Thanks a lot.

Kindest regards!

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

A set analysis expression creates one set per chart, not a set per dimension value. That's why your expression doesn't work. Perhaps this will do the job: If($(vRegDemCat) = 2, RGB(R, G, B)).

If not take a look at this blog post: Colors in charts


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Hi, I have tried that and I didn't get any result, all I got is the same green for all dimensions.