Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

How to pass field value from parameter to custom parameter in drill down dashbaord

$
0
0
Hi Forum,

I have developed a pie chart with states(Let's say 3 states are there in pie chart, CA,WA,OR).
When I click on particular state, I have to drill down to other dashboard displaying all the information related to that state.

For this in 1st dashboard pie charts click action I'm giving the URL like below and click cable is true.

function sendParameter(s,c,v){
var url='http://localhost:8085/pentaho/content/pentaho-cdf-dd/Render?solution=CDEExploring&path=%2FTest&file=test_dev_drill.wcdf';
window.location=url+'&pass='+param_custom_state;
}


"pass" is the name given but not used in anywhere in the dashboard 1 and using in the javascript code of custom parameter in 2nd dashboard (
param_custom_state = Dashboards.getQueryParameter("pass");)

Also, the parameter which will pass the field value is same in Master dashbaord and child dashboard.


This is taking me to next dashboard when I click on the states

The Problem is here :
--------------------
I have written a query to get the all the states in 1st dashboard, but how to pass the field value from this parameter to next dashbaord ?
Do I need to hold the values in any select component showing on the dashboard ?

In the 2nd dashboard I am creating a custom parameter to catch the value coming from 1st dashboard when I click on respective state.

Thank you in advance :) :)

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>