Cascading Filters in CDE Dashboard

Posted on by By admin, in Pentaho | 0

This blog explains the process of cascading filters in CDE dashboard.

Prerequisites:

  1. Foodmart database
  2. Pentaho 6.0.1.0.386

Consider the below dashboard with 2 filters i.e. Country and State.The requirement is that when we select a value in country drop down, State filter should display values of that particular country which is selected.

Go through the previous blog for addition of filters in the dashboard.

The process of cascading these 2 filters i.e. Country and State are as shown. Before cascading, values in State filter are as shown

After Cascading, values in State must appear based on Country selected.

Follow the below steps to do the same.

  1. Add parameter to Country filter I.e. select component as shown


  2. Since State filter should listen to Country.There is no state parameter required since it is dependent on Country.
  3. So remove parameter in State Select component and add Country parameter(countryparam) as listener, also in parameters.
  4. Now, we have to make changes in datasource so that state query gets executed based on country input.
  5. First, add a parameter to Country Query component.
  6. Next, add same country parameter to State Query component.
  7. Now, add the country parameter in the query as shown.
  8. Save the dashboard and preview.Output is as shown




Based on the country selected, State filter displays values.

In case if you have any queries please get us at support@helicaltech.com

Thank You
Mounika Pulimamidi
BI Developer
Helical IT Solutions Pvt Ltd

logo

Best Open Source Business Intelligence Software Helical Insight Here

logo

A Business Intelligence Framework


logo

Best Open Source Business Intelligence Software Helical Insight is Here

logo

A Business Intelligence Framework

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments