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

Passing Two Parameters From one Table to the Next in CDE

$
0
0
Hello All,

I have been browsing through and have not found any posts that explicitly answer my question. i am trying to pass two parameters from one table to the next I tried using firechange but it does not seem to work. here is my Clickaction code of the first table.
function(a,b){

Dashboards.fireChange('drilldate1',b.value);
enodeb=a.series;
}
simple stuff but not updating the table I have also tried to put my enodeb parameter in a firechange statement but that does not work either. The thing is i want to click on one row of my table and have it select the value in the first column and the value in the second column for my two parameters respectively is there any way to do this?.

Thanks all,
Cliff:cool:

Cant able to see errors Pentaho 4.4 errors in Logging Panel

$
0
0
I am using pentaho 4.4. After executing the transformation at the end i am seeing the below lines

ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!


But the error cause is not showing. In Step Metric table the 'Active' column is displaying as stopped for all the steps

Please help me out in identifying the cause of the error.

kettle-vfs20100924.jar and maven

$
0
0
Hi,
I embedded Kettle/PDI 4.4.0 in a maven application.

Here a snippet of my maven pom.xml regarding kettle:

<!-- etl dependencies -->
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-core</artifactId>
<version>${version.com.pentaho.pdi}</version>
<exclusions>
<exclusion>
<groupId>org.owasp.esapi</groupId>
<artifactId>esapi</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-db</artifactId>
<version>${version.com.pentaho.pdi}</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-engine</artifactId>
<version>${version.com.pentaho.pdi}</version>
<exclusions>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>pentaho-kettle</groupId>
<artifactId>kettle-vfs</artifactId>
<version>20100924</version>
</dependency>

If I don't include kettle-vfs20100924.jar, my application will not work at runtime when pdi is invoked.
kettle-vfs20100924.jar seems to be a customize version of org.apache.commons.vfs
and it's not present insinde pentaho's official maven repo (I must add it manually to my local repository).
I tried to use the original org.apache.commons.vfs, but it doesn't work.

Maybe it's something to highlight inside JIRA?

Bye Nic

Mondrain Performance

$
0
0
I have created Cube in Schema Workbench. I have Published it on the Pentaho BI server . i am Using Saiku Analytics Plugin (Pentaho) for presentation .As there are many records , it is Giving me error . How can i increase the performance of BI server and Mondrain .
Please suggest.


Thanks,
Hitesh

Calling SQL query from button component

$
0
0
Hi !

I would like to insert a line in DB when I click on a button component.
I created a SQL query over Jndi that does the insert with the required parameters in the Data Sources tab,
but I wonder if it's possible to call that query from the button function. :confused:

Thanks !

PS : I can also include the query directly inside the function if needed !

Error 405 - Method not allowed in POST when I execute the Dashboard

$
0
0
Hello,

When I execute the dashboard it appears in the console of the browser the error:

POST http://localhost:8080/pentaho/content/cda/doQuery? 405 (Method Not Allowed)

In the pentaho.lo file:

ERROR [pt.webdetails.cda.CdaContentGenerator] Failed to execute: [ pt.webdetails.cda.dataaccess.UnsupportedDataAcessException ] - Error initializing cpnnection class: [java.lang.reflect.InvocationTargetException ] - null .( Cause [ java.lang.NumberFormatException ] For input string: "". ...

I'm using biserver-ce-4.5.0-stable

Please help me find the problem

how to create CCC 100% Stacked Bar Chart

$
0
0
I need help, I can not mount a stacked bar graph!
What should be the order of the columns in the SQL query?
What parameters should I change?

My CDA:
cda.jpg

I tried to change these parameters, but not working:
dataCategoriesCount: 2
seriesInRows: True

Result:
CCC.jpg

expected:
expected.jpg
Attached Images

Parameter in order by for datasource

$
0
0
I am trying to pass a parameter to order by in mysql jndi query, as follows, but it didn't work. Any help is appreciated.

select w.account_id,
c.name,
-w.payment_amount/100 as payment,
w.mrc_amount/100 as mrc,
w.amount_due/100 as due,
w.mou
from warehouse as w, dim_customer as c
where substring(w.date_key,1,6)=${yearmonth}
and w.account_id=c.account_id
order by ${measure} desc limit 10;

The yearmonth parameter is work fine, but measure for order by is not working. The measure will take {payment, mdc, due, mou} as I defined as values array for select component.

Thanks a lot.

Difficulty with Modified JavaScript

$
0
0
I was writing a Modified JavaScript step that kept failing - after some troubleshooting (the code isn't that lengthy...) I was able to find the problem: the step seems to error out whenever I use "indexOf" or "indexOfValue". I tried running only the following (one, then the other) and both failed:
Code:

var restypSearchArray = ["0","1","2","3","4","5","6","7","8","9"];
var test = restypSearchArray.indexOfValue("1");

Code:

var restypSearchArray = ["0","1","2","3","4","5","6","7","8","9"];
var test = restypSearchArray.indexOf("1");

I was looking around and it seems like I should be able to use indexOf and/or indexOfValue... am I doing something wrong with this? :-/

Step to check if a file is repeating

$
0
0
Hi,
Is there any step which takes a list of csv files as input one after another and checks the files are not repeating?
Thanks,
Poulomi

how to use csv file in CDE?

$
0
0
hi all,
how to use csv file as Data Source in the CDE?

Bypassing dashboard User Login Password

$
0
0
Hi All,

I want my users to see the dashboard without loggin into USer console.
When they click on the dashboard link, it should open the dashoard directly without asking for any login password.

Is there any way to do it? PLease let me know.

Regrads,
Sneha

Big Data Tips

$
0
0
Tips for using Big Data

1. Using analytics to identify valuable business opportunities to drive better decisions.
2. Understanding the customer decision journey.
3.
Embracing speed and simplicity



Hadoop/BigData

$
0
0
Hadoop/BigData, which will be having crucial demand in IT market?

PUC restart problem

$
0
0
Hey everyone,

I know that this issue popped up in the past but i couldn't find the solution though i tried what users suggested.
I'm running Pentaho's community version on ubuntu 12.04 64bit, when i start the BI console everything is fine, when i stop and start it again i get the following error on the website:

type Status report
message
description The requested resource () is not available.

Apache Tomcat/6.0.29

The Pentaho logs gives this error:
2013-08-02 10:32:53,655 ERROR [org.hibernate.util.JDBCExceptionReporter] socket creation error
2013-08-02 10:32:53,945 ERROR [org.hibernate.util.JDBCExceptionReporter] socket creation error
2013-08-02 10:32:53,946 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] could not get database metadata

And the catalina log:
SEVERE: Error listenerStart
Aug 2, 2013 10:32:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/pentaho] startup failed due to previous errors

What exactly should i change in the connection properties?
What did i miss while setting up the enviroment?

If i restart ubuntu everything works fine again, i know this topic popped up few times but after trying all suggested solutions i don;'t know what to do anymore :\


Thanks for helpers,
y

Reading XML file thru a URL from a different machine

$
0
0
Hi All,

I want to read an XML file through a URL from a different machine and use it as a source to load data into database table.
While extracting that XML file, I would need to specify username password for that machine.
Is there any way i can extract or copy the XML file from a different machine ex ftp or something else?

--Sneha

Running number in double grouping [PRD 3.6.1-GA. 11923]

$
0
0
Hi all,

I want ask about how to make running number correctly in PRD 3.6.1-GA. 11923.
I want make a report with double grouping (group in group) and the running number can correctly run as I want.

Here is 2 example report which I write on .txt :)
There is report "my report now" which my report generated like that and I all want is in "wanted report"

I use group count running for the "No" and then I make two group footer for Continent and Country.
At group count running function, I set group name to count = the first group and the result is "my report now".

Is there possible way to change my report now to wanted report?




Thanks
Attached Files

TableComponent documentation

$
0
0
Hi, where I can find documentation about properties of the table component?

I'd like to modify some aspect of the component, like the entries shown and the button...


Thanks

Error while running transformation in Carte Slave server.

$
0
0
Hi,
I have done sample job that contains transformation. While executing in slave server carte, i am getting the following error.

2013/08/02 14:10:06 - start - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error during transformation metadata load
2013/08/02 14:10:06 - start - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2013/08/02 14:10:06 - start - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unable to read file [file:///E:/tr_load_config.ktr]
2013/08/02 14:10:06 - start - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Could not read from "file:///E:/tr_load_config.ktr" because it is a not a file.

Any advice, please.

The below url suggests few tips but didn't understand they way to fix itm

http://wiki.pentaho.com/display/EAI/...cution+of+jobs

Reprot cannot be parsed

$
0
0
Hi,
I'm using pentaho reporting libraries to print reports in my java based web application. Unfortunately displaying one of reports generates following problems:
Code:

Message: org.pentaho.reporting.libraries.resourceloader.ResourceCreationException: Unable to parse the document: ResourceKey{schema=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader, identifier=content.xml, factoryParameters={org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey{name=repository}=org.pentaho.reporting.libraries.repository.zipreader.ZipReadRepository@5375f9f5, org.pentaho.reporting.libraries.resourceloader.FactoryParameterKey{name=repository-loader}=org.pentaho.reporting.libraries.docbundle.bundleloader.ZipResourceBundleLoader@db649ab}, parent=ResourceKey{schema=org.pentaho.reporting.libraries.resourceloader.loader.URLResourceLoader, identifier=file:reports/report3.prpt, factoryParameters={}, parent=null}}
org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlResourceFactory.create(AbstractXmlResourceFactory.java:249)   
org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.create(DefaultResourceManagerBackend.java:272)   
org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:411)   
org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:370)
org.pentaho.reporting.libraries.resourceloader.ResourceManager.createDirectly(ResourceManager.java:207)

There is no problem to run this report in Report Designer.
I'm using:
Pentaho Report Designer - v. 3.9.1-GA.16112
pentaho-reporting-engine - v. 3.9-SNAPSHOT
pentaho-library - v. 1.2-SNAPSHOT

Any hint how to solve it?
Viewing all 16689 articles
Browse latest View live


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