Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
swiftfahad
Contributor III
Contributor III

graph color on the basis of dimension value

I have straight table  (plz refer image attached) for sample


I need stack bar chart where values are distributed on single bar of KU1

problem is that I want to show same color for all empty portion on the graph so i can realize user the empty slots on the bar........ right now its showing  different color for each customer see attached sample. 

is this possible?

Labels (1)
1 Solution

Accepted Solutions
vchuprina
Specialist
Specialist

Hi,

In Qlikview, you can change the color in the background color of your expression

vchuprina_1-1650105658983.png

And use following expression 

Pick(Match(CUSTOMER_NAME, '*empty*'), Green())

vchuprina_2-1650105826191.png

In QlikSense select Colors and legend in the Appearance menu. Then select a custom color and determine it by expression, for your example I use the following expression

Pick(WildMatch(CUSTOMER_NAME, '*empty*', 'xyz', 'efg', 'abc'), Green(), RGB(229,182,148),RGB(255,217,47),RGB(252,115,98))

Where each value has its own color

vchuprina_3-1650106201594.png

Result

vchuprina_4-1650106440327.png

Regards,

Vitalii

 

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").

View solution in original post

2 Replies
vchuprina
Specialist
Specialist

Hi,

In Qlikview, you can change the color in the background color of your expression

vchuprina_1-1650105658983.png

And use following expression 

Pick(Match(CUSTOMER_NAME, '*empty*'), Green())

vchuprina_2-1650105826191.png

In QlikSense select Colors and legend in the Appearance menu. Then select a custom color and determine it by expression, for your example I use the following expression

Pick(WildMatch(CUSTOMER_NAME, '*empty*', 'xyz', 'efg', 'abc'), Green(), RGB(229,182,148),RGB(255,217,47),RGB(252,115,98))

Where each value has its own color

vchuprina_3-1650106201594.png

Result

vchuprina_4-1650106440327.png

Regards,

Vitalii

 

Press LIKE if the given solution helps to solve the problem.
If it's possible please mark correct answers as "solutions" (you can mark up to 3 "solutions").
swiftfahad
Contributor III
Contributor III
Author