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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional formatting

Hi, is it possible to have multiple charts on a tab and have the max quarter (most recent quarter) show up in a different color

For example: 2010 Q1  -2011 Q4 (all bar charts would show up in blue) and then 2012 Q1 would be in green? 

Thank you

17 Replies
Anonymous
Not applicable
Author

Do you also have a Field: Quarter?

Not applicable
Author

I have a field called Fiscal Quarter and Year  ex. 2012 Q1 and a field called Fiscal Year  ex. 2012

Anonymous
Not applicable
Author

Ok, what happens if you use:

if(Quarter =Max(Total Quarter), blue())

Where the green Quarter is the fieldname of your Quarter

?

Not applicable
Author

It still doesn't change the color for me :<

Anonymous
Not applicable
Author

Can you share your document here, then I will have a look.

Not applicable
Author

Attached is an example copy of what I'm trying to do

Anonymous
Not applicable
Author

Hi G.

I found what the problem is. Your formula is right.

But your field is not a number field

I tried this:

=if([Fiscal Year] =Max(Total [Fiscal Year]), red())

And that worked.

Anonymous
Not applicable
Author

Try this in your load script

purgechar ( [Fiscal Quarter and Year],'Q' ) as Quarter

And use this field

This will drop the Q from the field so you can count with it.