Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
Coming your way, the Qlik Data Revolution Virtual Summit. October 27-29. REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Not applicable

Qlik Sense Line Chart change colors of multiple measures with single dimensions

Hi,

I have a Line Chart (filled with Area)

Dimension: Date

Measures: m1, m2, m3, m4

How can I give different color to each measure by using expression. I do not want to use colors or color schema what ever offered by Click.

I have info about changing colors by using multi-dimensions using ValueList but for here it is single dimension and multiple measures. Is there any way to change to my own 4 colors for 4 measures?

Help is appreciated! Thank you.

Chaitanya

8 Replies
Highlighted
Master II
Master II

Not at the moment no.

Highlighted
Not applicable

When will you make the feature available to customers? Thanks.

Highlighted
Master II
Master II

Not sure what's on the roadmap. If it's a feature you want put it in as an idea and if enough people like it then it will move up the priority list.

Highlighted
Partner
Partner

Make a secondary dinmension using Valuelist(m1,m2,m3,m4)

Measures: Pick(wildmatch(Valuelist(m1,m2,m3,m4),m1,m2,m3,m4),Expr1, Expr2,Expr3,Expr4)

In Color by Expression: Pick(wildmatch(Valuelist(m1,m2,m3,m4),m1,m2,m3,m4),rgb(),rgb(),rgb(),rgb())

I hope it is helpful.

Highlighted
Not applicable

Yes we at SAMSUNG, facing issues with the random color combination. That would be a great help if we can customize!

Highlighted
Partner
Partner

Please Close this thread by selecting correct answer if you have got any helpful answer so that other can get help from it.

Highlighted
Not applicable

Sure. What ever you posted it did not work for me. But thanks for help!

Highlighted
Contributor II
Contributor II

I was looking for an answer to this problem and I found the solution here:

https://community.qlik.com/t5/New-to-Qlik-Sense/Custom-Colors-for-Multiple-Measures-Expression/m-p/1... 

In summary, create Master Items for each of your measures and assign their color there. Then when you select Auto for colors, your assigned colors will be displayed. Hope this helps.