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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Akina0929
Creator
Creator

How to keep excluded values in bar chart?

Hi,

     My Requirement is when i select country in listbox the bar chart have to show selected country sales and excluded sales and selected value have to show different color or size.

Thank you in advance

Anji

Labels (1)
5 Replies
sunny_talwar
MVP
MVP

May be use an expression like this:

Sum({<Country = >}Sales)

and a background color expression like this:

If(Sum(Sales) > 0, Red(), Blue())

sunny_talwar
MVP
MVP

Sample attached

Capture.PNG

MarcoWedel
MVP
MVP

Hi,

some similar solution:

QlikCommunity_Thread_223017_Pic1.JPG

QlikCommunity_Thread_223017_Pic2.JPG

QlikCommunity_Thread_223017_Pic3.JPG

Sunny's expression might suit your requirement better though, if your chart shall still react to selections in other fields than "country".

hope this helps

regards

Marco

Akina0929
Creator
Creator
Author

Thank you

MarcoWedel
MVP
MVP

you're welcome.

please close this thread if your question is answered.

thanks

regards

Marco