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

CDE/CCC - Pie chart - summary in the inner area

$
0
0
Hi,

I would like to update my pie charts with inner plot and display there summary of the values displayed on outer/main plot.
Pie charts are generated using multiChartIndex['0'].

My columns in select query:
exchange, totals, conform, nonconform

Current settings:
crosstabMode = true
seriesInRows = true
dataCategoriesCount = 2
multiChartIndex = ['0']

How to achieve this? Can anybody help?
Thanks

For some reason I'm struggling to attach image.

Extension points : Bar and line chart

$
0
0
Hi Forum,

1) values on line should take the same color ? Is there any extension point for that ?

2) values inside the bars should be bold ? how can we do that ? tried (stronger white 11px "Open Sans" for valueFormat but not working). Also the how can I display vertical display ?(by default it is horizontal and trimmed/hide/show.

3) I've customzied the value at valueFormat as function f(v) { return sprintf('%d', v/1000) + 'K'; } This is applicable for both bar and line values.. I do not want this for line .. How can I make use of this to only bars but not to line(line should take it's values only).

Quick snapshot of above questions :

issue.png

Thank you.
Sadakar
Attached Images

Visualize output table of a PDI step.

$
0
0
Hi,
I am a begginer and I am creating an ETL process with Pentaho Data Integation y want to visualize in ‘Execution Results’ window the output table of a step. I mean, if I execute a input step I want to visualize in ‘Execution Results’ the table I have read from an external file in the input step.
I am working with Spoon 3.2.0.
Any advice will be greatly aprecciated.
Thanks in advance

creation of filter seach option in chart

$
0
0
hi ,

I need small help in the pentaho report designer .I am using the pentaho report designer verion 5.1 .Is it possible to add the search option in the multi select button for a single parameter in the Bar chart .

Waiting for ur reply
thanks,
Vishnu

Change menu element

$
0
0
Hi,

Can anyone me how to change menu element in home page?
Since 2 - 3 weeks i am working on this but not able to find anything.

Use UTC date locale in Text File Input

$
0
0
Hi,

Is there a way to set the "Date Format Locale" attribute on Text File Input to a UTC value? I've got an issue where spoon is failing to process a CSV file as there is a date value "2014-03-30 01:00:00" as it's treating it as a en_GB date and this is the day that the switch to British Summer Time occurred. If I tick the "Be lenient when parsing dates?" box then it will translate the value to 2014-03-30 02:00:00 BST, however I want the UTC value read in from the file. I've included the error message below.


2014/11/18 13:01:40 - Spoon - Transformation opened.
2014/11/18 13:01:40 - Spoon - Launching transformation [loadEnquiryFact]...
2014/11/18 13:01:40 - Spoon - Started the transformation execution.
2014/11/18 13:01:40 - loadEnquiryFact - Dispatching started for transformation [loadEnquiryFact]
2014/11/18 13:01:40 - Read Enquiry CSV.0 - Opening file: file:///data/kettle/input/enq.csv
2014/11/18 13:01:40 - Read Enquiry CSV.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected error
2014/11/18 13:01:40 - Read Enquiry CSV.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/11/18 13:01:40 - Read Enquiry CSV.0 - Error converting line
2014/11/18 13:01:40 - Read Enquiry CSV.0 -
2014/11/18 13:01:40 - Read Enquiry CSV.0 - Couldn't parse field [Date] with value [2014-03-30 01:00:00], format [yyyy-MM-dd HH:mm:ss] on data row [1].
2014/11/18 13:01:40 - Read Enquiry CSV.0 -
2014/11/18 13:01:40 - Read Enquiry CSV.0 - pickup_datetime String : couldn't convert string [2014-03-30 01:00:00] to a date using format [yyyy-MM-dd HH:mm:ss] on offset location 19
2014/11/18 13:01:40 - Read Enquiry CSV.0 - Unparseable date: "2014-03-30 01:00:00"
2014/11/18 13:01:40 - Read Enquiry CSV.0 -
2014/11/18 13:01:40 - Read Enquiry CSV.0 -
2014/11/18 13:01:40 - Read Enquiry CSV.0 -
2014/11/18 13:01:40 - Read Enquiry CSV.0 - at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:811)
2014/11/18 13:01:40 - Read Enquiry CSV.0 - at org.pentaho.di.trans.steps.textfileinput.TextFileInput.processRow(TextFileInput.java:1093)
2014/11/18 13:01:40 - Read Enquiry CSV.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2014/11/18 13:01:40 - Read Enquiry CSV.0 - at java.lang.Thread.run(Thread.java:745)
2014/11/18 13:01:40 - Read Enquiry CSV.0 - Caused by: org.pentaho.di.core.exception.KettleException:

Thanks,

mj.

lightining fast exports

$
0
0
Hi all, at PCM#14 Thomas presented the gains in speed for reports that basically generate csv content for exporting data.
I didn't take note of all the precise requirements for this optimization to work.

Here it is what I remember:
- no subreports
- no paginated reports (no page breaks)
- CSV output
- is XLS/XLSX output allowed?

and last: since PIR uses the report engin as well does this means that this speedup will affect also this product?

regards
Virgilio

optimization with spoon and postgresql

$
0
0
Hi,


I'm writing you to try an optimization with a CSV of ~2.000.000 rows, I'm available to import it into a table in PostgreSQL database (in 1 minute with PostgreSQL bulkloader, it's fantastic). Inside PostgreSQL I use function to read each record (using cursor) and update one field:


Code:

total_rows CURSOR FOR SELECT id, state, town, client_type, consume FROM la.clients;

FOR tr IN total_rows LOOP
  perform la.update_band(tr.id, tr.state::text, tr.town::text, tr.consume, tr.client_type);
END LOOP;

The la.update_band function has something like:


Code:

IF client_type = 1 THEN
      SELECT INTO band_assined * FROM la.bands WHERE (consume BETWEEN banda_low AND banda_up) AND type_of_client = client_type AND band_state like '%' || state || '%' AND band_town like '%' || town || '%';                                       
END IF;

... (and there are another similar IFs for each client_type, only 4 actually). At the end of update_band function (when is selected band for client) it's update the table la.clients with the selected band:
Code:

UPDATE la.clients SET co_band = band_assined.co_band WHERE id = client_id;

The method mentioned above works good but it's -too slow-, with 100.000 rows it take something like 2 hours, with 600.000 rows about 11 hours, and with 1.200.000 it's running just right now (16 hours and counting...). The function la.update_band appers to be the problem, the table la.bands has 150 rows (is small) and it's used to select the band for clients using his state, town, type of client and consume.


The question is how to reduce time for process, I think it could be fast using only spoon (not DBMS) to assign client band before upload to PostgreSQL using bulkloader, maybe could be faster but I don't know how to manage (or map) the table la.bands to avoid select to database and only work with CSV. I also have the doubt if it's more fast or not.


Some ideas? Thanks for your help and have a nice day.

Regards

How to run multiple files if a file fail how to execute next file in pentaho data int

$
0
0
hi in pentaho .... in shell script we r calling the path of all csv files...... it contains the sql scripts..... there r multiple file gets executed ..if any file gets failed next files should get executed.. so what can we do in this case

Redirect to dashboard after login

$
0
0
Hi guys,

I'm really new to this and I would appreciate some help.

I'm running bi-ce 5.2 on linux.

I have read that you should be able to redirect directly to a dashboard or report after login by editing the /tomcat/webapps/pentaho/index.jsp at



Code:

            if (!haveMobileRedirect) {
         
          %>
              <META HTTP-EQUIV="refresh" CONTENT="0;URL=./Home">
          <%
         
          }

to something like this

Code:

<META HTTP-EQUIV="refresh" CONTENT="0;URL=/pentaho/content/pentaho-cdf/RenderXCDF?solution=mydashboard&path=/company&action=homedashboard.xcdf&template=companyview">
To start with I just want to redirect to the Steel Wheels sample dashboard to see if it works.

Can somebody explain what I need to put in the URL string to make it work? Where is the dashboard file located and what other arguments are needed to run it?

Thanks

Bernhard

Want to store lines from XML files as raw text in database

$
0
0
Hi, I have .XML files that I want to store as simply raw text into a database.
Each file contains only 2 lines:

<reXML Version="1.5.1">
<lots-of-complex-xml-as-one-line></reXML Version>

I want to store the lines in a LONGTEXT field in a mySql database table.

What is the best Input Step to use?

I am trying the "Text file input" field, but it seems to want a type of CSV or FIXED WIDTH.
Also, it keeps getting hung on reading the lines.

Please advise.

Thanks,
chasse

hide or remove legend shape AND how to display all lines with same colors

$
0
0
Hi Leao & forum,

How to remove legend shape for a line chart and how can we display all lines(lets say I have 4 lines and I do not want to hard code at colors property as blue, blue, blue & blue for 4 times) should take same color(for eg : light blue).

Thank you.

Saiku Analytics vs. Pivot4J

$
0
0
I installed both the Saiku Analytics and the Pivot4J plugins on a Pentaho CE for a demo. From a high-level view, they both seem to be exactly the same, albeit Saiku seems to be performing a bit quicker. Can someone who is well acquainted with both please tell me the differences between the two and what factors I should take into consideration in selecting one over the other for Mondrain Cube analysis?

Passing values to JavaScript Job entry to invoke a java process

$
0
0
Hi I am a newbiew to Pentaho DI Kettle hence excuse me for silly question and Thanks in advance for help.

I need a job that has a transformation that creates a text file. I need to pass this text file as a input to other Java Process.

I followed this post http://forums.pentaho.com/archive/in...p/t-59621.html to successfully invoke the Java Process from java script but is unable to pass the values to a java script job entry to invoke the java process.

Please see the image of job attached.

The JavaScript entry has this code:
Code:

var inputFileLoc = parent_job.getVariable("appIds_file_loc");java;
var d = Packages.TestingKettle.main(inputFileLoc);
true;

"appIds_file_loc" is defined in the Set Variables entry.

I see following error when I execute the job.

Code:

JavaScript - ERROR (version 5.1.0.0, build 1 from 2014-06-19_19-02-57 by buildguy) : Couldn't compile javascript: org.mozilla.javascript.EvaluatorException: Can't find method TestingKettle.main(java.lang.String). (<cmd>#3)
Any help would be greatly appreciated.

Thanks
Attached Images

How to use "Return auto-generated key"?

$
0
0
Hi!

I'm building a customer migration job from one database to another in physically separate servers. I got most of it done, and I just need to learn how to use the "Return auto-generated key" feature of the Table output component. I need to capture the new id, so that I can use it in a subsequent transformation to relate one table row, to a row in a different table.

I have a client, mailserver, and client_mailserver tables. I first insert into client, then into mailserver. I want to capture the new row id for mailserver, so that I can create an entry in the junction table client_mailserver. Could somebody point me to a wiki entry or an article that shows how this is done?

Thanks!

Hector

Closed Connection issue : Error on rollback- Kettle 4.3

$
0
0
Hi All,

I am facing connection issues while trying to populate data from a table to another. There is a main job which calls the transformations sequentially.One of the transformation is showing this issue. I am using Kettle 4.3 (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy)


2014/11/18 14:03:05 - Table input.0 - linenr 50000
2014/11/18 14:03:14 - USER.0 - linenr 50000
2014/11/18 14:03:45 - Table input.0 - linenr 100000
2014/11/18 14:03:51 - USER.0 - linenr 100000
: Because of an error, this step can't continue:
: org.pentaho.di.core.exception.KettleDatabaseException:
: Error performing rollback on connection
: Closed Connection
:
: at org.pentaho.di.core.database.Database.rollback(Database.java:741)
: at org.pentaho.di.core.database.Database.rollback(Database.java:715)
: at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:395)
: at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:128)
: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
: at java.lang.Thread.run(Thread.java:619)
: Caused by: java.sql.SQLException: Closed Connection
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
: at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1142)
: at org.pentaho.di.core.database.Database.rollback(Database.java:730)
: ... 5 more
: Unexpected error committing the database connection.
2014/11/18 14:03:57 - TKT_InsertUSER - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : Errors detected!
: org.pentaho.di.core.exception.KettleDatabaseException:
: Error comitting connection
: Closed Connection
:
: at org.pentaho.di.core.database.Database.commit(Database.java:709)
: at org.pentaho.di.core.database.Database.commit(Database.java:678)
: at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1489)
: at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:658)
: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:79)
: at java.lang.Thread.run(Thread.java:619)
: Caused by: java.sql.SQLException: Closed Connection
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
: at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:1112)
: at org.pentaho.di.core.database.Database.commit(Database.java:698)
: ... 5 more
2014/11/18 14:03:57 - Get Variables.0 - Finished processing (I=0, O=0, R=131925, W=131925, U=0, E=0)
: org.pentaho.di.core.exception.KettleDatabaseException:
: Error comitting connection
: Closed Connection
:
: at org.pentaho.di.core.database.Database.commit(Database.java:709)
: at org.pentaho.di.core.database.Database.commit(Database.java:678)
: at org.pentaho.di.core.database.Database.emptyAndCommit(Database.java:1489)
: at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:658)
: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:79)
: at java.lang.Thread.run(Thread.java:619)
: Caused by: java.sql.SQLException: Closed Connection
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
: at oracle.jdbc.driver.PhysicalConnection.commit(PhysicalConnection.java:1112)
: at org.pentaho.di.core.database.Database.commit(Database.java:698)
: ... 5 more
: Unexpected error rolling back the database connection.
2014/11/18 14:03:57 - Table input.0 - Finished reading query, closing connection.
: org.pentaho.di.core.exception.KettleDatabaseException:
: Error performing rollback on connection
: Closed Connection
:
: at org.pentaho.di.core.database.Database.rollback(Database.java:741)
: at org.pentaho.di.core.database.Database.rollback(Database.java:715)
: at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:708)
: at org.pentaho.di.trans.step.RunThread.run(RunThread.java:79)
: at java.lang.Thread.run(Thread.java:619)
: Caused by: java.sql.SQLException: Closed Connection
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
: at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
: at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1142)
: at org.pentaho.di.core.database.Database.rollback(Database.java:730)
: ... 4 more
- TKT_InsertUSER - ERROR (version 4.3.0-stable, build 16786 from 2012-04-24 14.11.32 by buildguy) : Errors detected!

Using script to insert the records (Execute SQL script step) works fine. Could anyone help in this regard?

Thanks
Subha

how mouch no of variable can be pass from JSP to transformation

$
0
0
Hi all member,

I am realy new with PDI, i currently installed PDI 4.0.1 on my machine and i stuck with one problem.
I want to pass the five variable from JSP page to transformation, But it seems that my transformation accepting only three variable.
could anybody in community guide me how to pass five variable from JSP page.

It will be highly appriciable if anybody help me

BI Server 5.2 and embedding browse perspective

$
0
0
Hello everyone, we're trying to embed puc into an external webapp, but there's some problem when it comes to show browse perspective in an iframe.

My needs closely resemble the ones I found here, and it is stated that a solution was found in vrs. 5.2. However I don't get how I'm supposed to setup the iframe in my webpage. Is there any way to find out how this issue was fixed?

http://jira.pentaho.com/browse/BISERVER-12182

Alternatively, displaying the home page would be fine too, but I'm getting cross-domain issues in that case. I've been searching for days and still haven't found a way to let my users access their folders. Can anybody help me on this? Thanks in advance for your kindness.

PCM14 Antwerpen - Hungarian Community?

$
0
0
Sziasztok!

Jó volt részt venni a közösségi találkozón, Antwerpenben!
A rendezvényen sok érdekes téma elhangzott, amivel biztosan hatékonyabban lehet dolgozni!
Remélem, sikerül egy kis életet vinni és jobban összehozni a magyar közösséget!
Ez azért is jó lenne, mert lehetne egymást segíteni speciális kérdéseken és lehetne egymástól tanulni, akár úgy mint a meetup-ok esetében!
Másrészről egy Community Meeting házigazdájaként örömmel látnám Budapestet!

Üdvözlettel:
Péter

Imports same cell from different excel file input

$
0
0
Hi!

I need to import the same cell from different excel file.
I have use RegExp to read all the excel file from a folder and if i press show file I see they. After i have import the sheet that is equal for all the file and I have set the right columns and rows of the cell, I've import header from Fields.
If I try to press the button "Preview Rows" I see only value from the cell of the first file of the list. Sameone could help me or publish a solution to my problem?

Thanks.
Viewing all 16689 articles
Browse latest View live


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