pentaho-cde

How to add a select all option to select component in CDE

为君一笑 提交于 2019-12-04 05:01:55
问题 for a students projects we are working with Pentaho CDE to create a dashboard. At first it works fine, but now we are hanging at the point adding more than one Select Component. We inserted the Parameters of the Select Components to the SQL-Queries in the Where statement but now we have the problem, that it is not possible to select all elements in one select component and only one in the others. The sample space is getting smaller and smaller the more parameters we add because we can't find

Refresh all components of Pentaho CDE dashboard

给你一囗甜甜゛ 提交于 2019-12-02 12:43:39
问题 I want to be able to refresh entire Pentaho CDE dashboard including all components using a button. Currently I use this code window.location.reload() , which refreshes whole HTML page. But it reloads all resources, which makes it slow. Is there a way of how to refresh all components of Pentaho CDE dashboard? 回答1: Use and call this function: function updateAllDashboardComponents() { Dashboards.updateAll(Dashboards.components); } 来源: https://stackoverflow.com/questions/36356390/refresh-all

Pentaho CDE reset parameter

左心房为你撑大大i 提交于 2019-12-02 10:25:12
I have a data table component and seven multiple selectors related to it. And i want to reset all selectors to default value with a reset button. My data source is SQL database, so i don't have a select "All" option in these selector. Is there any way to make it happen? There are two issues you need to solve: Adding default values for the selectors Adding a button that resets these selectors to their default value For 1 I would go for something like this: Set the SQL query for the selectors datasource like this: SELECT '%' FROM [ANY TABLE] UNION [YOUR EXISTING QUERY] This way you will also

How to add a select all option to select component in CDE

谁都会走 提交于 2019-12-02 05:37:49
for a students projects we are working with Pentaho CDE to create a dashboard. At first it works fine, but now we are hanging at the point adding more than one Select Component. We inserted the Parameters of the Select Components to the SQL-Queries in the Where statement but now we have the problem, that it is not possible to select all elements in one select component and only one in the others. The sample space is getting smaller and smaller the more parameters we add because we can't find out how to select all option in one select component and send this all to the query. Is it possible in

Pentaho BI server report without Log in

落爺英雄遲暮 提交于 2019-12-01 02:17:54
问题 I need to integrate my Pentaho Community dashboard report in a DotNet application. Now I am facing a problem. I want the report to open on single click without the Pentaho server asking for authentication or log in. I tried to find out a solution and found that if I use userid and password in the url, it will work. So I did this http://192.168.2.122:8085/pentaho/api/repos/:home:Time%20Sheet%20Reports:Project%20Effort%20Analysis%20Dashboard.wcdf/generatedContent&userid=admin&password=password

How to pass a variable obtained from query component into a query on Pentaho CDE?

流过昼夜 提交于 2019-11-30 09:57:15
问题 I managed to get data as variable with Query component . Now I want to pass this variable into a query. Here is what I did: On Query Component: myresult='NYC' in my example. The query on Datasources: I use this one to display a chart, when I change ${myresult} to 'NYC', it works fine. But with ${myresult}, the chart is not displayed. I also tried with > Dashboard.setParameter() On post fetch of Query Component, but still the same... I also created simple param and select param (which is not

How to get last 7 days data from current datetime to last 7 days in sql server

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-27 13:55:35
Hi I am loading table A data from sql server to mysql using pentaho when loading data i need to get only last 7 days data from sql server A table to mysql In sql server createddate column data type is like datetime AND In mysql created_on column datatype is timestamp Here I used below query but i am getting only 5 days data Please help me in this issue select id, NewsHeadline as news_headline, NewsText as news_text, state, CreatedDate as created_on from News WHERE CreatedDate BETWEEN GETDATE()-7 AND GETDATE() order by createddate DESC Try something like: SELECT id, NewsHeadline as news