Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
nbuscemi
Contributor III
Contributor III

Bar chart legend

Hi,

I've got this situation (see attachment) where clicking on "Show Cost Avoidance" all the charts show Cost Avoidance data (to do that I've created a variable (Grafico=0 --> if (Grafico=0), 'Show Investments', 'Show Cost Avoidance')). 

For the bar chart, I'm using the Vizlib Library and its related Vizlib Bar Chart. I want that when the measure is the sum of Investments the legend shows the 3 different investments (as in the screenshot), but when I click on "Show Cost Avoidance" I also want the legend to change showing only the Cost Avoidance, both as bars and as a bullet point. 

Is this possible?

0 Replies