Reputation: 668
I have created basic dashboards and looks good till now.
Now I have added parameters for run time analysis. Here is what I did :
Nof in "sql over sqlJdbc" component, used the parameter like below ("noofdays" is visible in parameters on the
SELECT `a1`,count(`a2`)
FROM `app_crd`
WHERE `a3`='RECV'
and `a4`='CONDITION'
and where DATE_SUB(CURDATE(),INTERVAL ${noofdays} DAY) <= `datecolumn`
group by `a1`
When i check my logs, I see that ${noofdays} return null.
How do i get the correct value?
Thanks Ajay
Upvotes: 2
Views: 7918
Reputation: 66
Specify the parameter "noofdays" in the parameter property of the select component "daysselect", and also specify the parameter "noofdays" in the parameter property and in the listener property of the barchart.
Upvotes: 4