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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Danijel
Partner - Specialist
Partner - Specialist

Different Color for each Measure - Chart

Hello everybody,

I am looking for the possibility to define a separate color for each measure within a combination chart or bar chart.

I know that I can create the measures as master elements and specify fixed colors there. This does not help me, however, since I use variables to dynamically adjust the colors according to the dimension.

With the function "getobjectmeasure" I have already tested something, but unfortunately without success.

Does anyone else have an idea?

Thanks.

Greetings

Labels (2)
2 Replies
mayuringale25
Partner - Creator
Partner - Creator

Hi @Danijel 

Could you please elaborate exactly what you want. 

Thanks and Regards
Mayur Ingale
Danijel
Partner - Specialist
Partner - Specialist
Author

Hi @mayuringale25,

I have the following chart in QlikView:

ExampleExample


A combination chart with five formulas.
Each formula has its own variable with a color formula.

For this example (from top to bottom):
Dimension: months
Formula1: Time related formula: Past and current month, delta in red or green, future grey.
Formula2: fixed color
Formula3: fixed colour
Formula4: Time related formula: Past green, current month light green, future grey.
Formula5: fixed color

The goal now is to implement this flexibility in Qlik Sense.