Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Visual Cues

Hi guys,

I have some data within a table..

Capture.PNG

Is it possible to highlight all the months previous to the current month in red? For example January to May all need to be in red..

Thanks

Mel

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

example.png

In Chart Properties, click the + in front of your Month dimension and double-click on Background Color.

Enter something like:

if(YourMonthField<Month(Today()),red())

You can substitute rgb(xxx,xxx,xxx) for red() if you want more precise control over the color.

View solution in original post

3 Replies
m_woolf
Master II
Master II

example.png

In Chart Properties, click the + in front of your Month dimension and double-click on Background Color.

Enter something like:

if(YourMonthField<Month(Today()),red())

You can substitute rgb(xxx,xxx,xxx) for red() if you want more precise control over the color.

krishnacbe
Partner - Specialist III
Partner - Specialist III

Try to write a expression to color as below

if(Month(Date)< month(Today(), red(),Green())

Sample.JPG

Anonymous
Not applicable
Author

Awesome! Thanks very much