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?