Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
Customer & Partners, DEC. 9, 11 AM ET: Qlik Product & Strategy Roadmap Session: Data Analytics REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
csmqlik01
Contributor III
Contributor III

Qlik Sense color on expression for measures

Hi,

In Qlik Sense you can color via the dev-hub the sheet objects.

If you go back to desktop en open the chart, I have following expression for color

pick(mod(rank(TOTAL Column(1))-1,2)+1 ,argb(255,0,104,168),argb(255,98,173,45))

you can add more colors for an pie chart,

but I have bar chart with two measures how can I change this code for two measures , if execute this I get this result

My second measure is a line, so I want the bar in one color and the line in the other color

Best regards

2 Replies
OmarBenSalem
Partner
Partner

Create your 2 measures as master measures and assign the color to each measure there:

Capture.PNG

csmqlik01
Contributor III
Contributor III
Author

Thanks Omar