Hi,
I have a dropdown box containing month numbers (1 to 12) and a bar chart with one measure with a bar per month. See attached image.
I want to select a month number from the dropdown box, eg 9 and display months 1 to 9, i.e. 9 bars. At the moment when I select month number 9, the bar displays one bar, i.e. month 9.
I'd appreciate assistance on how to achieve this.
Version 1.6
Source: Universe
Thanks in advance.
Hi Greg,
You can apply the following code in the "On Select" event script of your Dropdown Box:
var mySelectedMonth = me.getSelectedValue();
var mySelectedRange = "1 - " + mySelectedMonth;
DS_1.setFilterExt("<DIMENSION_NAME>",mySelectedRange);
Regards,
Mustafa.
Add a comment