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

regarding passing parameter from Penel_1 to Panel_2

$
0
0
Hi All,

i am new to dashboards & i have created one dashboard which has two panels (Penel_1 & Panel_2), i am trying to pass parameter from Penel_1 to Panel_2, by clicking slice in pie chart from panel_1...

following is code i have written which looks good but its not working because dashboard is refreshing on click but parameter is not getting passed to panel_2 .

Code:

function q(scene){    var vars = scene.vars;
    var c = vars.category.value;
    Dashboards.setParameter('param_custom_state', c.substring(7, c.length));
    Dashboards.fireChange('param_custom_state',  c.substring(7, c.length));
}

Requesting you to pls. help me on this...

Regards,
Mateen

Error while creating a new dashboard

$
0
0
Sorry. We really did try.

Something went wrong. Please try again

or contact your administrator.



this is what i got when i am creating a new CDE dashboard. CDF,CDE,CDA current version 14.10(Stable).

Creation of JCR and connecting with LDAP is working correctly. Any one have any idea.

I have seen some of the forums and blogs but did not get correct answer of it. everyone says update C-tools and never replied back e.g.
http://forums.pentaho.com/showthread...-CDE-Dashboard

Please help me to get this issue fixed.

Selenium

$
0
0
How to integrate selenium scripts in Pentaho ETL ?

PDF Format Last Row Not Displaying Content

$
0
0
I am having this problem at the office and at home.

I have a simple report in Pentaho 5.0 that when I select PDF as the output format, the last row of the report does not display the field contents. rr.

Embed the pdf final result in a webpage + getting parameters from the url

$
0
0
Hi
I'll try to explain the best I can my inquiry.
I have created prpt files (with pentaho report designer) and I'd like to insert the pdf result on a website.

For example, I have a report that gives information on a user's activities, in a daily bases
Right now, I generate the pdf choosing, via 'select list', the user and the date.

On the webpage, I'll know who's the user and of course the date.
How can I pass those 2 parameters and generate the pdf directly (it can be inserted in a iframe, if needed) ?

On other pages, I would also like to grab some parameters from the url to generate without any further action the pdf.

Thanks for any help

F.

Date conversion error between SQL Server and Postgres

$
0
0
I have a simple transformation that is just copying data in a single table from an MSSQL server to a Postgres server. I'm getting the following error when running the transformation:

Code:

2014/12/08 13:45:07 - write to [requests].0 - Batch entry 0 INSERT INTO requests (id, "key", created_at, updated_at, folder_id, pdf, coverage_id, account_id, plan_id, effective_on, effective_through, deleted_at, active_review_id, starred, star_note, starrer_id, starred_at, from_central) VALUES ( '61',  'XXXXXX',  '2013-07-19 16:00:12.840000 -04:00:00',  '2013-08-23 14:21:43.987000 -04:00:00',  '6',  'request.pdf',  '2',  '1',  '1',  NULL,  NULL,  NULL,  '25',  '0',  NULL,  NULL,  NULL,  '0') was aborted.  Call getNextException to see the cause.
2014/12/08 13:45:07 - write to [requests].0 - ERROR: column "effective_on" is of type date but expression is of type character varying
2014/12/08 13:45:07 - write to [requests].0 -  Hint: You will need to rewrite or cast the expression.

The column is defined as a DATE type on both the MSSQL and Postgres servers, so I'm not sure why there would be a problem.

I've tried explicitly casting the column to a date in the select statement within my table input, that had no effect. Then I tried casting it as a datetime, but got an out of range error. I also tried using a select values step to convert it to date, but that gave me a different error saying "effective_on String(10) : couldn't convert string [2013-08-27] to a date using format [yyyy/MM/dd HH:mm:ss.SSS]". That looks promising if I can determine how to change the format, but it seems like that might be the wrong way to fix this.

Any ideas?

I'm using PDI 5.0.1, Postgres 9.3, SQL Server 2008 R2.


Thanks,
Bruce

Fuzzy Match - more copies = fewer matches

$
0
0
I have a 200k record data set containing contact names. I am trying to match the names to a look-up data set of 400k existing names. I am using the Fuzzy Match step with a Jaro-Winkler algorithm (I don't think the algorithm matters, the same behavior would occur for any). The performance of the Fuzzy Match step is atrocious (after 19 hours, only 30k records were compared). I decided to increase the number of copies to determine if I could improve the processing time. What I found was that increasing the number of copies decreases the number of matches. It appears to me that each copy takes a chunk of the input data set and a chunk of the look-up data set, rather than a chunk of the input data set and the ENTIRE look-up data set. Therefore, the more chunks means the fewer matches. Am I doing something wrong? It seems that this would be an unusable step, unless I'm not doing it right. I'll try to attach a spreadsheet with actual numbers and a sample transform with the data abstracted.

Thanks in advance for any advice.

expand data table with issue

$
0
0
Hi Guys,

I developed a dashboard as below, it has two select filters and the 2 selects would impact the data table, when user click the table row ,appear a line chart, as pic(Screenshot.png). it displays normal.

but when changed select filter, the expand chart disappear. as pic(Screenshot-1.png)

version: pentaho 5.2
Attached Images

Deploy the pentaho ktr to java OSGI system

$
0
0
How to Deploy the pentaho ktr as an OSGI component to servicemix?

Has anyone already made Kettle bundles for this ?

Pentaho CE 5.0.1 + CAS + Postgres

$
0
0
Hi All!!
I've spent the last three days trying to figure out how to enable CAS authentication in Pentaho 5.0.1 CE .
Guides are pretty clear, but the problem is that I don't have a reference for the file applicationContext-spring-security-cas.xml; those which I find in the internet don't work for my version so that I'm lost in tons of stacktrace errors (unresolved bean references, bean declaration errors, missing classes etc etc.).
There's also a nice thread in this forum which would suite my needs, too bad that attachments cannot be downloaded.

What I'm trying to accomplish is a SSO using Jasig CAS 3.5 + PostgreSQL using the client versions indicated in official manuals; the CAS server is up and running and authenticating users in a custom DB.

Is there a place to find a basic version of applicationContext-spring-security-cas.xml for Pentaho 5.0.1 ready to be modified?
Changing CAS server version would not be a problem.

Thank you in advance!

Path on Execute Prpt Component as Parameters

$
0
0
Hi Guys :)

I have a "Prpt execute Component" and I would like to use it dinamically, it should load a different report when I click on. I select a value, the value is the path of a prpt, from a "Select Component" and save it to a Parameters(PATH), it's possibile put the parameters in the path field in a Prpt execute Component?
I tryed but doesn't load a report, the error in the log server is "ERROR [RepositoryResource] Repository file [:${PATH}] not found", it read the name of parameters but not the value.

It's possibile put a parameters in the path field? Someone could help me?

Thanks and sorry for my English!

Reusing Transformation To Sort input streams automaticly

$
0
0
Hello,

I am new in this forum, but been using pdi for years.
I do a lot of merge joins in every transformation, and because input stream must be sorted on the keys, I always need to use 3 steps to do the join. One to sort first input strem, another to sort second stream and the join step.

I would like to set up a transformation to do this and re-use it, but because the number of fields to join in not always the same I am not able to find the way.
I want to end up with a step, that not only join the stream but sort the input streams first. That way it'll be easier and faster and less error prone for me.

Anyone could guide me??

Thanks very much and sorry for my english

Parameters in Path Field

$
0
0
Hi Guys!

Is possibile to insert a parameter in the field "Path"?
I've read a path from a selector, save the value in a parameters and then I would use the value of the parameters in a path.

Someone can help me? Thanks

Postgres column interval

$
0
0
I'm trying to write to the Postgres in a column of type "interval", example:

123h, 21m, 30s

input: 123:21:30, column type "interval"

output: 123:21:30, column type "interval"

But the kettle read as input as text, and none of the formats "Meta-data" support "interval", any tips to solve?

Thanks in advance!

Carte server behind a Load Balancer

$
0
0
I am using Pentaho DI 5.1

I am trying to add a few Carte slave servers behind a Load Balancer. Is it possible to serve a static HTML page from Jetty (Trying to use this page as a keep alive). I am expecting a huge flow of web requests.

This questions is concerned more with Jetty but just wondering if anyone experimented in this field.

I tied modifying the code in WebServer.java by changing

resourceHandler.setResourceBase( "temp"

); to

resourceHandler.setResourceBase( "." ); and then placing the html file in the launch directory of carte but carte gave a 404 when I tried the url http://localhost/mypge.html

Any suggestions ? I do not want to create a new servlet as it can not be taken out with out a jar change and adding a new mapping to serve this purpose will be very resource intensive.




Stream lookup issues

$
0
0
Hi,
I want to improve the stream look performance, could you give me some tips?
1. what the data cache mechanism of the stream look step?
2. Scenario:
a.File a have 3 columns a1,a2,a3
b.File b have 10 columns b1,b2,b3..b10
c.a stream lookup b to get b.b9 on a.a3=b.b3
if i add a Select value step betwwen b and stream lookup just select the b.b3,b.b9, Is this way can improve the stream lookup performance?

How to Use google analytics in pentaho cde

$
0
0
Need suggestion regarding using google analytics in pentaho CDE.

Decide first dashboard in Sparkl plug-in

$
0
0
Hi!

I've created a plug-in in Sparkl, I've inserted 2 dashboard (A and B) and a kettle endpoints. If I open the plug-in in "Tools ->namePlug-in" it starts with the dashboard A as "Homepage", there is the possibility to open the plug-in and show the dashboard B without remove the dashboard A?


Thanks in advance!

Date before CSV file name

$
0
0
Hi all.
I created a Kettle transformation. There is a Table Input (which queries a database) and a Text File Output. In Text File Output, I checked the check box to add the date in the file name, but the date is added in append (myName_20141210.csv).
There is a way to insert the date before the name of the file (20141210_myName.csv)?
Thank you,

Andrea

Prompt

$
0
0
How to implement prompt box using Pentaho data integration.

Similary like http://www.w3schools.com/jsref/met_win_prompt.asp

Is this possible to implement in PDI. If yes how to integrate it using PDI.

I am trying for the below scenario

I want to enter one value in the prompt box and cut that value from value123 then i have to store it in one variable. This is what i am looking using pdi.

For example if i enter value in the prompt box http://localhost?value123=xyz123456 then the result has to be xyz123456.
Viewing all 16689 articles
Browse latest View live


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