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

Announcements
Save an extra $150 Dec 1–7 with code CYBERWEEK - stackable with early bird savings: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
vinod2086
Creator II
Creator II

Cyclic group with multiple colors

Hi friends,

i'm working on bar chart in that chart we are using one cyclic group contains 3 dimensions( Region, Severity, incident type)

but the problem is when i select severity (major,minor,negligible) it should be displayed in different colors but remaining region and incident type should be in single color, is it possible in Qlikview Pls help me.

Thanks in advance.

1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi vinod,

In Background colour of the severity dimension please give below syntax:

 

 

 

=

If(Severity= 'Minor', RGB(168, 189, 11),
If(Severity= 'Major', RGB(255, 214, 0),
If(Severity= 'Negligeble', RGB(228, 31, 31))))

Do the same for remaining.

Hope it helps

Cheers

Nitha

View solution in original post

3 Replies
MK_QSL
MVP
MVP

Provide sample data please

veidlburkhard
Creator III
Creator III

Hi Vinod,

you can use 'GetCurrentField' to identify the dimension which is currently used in your group. With this you can define the colors of your chart conditionally.

Hope this helps

Burkhard

Anonymous
Not applicable

Hi vinod,

In Background colour of the severity dimension please give below syntax:

 

 

 

=

If(Severity= 'Minor', RGB(168, 189, 11),
If(Severity= 'Major', RGB(255, 214, 0),
If(Severity= 'Negligeble', RGB(228, 31, 31))))

Do the same for remaining.

Hope it helps

Cheers

Nitha