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

Parameter dinamically fill in report

$
0
0
Hello,
I was thinking about the possibility to "auto-fill" a parameter in a report. I try to explain better my idea, i have a report with a list of persons and I created another report that accept a parameter "Autore" to works with his query. I would like to link the second report by clicking a person in the first report.

Report 1:
- Person A
- Person B

and when on click "Person B" i would like to open the Report 2 with parameter Autore = Person B
Is this possible?

Has anyone seen Kettle transforms SQL Server's datetime2 into strings?

$
0
0
Hello all,
I was wondering if anyone had encountered an issue with using the type datetime2 in SQL Server? Or knew anything about it?

When my ETL process tries and read a field in my db that's datetime2, it ends up in the stream as String(27). I was trying to compare it to a random date, and I got errors saying: Unable to compare with value [Date]. java.lang.String cannot be cast to java.util.Date

So, it seems like I'm stuck with a string as a date. Does anyone know of a workaround or something similar? I used to be on version 4.4.0, so I figured the new version of Pentaho might have this fixed, so right now I'm using the latest community version, and still encounter the same error.

Thanks

How to enable verbose LDAP logging in biserver v5? ... wiki has outdated info

$
0
0
Hi,

So I had a look on the Wiki as well as the Infocenter on how to enable LDAP logging and it seems like both have outdated info:

http://wiki.pentaho.com/display/Serv...curity+Logging
http://wiki.pentaho.com/display/Serv...e+LDAP+Logging

applicationContext-spring-security-ldap.xml doesn't have a daoAuthenticationProvider bean ... and it even says it in the file comments why not.

So most of the Wiki info does not apply any more.

Does anybody know how to properly set up the basic security and verbose LDAP logging for biserver v5?

Install Pentaho BI 5.2 CE on existing tomcat

$
0
0
Hi,

Is it possible to install the community BI server (Pentaho 5.2 CE) on an existing Tomcat installation? If so, kindly direct me to an installation guide for such an install. I looked through all the available guides but could not find anything.


Thanks for your assistance!
Paul

union not working

$
0
0
I upgraded from report designer 3.8.0 to 5.0.0.1 and a report that used to work fine with two unions is not working.
There are three select statements that each run fine on their own but when I use union or union all I get an error =

Query Validation ErrorNo join condition found for the following table(s)

I have tried moving the selects around but the order doesn't matter it stops at the first union statement each time.
Is there a setting or a switch or something that has to be used to allow a union in a query?

I am using a JNDI connection, generic database, but I have also tried Oracle, Oracle RDB and PostgresSQL.
I am not posting the actual select statements because it worked fine in the prior version so I don't think it is a fat finger on the keyboard causing the problem.
I tried searching before asking but didn't get any hits.
Seems pretty straight forward functionality that should work out of the box but so far no luck.
Any help would be greatly appreciated.
TIA

Large gray space in report designer error box

$
0
0
When the report designer, both 3.8.0 and 5.0.0.1, encounters an error and you click the >> button to view details on the error there is a large amount of gray area before the text of the details is viewable.
Is there any way to change this so that the error box doesn't waste half the screen?
I am new to Pentaho Report Designer but I have seen this happen on two of my colleagues screens too so I don't think it is unique to my workstation.

Stacked bar chart with multiple similar queries to the table

$
0
0
Hello,

I'm trying to resolve the following problem: create a stacked bar chart with user-defined series. I'm a rookie in PRD so maybe I've worded the problem wrong.

I have the single fact table: SMTH_VAL_ID (pk), value_date, SMTH_ID (fk), SMTH_value. And the following table: SMTH_ID, SMTH_name

So, I've tried to make the standard stacked bar chart with a single parametr: multi value list. In chart properties: value-columns - "SMTH_value", series-by-field - "SMTH_name". But chart is generated incorretly: series is always sorted by name. F.ex. if I have SMTH60, SMTH90 and SMTH120, SMTH120 will be first.

So I need to created report with 3 parameters (single value list). And values in stacked chart must be in the same order as the selected parameters.

Pls, help me, maybe it's a very simple question in fact. I would like to know what to put in value-columns, series-by-field, series-by-value etc.

Deploy Kettle transformation from application interface

$
0
0
Hello,

Is it possible to execute Kettle transformation from a stand alone application? For example I have an interface where I can select the required parameters for the ETL and I have a RUN button ( to run the ETL). Can Kettle be integrated with PHP for example and run it from server side? Or simpler than this?
Any advice or starting infromation would be very helpfull since I am new to using Pentaho Kettle.

Thank you,
Claudiu

Performance Measure If Logging Is Enabled

$
0
0
Hi,

I wanted to know If I will enable the logging and run the job it will impact on overall performance ?

Is there any way I can measure job performance other then feed the sample data and run the job .
Is it depends on what I am doing in job ?


PDI 4.2
Java 1.7
OS Windows7

MongoDB Input variables

$
0
0
Hi, Everyone.


I made a transformation using MongoDB Input. The query is like below


{ $match : { "time" : { $gte : { $date : "${START_DT}"},$lte : { $date : "${END_DT}"}}}}


START_DT and END_DT are variables which edited by prebious JavaScript Step.


In JavaScrit, I wrote


var START_DT = dateFrom + "T" + dateFrom_HOUR + ":00:00Z";
var END_DT = dateTo + "T" + dateTo_HOUR + ":00:00Z";


(dataFrom,etc are got from arguments)


The query gets no results. It seems MongoDB Input accepts no value from the previous step.


How do I do?

spoon.jpg
Attached Images

Logging the ReportingOutput step

$
0
0
Hi,

is there any possibility to have a more detailed log of what the reporting engine is doing when started via the PDI Reporting Output step ?
We are trying to update from PDI 4.3 to 5.2 and getting log entries lke the following when running on a SuSE linux/Java6 box :

Code:

child index = 1, logging object : org.pentaho.di.core.logging.LoggingObject@2161fcdd parent=f5aa9d21-986c-4a35-85df-c3f347b3bd6e
2014/11/06 17:05:49 - Pentaho Reporting Output.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)

Reprots are not generated. When running the same constellation on a windows client everything is fine.
To analyze this we would like to enable a more detailed logging - but how ?

Thanks a lot,
Peter

Installing Pentaho on a Virtual Server

$
0
0
I was just wondering whether it is possible to install Pentaho on a virtual server. I have a Clous VPS with a virtual Ubuntu 12.10 installation on it. I have tried the following, to now avail:

1) Downloaded the pentaho...bin installation script.

2) Made a user (pentaho) on the virtual server.

3) Mounted a folder on my local client to the virtual server using sshfs and the pentaho user.

4) Started the installation script from the local client.

5) The installation script goes really slow. After 3 hours or so, when the installation has reached about 16%, I get the following message:

Quote:

There has been an error:
Error running /home/.../Pentaho/postgresql/bin/psql -c "Alter USER postgres PASSWORD "****":psql.bin: could not connect to server: Connection refused.
Is the server running on host "127.0.0.1" and accepting TCP/IP connections on port 5432?
The application will exit now.
Note:

The connection to the virtual server is still alive (have set ssh to keep it alive every 5 sec).

The network setup on the virtual server is set to accept all incoming connections.

Any help greatly appreciated.

How to disable mondrian automatic sub-totals

$
0
0
Hi,

Is there any way to exclude parent's total from Mondrian's cellset? For example when querying over a Year/Month hierarchy, I will always have a "total per year" line.

I'm using Mondrian 3.6.
Thank you for your help!

http://stackoverflow.com/q/26776314/4213485

Pierre

Too much number crunching error when running analyzer

$
0
0
Hi all.

I am facing this erros when I start playing with Analyzer:

Code:

Oops. There is too much number crunching required to run your report. If you are using an "Excludes" or "Doesn't Contain" filter, try removing or flipping them to "Include" or "Contains" filter. You can also try turning off subtotals and grand totals.
I have a cube created in Mondrian I'd like to build some report tables using it. Is there any other way to build up this report, perhaps using Report Designer or Interactive Report, without having to manually build queries and use this already built cube?

Thanks in advance for the answers!

Problems with unicode characters during Postgresql Bulk Upload

$
0
0
I have the following CSV file saved to my disk with UTF-8 encoding.


Customer Name,City,Country,Contact Name
My Name,My City,USA,Ńew Name


I use the CSV text input in Pentaho to import it in. I then use the Postgresql Bulk upload to take the rows and inset them into a table.


The problem is that the rows do get inserted, but the data is corrupt. The unicode character 'Ń' shows up as '?' in the DB.


If I manually insert the row using the psql command line, it appears to work correctly.


I have checked the OS level encoding on the client as well as the server and its set to UTF-8.


$ echo $LANG
en_US.UTF-8


I also checked postgres to make sure my DB/schema use UTF-8.


How can this be fixed on the Pentaho side as it appears that Pentaho is giving out corrupt data to the psql CLI utility during the bulk upload step.

Kettle Logging Variables

$
0
0
Hello, I enabled logging for the transformation I built and was able to log the transformation run results to the database. I noticed that for each run Kettle generates a Batch_ID. I have a requirement to populate a batch id for the rows the transformation is updating/inserting in the target table. I would like to use the Batch ID that Kettle is generating for this purpose. Is there a variable that Kettle exposes for Batch ID that I can use in the table output step? Thanks.

refresh / update more than one panel with in same Dashboard

$
0
0
Hi Folks,

How to refresh / update more than one panel in CDE. In brief, Upon clicking on bar of one chart, more than one panels / charts to be update with in the same dashboard.

Below is the code which i tried to achieve it but i was not success with it. Can any one help me to overcome this situation.

Code:

Dashboards.setParameter('parameter_name', this.scene.atoms.category.value);
Dashboards.updates(render_htmlobject1);
Dashboards.updates(render_htmlobject2);
    AND
Dashboards.updates(render_htmlobject1,render_htmlobject1);

refresh / update more than one panel with in same Dashboard

$
0
0
Hi Folks,

How to refresh / update more than one panel in CDE. In brief, Upon clicking on bar of one chart, more than one panels / charts to be update with in the same dashboard.

Below is the code which i tried to achieve it but i was not success with it. Can any one help me to overcome this situation.

Code:

Dashboards.setParameter('parameter_name', this.scene.atoms.category.value);
Dashboards.updates(render_htmlobject1);
Dashboards.updates(render_htmlobject2);
            AND
Dashboards.updates(render_htmlobject1,render_htmlobject1);

The Ultimate Guide to Configuring LDAP Security for Pentaho BI Server CE v5

Pentaho 5.2 Server Logs

$
0
0
How to disable startup scripts when i am starting pentaho BI server. For example "UpdateAuditData.xaction". These things are not neccessary to me to start the biserver. How can i disable it from which file i can edit so that startup etls or xactions should not run.


Tomcat log (catalina.log)
===========================
Code:

Nov 09, 2014 3:31:19 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Pentaho\java\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;.
Nov 09, 2014 3:31:20 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 09, 2014 3:31:20 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1315 ms
Nov 09, 2014 3:31:20 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 09, 2014 3:31:20 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.41
Nov 09, 2014 3:31:20 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor pentaho.xml
Nov 09, 2014 3:32:12 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory pentaho-style
Nov 09, 2014 3:32:13 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT

And one more issue i am facing at UI level

I have opened bi server in chrome it is not able to open the license page but i cant see the license files from the tab other tan cross mark. Attached picture shows you clear understanding.

Please say me how to resolve these issues.
Attached Images
Attached Files
Viewing all 16689 articles
Browse latest View live