Search code examples
mdxiccube

icCube - MDX - How can I create a filter in a Histogram using a button named "MONTH"


I need to create a filter between some buttons named and a histogram, so for example when I click on "Mois" the histogram will change automatically to show us the Months.

enter image description here


Solution

  • Not sure to understand your question. Each widgets has a set of events that can be generated (Event tab, 'on Row Click', 'on Cell Click ...).

    Once the event has been defined with a name, 'histogram-click', in can be used mainly everywhere with @{eventName!defaultValue}. This will be replaced by icCube once the event changes. Check here for a little more documentation.

    Also, in Configuration/Report Javascript you can add some code that is called on event generation for more dynamic behavior (e.g. using jquery to change the page).

    hope it helps