pentaho

error while running pan.bat in command line

若如初见. 提交于 2019-12-12 04:18:30
问题 with the reference to my previous post,here is the link I'm still yet facing with some errors. I tried running other .ktr file it ran successfully but when I'm trying to run "pivot_inject_etl_metadata.ktr" it gives me following error C:\pdi-ce-5.2.0.0-209\data-integration>pan.bat /file:E:\Practise_TRANSFORMATION_OUTPUT\dynamic_pivot\pivot_inject_etl_metadata.ktr /level:Basic DEBUG: Using PENTAHO_JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre1.8.0_51 DEBUG: _PENTAHO_JAVA=C:

How is the pentaho community server installed on linux?

六月ゝ 毕业季﹏ 提交于 2019-12-12 04:15:40
问题 Where can I find the pentaho community files, how is it installed, and how do I access the user console? 回答1: Pentaho files are found at: https://sourceforge.net/projects/pentaho/files The server is in the 'Business Intelligence Server' folder. Download the zip file of the latest version, and unzip it. Open a terminal at the location of the unziped directory, and then cd into the directory. Now run ./start-pentaho.sh. It is a java application, so make sure you have java installed. The server

Embedding a Pentaho report inside a panel on another web page

这一生的挚爱 提交于 2019-12-12 04:14:27
问题 I have a web application that is having a portlet style main page display of multiple display panels. What I'd to have is the ability to embed a Pentaho report in one of these panels. Is this possible? so Can I embed a Pentaho report inside this panel? and how can i do that? 回答1: You should be able to do that. Here's a link to Pentaho's guide on embedding: http://infocenter.pentaho.com/help/index.jsp?topic=%2Freporting_embedders_guide%2Ftopic_introduction.html 来源: https://stackoverflow.com

Fetching the max value from ROWS in pentaho

一笑奈何 提交于 2019-12-12 03:23:49
问题 I have a table structure ID Col_1 col_2 col_3 col_4 1 34 23 45 32 2 20 19 67 18 3 40 10 76 86 I here want the max value from col_1,col_,col_3,col_4 so my output looks like ID Col_1 col_2 col_3 col_4 max 1 34 23 45 32 45 2 20 19 67 18 67 3 40 10 76 86 86 any help would be much appreciated. 回答1: Use a Modified Java Script Value step with the following code: var max = Math.max(col_1,col_2,col_3,col_4); 回答2: You can use Memory Group By or Group By steps in Pentaho. Use the aggregation method as

Count the number of null value per column with pentaho

萝らか妹 提交于 2019-12-12 02:49:30
问题 I've got a csv file that contain more than 60 columns and 2 000 000 lines, I'm trying to count the number of null value per variable (per column) then to do the sum of that new row to get the number total of null value in the entire csv. For example if we got this file in input: We expect this other file in output: I know how to count the number of null value per line but, I didn't figure out how to count the number of null value per column. 回答1: There has to be a better way to do this, but I

How upload file to Pentaho User Console server?

无人久伴 提交于 2019-12-12 01:27:21
问题 I need : 1) Let the user select a file from his local pc 2) Upload that file to the pentaho server 3) Process the file using a kettle transformation I tried with a csv data source in Pentaho User Console (PUC) 5.0 but found no way to access it from a .ktr file uploaded to PUC repository. I also try to upload the csv file to a folder and still not able to access it from a .ktr file. 回答1: I think this requirement is valid : Upload a csv data file and .ktr file to PUC folder. The .ktr should be

How to add $ symbol to the value field in the pentaho report designer

孤人 提交于 2019-12-12 00:47:43
问题 I have field which is taking string as datatype and that field has values like $20000 and N/A . I am using the string as datatype I want to show data like this $20000 and N/A , but I am getting it as a 20000 and N/A . How can I get data as $20000 and N/A . I am using that expression: =IF([annual_roll_amount]=="N/A";"N/A";"$" &[annual_roll_amount]) What is wrong in this expression and Is it ok to use that in value field under attributes?? 回答1: Your expression is wrong. you have to use

In pentaho Data Integration, update field value in a row, depending on field values of other input rows

三世轮回 提交于 2019-12-11 23:26:20
问题 I have created one transformation in which rows are generated after several step. Now as a next step, I want to calculate field value for each row based on values of other rows (it is custom logic, so necessary to have access at all rows at one shot). I considered to use javascript step. In this step, I can access field values of current row but how to access values for other rows. Same way, I checked with User Defined Java Class step, but stuck at the step where how to access other rows

Pentaho report generating log (not report designer)

流过昼夜 提交于 2019-12-11 19:19:12
问题 I have been searching here for a while, than i decided to write a question, since I am not able to find anything helpful. I just get assigned to pentaho in my company, so I still consider myself as novice when its about Pentaho. So, here is my question: I was doing some changes in one report already working. It has to show some data from DB and also pictures. And that was the problem, report was not showing pictures. But it was showing data and after click for picture, error. So i added

pentaho spoon/PDI : how to create a folder with current date?

跟風遠走 提交于 2019-12-11 17:20:55
问题 As the title says, I'd like to know how to create a folder with current date(dd/mm/yyyy) (on Job). I've seen two answers but they seemed quite long, for example this one: pentaho create archive folder with MM-YYYY Anyone has an idea? Thanks :) 回答1: That answer is also from 2014, better and newer versions of PDI are out, and this answer is overcomplicating the task. Though you do need to create the folder name in a KTR, you can just use the 'Create folder' Job step. I'm pretty sure you cannot