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: 
Florent32
Contributor II
Contributor II

Color on 3 Last month

Hello,

 

I have an Histogram with 3 value calculated.

Month -3 / Month -2 / Last month

 

I want to have a color different on each month.

I have try 

If (addMonth(today(), -1), '#505468',

     (If (addMonth(today(), -2), '#308523')

Or 

If (MasterDate.autoCalendar.month =-1, '#505468',

     (If (MasterDate.autoCalendar.month =-2, '#308523')

But it's does not works

Could you please help me?

 

1 Solution

Accepted Solutions
agigliotti
MVP
MVP

To achieve it, i suggest you to create a master measure for each one of the three measures, there you can also set a specific color.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

7 Replies
Saravanan_Desingh
MVP
MVP

Have u tried, Multicolored under Colors?

Multicolored.PNG

Florent32
Contributor II
Contributor II
Author

Hi,

Thanks for your reply.

I have to specified specific color code (client company color) so no possibility to use multicolor option...

Do you have an other idea? 🙂

agigliotti
MVP
MVP

Hi @Florent32 ,

Which are your actual bar chart measure and dimension ?

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Florent32
Contributor II
Contributor II
Author

Hello,

Chart representation below

Florent32_0-1616143392466.png

I hope it's more clear,

Br,

Florent

Florent32
Contributor II
Contributor II
Author

Dimension: Lot

Measures: Month -3 / Month -2 / Last month

agigliotti
MVP
MVP

To achieve it, i suggest you to create a master measure for each one of the three measures, there you can also set a specific color.

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
Florent32
Contributor II
Contributor II
Author

Thanks for the answer !

Have a good day!