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

Labels (1)
4 Replies
jsingh71
Partner - Specialist
Partner - Specialist

try like this

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


its_anandrjs
Champion III
Champion III

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() )