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: 
Not applicable

Highlight`

HI all,

I got this pivot table:

23424.png

The actuals of 2011 also show month 1-12. Now I wonder if it's possible to let qlikview highlight the last 12 months.

So if my years would be 2013-2014 it would highlight(different colour) 2013 month 3 uptill month 3 2014.

Maybe there is some way to get this done but im pretty clueless.

kind regards

4 Replies
jsingh71
Partner - Specialist
Partner - Specialist

try like this

If(Year='2012', Green())


its_anandrjs

Hi,

In Background option by click on + sign apply value like If(Year >= 2013 and Year <= 2014, Blue( ),Green( )) some thing like you have to change.

Thanks & Regards

Not applicable
Author

Maybe using a sequential YearMonth field and using something like this in the color properties of the Expression:

IF( YearMonthSeq >= max(YearMonthSeq) - 11, greencolor, white() )

To create this YeatMonthSeq field, multiply the Year by 12 and then sum the Month number:

LOAD

...

Year(Date) * 12 + num(month(Date)) as YearMonthSeq,

...

FROM ...

Hope it helps.

cgdonders
Partner - Creator
Partner - Creator

Open the dimension properties (+ icon) and change the text and/or background color:

example:

=IF(Month>=MONTH(TODAY()), red(), green() )