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

Want the Report Name and version for logging purposes

$
0
0
Hi,
How can I get the filename and version of a report being run. I want to pass this information into a stored procedure for logging, and want to do this within the report itself.

No hardcoding of values :-).

java.lang.nullpointerexception

$
0
0
Hello,

I have the weirdest thing. I wrote a transformation and when I preview every step until the end everything seems to work fine... when i try to run the transformation (hitting the green play-button) I get errors (my add sequence and my group by stages turn red)...
you can find the stack in the attached file.



searched a bit already (2 hours) but couldn't find anything, i'm running:
Kettle - Spoon General Availability Release - 5.0.1-stable
Build date: 2013-11-15_16-08-58

I will appreciate any help very much. I hope this isn't some nooby question, i'm pretty new to PDI but am very pleased with it (except for now)...

thanx in advance,
greetings,
tibo
Attached Files

New Pentaho CE 5.0 BI Server Install - Can't Start Server

Read connection setting from a text file

$
0
0
Hi,
I am developing a transformation (on pentaho 4.4.0) which basically reads data from one oracle DB (11g), makes some transformation and loads data into another Oracle DB. Now for DB table input/output when I need to select a connection I have to select it from a drop down menu in 'Edit Step'. When I edit the connection, it asks me settings, like Host name, database name, port number, user name, password.

What I want is, to create a text file called 'Pentaho_connection_properties' in some directory on my machine where I will save all these info and as soon as I choose a connection name from the connection drop down menu, Pentaho should automatically read the file and populate the settings corresponding to that connection name. The purpose is to get rid of this manual process to entering settings again and again for multiple use of same DB.

Please let me know how this can be done. I will appreciate if you can be little explicit since I am new to Pentaho.

Thanks

Weka Explorer Smote can't be applied

$
0
0
Hello, I am using Weka Explorer to do a SMOTE oversampling of my training data. The file format is libsvm compatible. It's loaded. Everything looks fine. But when I select filter->supervised learning->SMOTE, and choose the default settings. Then I should press "apply" to start sampling, but the problem is that the "apply" button is gray, disabled. I can't do it.


What might cause this? Really thanks for any information.

Flow of Job

$
0
0
Hello,

Job Image.doc

Can anybody explain the flow of job, see the attached document.
Is it parallel run/Sequential run..??

If Transformation 1 is success then it will go success and Transformation 4 and 5 are running.
After that Transformation 2 completed, where it will go ?? Again it will go for transformation 4 or 5 ??
Kindly Explain the flow of Job step by step

Best Regards,
Satya.
Attached Files

Show Data On Pie Chart

$
0
0
Hi,

I am getting below data using sql query and try to show data on pie charts.
Service_matched Service_not_matched
16 23

Need Suggestions to show data on Pie charts in percentage. i.e 60% area by service matched and 40% by service_not_matched

Cassandra output is overwriting data

$
0
0
Hi

I am a newbie to Pentaho

I have 2 excel files that I want to save in my Cassandra data base

Excel File 1:
Key T1 T2 T3
1 1a 2b 3c
2 1d 2e 3f
3 1g 2h 2i

Excel File 2:
Key T1 T2 T3
4 11a 22b 33c
5 11d 22e 33f
6 11g 21h 21i


Did a simple transformation from Excel input -> Cassandra Output

But if I run the same transformation using different files as input then whole data is getting overridden that was previously in Cassandra .

Have attached Screen shots for Cassandra output Options

Parsing string in XML output

$
0
0
Hi,
i had select some data from HTML with JSoup, and now i have in output 4 strings: title, authors, date, source... these strings are formed like:

Code:

title=  title1 + "\r\n" + title2 + "\r\n" + ...... + titlen + "\r\n"
authors= authors1 + "\r\n" + authors2 + "\r\n" + .......... + authorsn + "\r\n"

And date and source are similars formed to title and authors... Now if i try to write them with XML output i get something like

Code:

<title> title1
 title2
  ...
 titleN
</title>
<authors> authors1
 authors2
  ...
 authorsN
</authors>

if i split strings with steps "Split field to rows" (one for title, one for authors, etc), kettle gaves me something like

Code:

<title>title1</title><authors>authors1</authors>.......
<title>title1</title><authors>authors2</authors>.......
<title>title1</title><authors>authors3</authors>.......

What should i do to get a single book with title1, authors1, date1, source1; title2, authors2, date2, source2; etc
I tried to watch all the functions but i can't find something that gives me the possibility to combine data in that form into a XML.... If i use "split fields to rows" 4 times (one for string) i get something like 160k rows O.O

Not Able to Transpose Data

$
0
0
Hi

I am a newbie to Pentaho

Want to transpose a excel data

Input Data

A1 B1 B2 B3 -> Header Row
a1 b1 b2 b3
a2 c1 c2 c3


to output data

A1 a1 a2 -> Header Row
B1 b1 c1
B2 b2 c2
B3 b3 c3

I am not able to find how to approach this problem

The problem is compounded as no of rows and columns are not fixed.

How to pass complex parameters to procedure in CDE Framework

$
0
0
Hi,

Can someone please let me know how to pass complex parameters (having dynamic values) to procedure..

we tried passing using ${XYZ} format, where XYZ is the parameter name, but its not working....

About setting Database Connection variables dynamically from the Stream data

$
0
0
Hello There,

I need to fetch data from 70 different identical databases. These databases are located in 70 different hosts and has a different password.

I am trying the following:



  1. Save the DB Connection Credentials to a Database table
  2. Read this iteratively
  3. Use 'Copy rows to result' and 'Get rows from result' to set DB Connection variables


Is this a method possible?? If not is there an alternative to iteratively pass the DB Connection Parameters into DB Connection variables.

Concurrent similar queries - Different result

$
0
0
Hello,

I'm using Mondrian 3.5.0. I struggle with an aleatory bug, that I reproduce often, but never for sure.
I run 2 similar queries in parallel (switching the members on row and columns), and sometimes get 2 different results.

Query 1
with member [Version].[Filter-mainversion] as Aggregate({[Version].[mainversion]})
select NON EMPTY{ CrossJoin ({[Time].[2013].[Apr]:[Time].[2014].[Apr]}, {([Measures].[SumOverTime])})} on columns ,
NON EMPTY{{[CrewPopulation].[CREW].[AAA],[CrewPopulation].[CREW].[BBB]}} on rows
from MonthlyValues where ([Version].[Filter-mainversion])

Query 2 (switch axes)
with member [Version].[Filter-mainversion] as Aggregate({[RosterVersion].[mainversion]})
select NON EMPTY{ CrossJoin ({[CrewPopulation].[CREW].[AAA],[CrewPopulation].[CREW].[BBB]}, {([Measures].[SumOverTime])})} on columns ,
NON EMPTY{{[Time].[2013].[Apr]:[Time].[2014].[Apr]}} on rows
from MonthlyValues
where ([Version].[Filter-mainversion])


The first cell in both cases is [Measures].[SumOverTime] for [CrewPopulation].[CREW].[AAA] and [Time].[2013].[Apr]. The results are expected to be the same.
But when I run the both queries in parallel, *sometimes*, the results are different

Res1 (the good one)
<CellData>
<Cell CellOrdinal="0">
<Value xsi:type="xsd:double">1039.9429922473144</Value>
<FmtValue>1039,9</FmtValue>
<FormatString>####0.0</FormatString>
</Cell>

Res2
<CellData>
<Cell CellOrdinal="0">
<Value xsi:type="xsd:double">639.754209686855</Value>
<FmtValue>639,8</FmtValue>
<FormatString>####0.0</FormatString>
</Cell>

But if I immediately run again the both queries in parallel, Res2 becomes correct.
And then it becomes really hard to reproduce it on the same cells (change browser, clear the mondian cache...)

Every time I reproduce the bug, it happens on the 1st column of the 1st query's result (in this example, on Apr 2013).

I'm suspecting an internal cache issue.
Does anyone has any idea about this ?
Is there a mondrian.properties I should try ?

OR function not supporting Multi select in MQL

$
0
0
Hi all,

i have done a report using metadata, in this report i need to compare two values, for that i am using OR function, but the problem is one of the value is multiselect type.

<condition>OR(IN([Fee_Detail_and_Summary.BC_ORGANIZATION_D_NAME];[param:Organization Name]);[param:Organization Name]="ALL")</condition>

the above syntax working for single select, not working for multi select. it throws the error operand should contains one column.......


please any body know about this issue, its very urgent...........

HTTP Client - support HTTPS?

$
0
0
Anyway to get HTTP Client to support HTTPS/SSL?

Thanks in advance!!

KP

Auto Increment number based on column

$
0
0
Hi,
I want to Generate Auto Increment number based on column. Following is a sample input data.
STUDENT_ID CLASS DATE
123 MATH 04/18/2014
123 SCI 04/17/2014
123 CHEM 04/16/2014
456 MATH 04/18/2014
456 GEO 04/15/2014

Desired Output.



STUDENT_ID CLASS DATE ROW_ID
123 MATH 04/18/2014 1
123 SCI 04/17/2014 2
123 CHEM 04/16/2014 3
456 MATH 04/18/2014 1
456 GEO 04/15/2014 2

My Transformation does to work with any database so I can not use ROW_NUMBER etc.
How can I achieve this?

create measure off dimension table

$
0
0
Hi

I have a dim_users table with their properties e.g.
user_id|username|user_type
1|joe|individual
2|jane|business
3|katy|individual

The dim_users table connect to the fact table e.g.
date|sales_amount|user_id
1/1/2014|100|1
1/1/2014|50|2
1/1/2014|30|1
2/1/2014|40|1

Now I want create a measure (maybe with measure expression) to find out how many users of type 'individual' bought something for a particular date. In the above example I am expecting,
Date -- user_type -- count(distinct user_id)
1/1/2014 -- Individual -- 2
1/1/2014 -- Business -- 1
2/1/2014 -- Individual -- 1

Now in my measure expression I doing the following:
<Measure name="Individual Count" datatype="Integer" aggregator="sum" visible="true">
<MeasureExpression>
<SQL dialect="generic">
<![CDATA[dim_users.user_type = 'Individual']]>
</SQL>
</MeasureExpression>
</Measure>

Is this the right way to design the measure?

Pentaho Installation on Amazon EC2

$
0
0
Dear All Pentaho experts,
My objective is to install Pentaho BI platform onto Amazon EC2 instance. So far, I have followed the instructions given by this site:

http://interestingittips.wordpress.com/pentaho/

Then, I ran the following command : sudo ./start-pentaho.sh

OUTPUT:
Code:

/home/pentaho/biserver-ce
/home/pentaho/biserver-ce
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64
DEBUG: _PENTAHO_JAVA=/usr/lib/jvm/java-6-openjdk-amd64/bin/java
Using CATALINA_BASE:  /home/pentaho/biserver-ce/tomcat
Using CATALINA_HOME:  /home/pentaho/biserver-ce/tomcat
Using CATALINA_TMPDIR: /home/pentaho/biserver-ce/tomcat/temp
Using JRE_HOME:        /usr/lib/jvm/java-6-openjdk-amd64
Using CLASSPATH:      /home/pentaho/biserver-ce/tomcat/bin/bootstrap.jar

Everything seems okay but I can't access the pentaho BI via Web Browser using URL: [host]:8080/pentaho.

For this reason, I checked the tomcat error logs (catalina.out) in /biserver-ce/tomcat/logs folder and found the error to be:

Code:

Error occurred during initialization of VM
Could not reserve enough space for object heap



I have two questions:
(1) Is it possible to install Pentaho on Amazon EC2
(2) If yes, can I have instructions on how to do so?

I really need this help. Thank you guys.
Thanks all,

First experience - CSV file loading

$
0
0
Hi all,
New to WEKA, but quite familiar with Kettle/PDI.

I really appreciate the small stand-alone WEKA download, so I wanted to say that off the bat. Reading a little bit about the new package manager, that will definately help usability/new user experiences.

However, after seeing the quality of the CSV loading plugin from Kettle/PDI, it set the bar pretty high for me to suddenly feel sad about the CSV loader with WEKA. Would it be reasonable to ask some cross-pollination to improve the CSV loader (particularly to provide more explanations when 'Reason: 6' or 'Reason: 5' come up)?

The previewer feature in Kettle's CSV loader to verify the data is importing like expected before loading into WEKA for example would be helpful.

(p.s. I recognize CSV is not the preferred data format, but unfortunately in business Excel->CSV).

-Darren

CGG Dial Component - Needle Color Change & Tool tip of needle when hover the mouse

$
0
0
Hi Forum,

I've followed this thread http://forums.pentaho.com/showthread...ial-Chart-work to work out on CGG dial component.

I've done it but want apply below things.

1) How to change the needle shape ?
2) How to change the needle color ?
3) How to show tool tip on the needle when hover the mouse ?
4) How to change the outer circle color ?

Thank you.

Sadakar
BI developer.
Viewing all 16689 articles
Browse latest View live


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