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

Magyar csapat - Életjel

$
0
0
Sziasztok!

Hose-al találkoztam itt én is legelőször.
Ma kínomban kattintgattam és idekeveredtem.

A magyarosításra adatam át az általam használt módszertant valakinek, akin remélem, hogy segíteni is tudtam.
Biztosan van jobb módszer is.
Ha igen, én is szívesen elolvasom.

Azt tapasztaltam, hogy nagyob sok #1 -es szinten megragadt bejegyzés van és jó pár esetben magamnak találtam ki a megoldást és azért is publikáltam, hátha valaki hasonlóan belecsúszik ugyanabba a problémába.

Kellemes hétvégét kívánok mindenkinek!
Sziasztok,
Töci
ltorok

Line Chart: Category label

$
0
0
Hi,
I've a little problem with the customizations of a chart.

2013-08-02 12_35_41-AvepaPentaho2 [In esecuzione] - Oracle VM VirtualBox.png

As you can see, I changed the x-axis-label rotation, but now the text looks like right aligned.

the problem degenerates when I choose a date range larger, because markers become more dense and the category labels are at the center of two markers :(
2013-08-02 12_37_27-AvepaPentaho2 [In esecuzione] - Oracle VM VirtualBox.png

I wrote a lot of code (beanshell script), done by me, taken here and there, to center labels, but nothing :'(
Some of you can help me with this problem?
thanks

xaction - passing query-result to report

$
0
0
Hi,

I got a simple xaction where i select 5 Strings from the database, the query result got only 1 column with the 5 Strings as rows.

How can i pass this to a simple report?
I tried all i could, but i get only errors.

Can someone give me an example how i can pass a query-result to a report?




thx

Define locale for sprintf() function

$
0
0
I have defined locales on computer, Pentaho BI Server and brower, but formating with sprintf() function in CDE (%.2f) is returning default fromatting (##,###.00). For Slovenia we need fromating with (##.###,00). Where or how can I change/define usage of proper locale?

book for building xactions

$
0
0
Hi,

Are there any good books for building action sequences?

Query with Different hierarchies of the same dimension

$
0
0
Hi all,
i have a dimension D which have two hierarchies: X and Y.
I tried to do a query to verify the different results, but i observed that the query returns the same result.

The query:
1)
SELECT
NON EMPTY {Hierarchize({[Measures].[Numero Test]})} ON COLUMNS,
[Localita].[CENTRO] ON ROWS
FROM [Cube]
WHERE [D.X].[mylevel].members
------------
2)
SELECT
NON EMPTY {Hierarchize({[Measures].[Numero Test]})} ON COLUMNS,
[Localita].[CENTRO] ON ROWS
FROM [Cube]
WHERE [D.Y].[mylevel].members



1) and 2) return the same result!!
Why the where does not work?

Thanks,
marco

Rest api

$
0
0
Hi,

I need to get Report detail , Audit information from Pentaho Solution Repository. Instead of hitting the pentaho database directly, can we get all the information via Pentaho REST API? do we have any such API in Pentaho?

Thanks..

Excel column format

$
0
0
I have table component and set appropriate column types and format for all columns.
For example, for total count, we set column type as numeric and format as %d.
When I am exporting to excel, the respective cell show data in the decimal but it should display only integer.

Is anyone faced same issue? any workaround?

Regards,
Vinayak

Passing Variables to metadata injection transform

$
0
0
It is possible to establish a variable within ETL that can be used by the transformation defined in a metadata injection step?

I need to pass information to the metadata injection transformation that needed to be included in the output. I tried a couple of techniques including using JavaScript without success.

I appreciate your help.

Thanks
Ray

Unexplained error (Java.lang.ArayIndesOutOfBoundsException) yin transformation

$
0
0
I have attached my ktr

I tried to run this transformation, which works without the blocking steps. I added the blocking steps, because my database routinely gets dropped, and I need to input data into it before I can do the other input/table writes (due to foreign keys).

Additionally, I have attached a screen shot of part of the transformation with two lines in the execution results showing errors.

I have also attached a PDF file that is a copy & paste of the Execution Results Logging screen. These two lines, though, are at the heart of the problem, I believe:


2013/08/02 10:13:07 - Insert / Update Brand Names.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error
2013/08/02 10:13:07 - Insert / Update Brand Names.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.lang.ArrayIndexOutOfBoundsException


Looks to me like a bug in Kettle. What can I do to get around this?

My environment


PDI Version - Kettle - Spoon Stable Release - 4.4.0
OS version CentOS release 6.4 (Final)
Java version - 1.7.0_25
Database version
- SQL Server 9.0.4309
- MySQL (output files) 5.5.32
- MySQL (input files) 5.5.29

ETL - "filling in" a missing piece of data

$
0
0
If I have a csv(or excel) input file that looks like this:

Columns -> UID/USERNAME/TRAN_AMT/TOTAL_SPENT


Sample data:
123 edmund_p 2.25
123 edmund_p 3.00
123 edmund_p 4.00
123 edmund_p 2.00 11.25
9282 alison_t 5.00
9282 alison_t 25.00
9282 alison_t 10.50
9282 alison_t p 10.00 50.50


If I want to read this data an populate a table (or excel file) like this, is there a built in way to do it with Pentaho ETL?

Desired Output:
123 edmund_p 2.25 11.25
123 edmund_p 3.00 11.25
123 edmund_p 4.00 11.25
123 edmund_p 2.00 11.25
9282 alison_t 5.00 50.50
9282 alison_t 25.00 50.50
9282 alison_t 10.50 50.50
9282 alison_t p 10.00 50.50

essentially, I want to "fill in" the "total spent" wherever it is empty with the value of the column from the last row for that particular

Any advice would be appreciated

How does olap engine work for SQL queries???

$
0
0
Dear all,
I would like to know about olap engine.
- In CDE, when we create dashboard, we can use both MDX and SQL for datasource. At that time, olap engine parses, validates and executes the MDX queries. But how about SQL queries??? how does olap engine work for SQL queries???

I would like to know it seriously. Please, someone who knows explains me about that.
Thanks in advance for your help.

With regards,
nnt

Unable to find value metadata with name 'expenses_id', so I can't delete it.

$
0
0
Hello community!

Here is what I have (as input): .csv file with 30+ fields, two of them are called trip_id and cost_center
What I am trying to achieve (as an output): get a .csv file that will only have two fields: trip_id and cost_center where cost_center is the max(cost_center) per trip_id

Here is what I picked for components: to input file -- [CSV File Input] then to select only two fields from it -- [Select values] then to sort those two fields -- [Sort Rows] then to get max(cost_center) for each trip_id -- [Group by], then to output the results into file -- [Text File output].

When run, on the [Select values] step the error comes up -- "Unable to find value metadata with name 'expenses_id', so I can't delete it." Expense_id mentioned in the error message is the first field in the input file. I did fill out the metadata tab on the [Select values] component. What else should I check for/correct to make this run?

Thank You!

Natalia

how to run a batch file (windows environment)

$
0
0
Hi,
I think i am getting a hang of Penatho ETL (Community version) and i like it so far..
one hick up while working on it is: how to run a batch file (windows environment) using transformation/job?

I have searched on the internet and Pentaho Wiki and i quite didn't understand how to do it though. Had gone through Execute a process (link below) and couldn't figure how to run a batch file using this. Not sure if this is even right direction for it..

http://wiki.pentaho.com/display/EAI/Execute+a+process

Why do i want to run a batch file? Two things:
1. I do not know if this is my system that MAIL utility does not work in community version or something else; so want to use a command line utility to send email after transformation is done. Tested mail on my system through telnet and it works with same smtp domain and port.
2. Before loading a flat file; want to change the encoding version through a command line utility and then load it.

Thanks

Designer performance issue

$
0
0
I'm doing a transformation to get the surrogate keys of a business key in a fact table.
The procedure processes rows in a pending table, that is, rows that at least one of the surrogate keys could not be obtained the first time that the row fact was tried to store in the fact table.
The fact table in question has several dimensions relationated, therefore has several keys to find.
Basically i have a transformation like this:


para el foro.jpg


The surrogate key is a field that is already in the stream, so, when is null and the key is searched the key with the lookup step, the look up step produce other key with the sufix "_1". For mixing again the streams i have to remove it. I use the stream lookup step because the database lookup step did not work for me.

The issue is, when i reach the tenth filter step the delay is notable. When i reach the fifteenth, the designer get in a "not responding" state. In the twentieth step the halting is for several seconds. Is this normal?. Pending table have 110 fields.

The steps in the transformation are repeated, i thought i could use a "factorization" whit a mapping, but i don't know if possible because of the input table for the lookup.

I tried to change the OPTS of the JVM, increasing from -Xmx512m to -Xmx1024m in the environment variable "PENTAHO_DI_JAVA_OPTIONS", but no luck.


Using a trial of PDI Enterprise Edition 4.4.1-GA, x64
JVM 1.7.0_21, 64 bit
Also, I'm using a decent laptop, core i5 of 3th generation, 8 GB of RAM with Windows 8.


Thanks in advance.

--
Nahuel
Attached Images

Error with custom MapReduce output format

$
0
0
I used the wiki example files from here:

http://wiki.pentaho.com/display/BAD/...taho+MapReduce

But when I run it in my environment (cdh4.2), I get the following error. Any suggestions?

2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : class YearMultipleTextOutputFormat not org.apache.hadoop.mapred.OutputFormat
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.lang.RuntimeException: class YearMultipleTextOutputFormat not org.apache.hadoop.mapred.OutputFormat
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.apache.hadoop.conf.Configuration.setClass(Configuration.java:1661)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.apache.hadoop.mapred.JobConf.setOutputFormat(JobConf.java:678)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.hadoop.shim.common.ConfigurationProxy.setOutputFormat(ConfigurationProxy.java:84)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.job.entries.hadooptransjobexecutor.JobEntryHadoopTransJobExecutor.execute(JobEntryHadoopTransJobExecutor.java:672)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:589)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:728)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.job.Job.execute(Job.java:443)
2013/08/02 18:07:35 - Pentaho MapReduce - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.job.Job.run(Job.java:363)

how to compose derived field in the output wth NVL (if null) condition

$
0
0
Hello all!

Two inputs (csv files): let's say imput1 and input2. Each of them has among others two fileds: trip_id and cost_center.
input1 gets left outer joined to input2 on trip_id
One output (csv file): should get some fields from input1, some from input2 and one derived field, derived by following logic:
NVL(input1.cost_center,lpad(input2.cost_center,3,'0'))

For input I used [CSV File input] for both input1 and input2. Sorted both by key on which they get joined with [Sort Row]
To join them I used [Merge Join]. Now what? How do I create this derived field + exercise this NVL and padding condition in the output?

Thank You,
Natalia


Regarding Ability to pass principal names as parameter in filter list Dashboard

$
0
0
Hi Guys

My name is Phani. I am facing issue with the following scenario. Please reply me is the following thing possible with pentaho BI Server

Is there any way to pass principal names as parameter in filter list Dashboard designer?



Please help me in this..

Thanks

Phani

Pentaho report contents not getting displayed in Pentaho user console

$
0
0
Hi all,

I'm facing an error with a .prpt file.

While running the prpt in report designer it just works fine .
But when the same prpt ran in PUC (user console), the report contents are not displayed.

It is a simple report containing total 8 columns with only text and number fields in the detail section and only labels (formulated also) in headers.

Please help with your valuable tips

Select not in

$
0
0
I want to find rows from a database table that are not in a set of rows. In SQL I would do:


SELECT t1.*
FROM Table1 t1
LEFT JOIN Table2 t2
ON t1.A = t2.A
AND t1.B = t2.B
WHERE t2.B IS NULL


But, I want to do this where Table1 isn't a table, but row in my input stream. Table2 is big, so I would rather not read
it in, but rather let the DBMS do the work. Is this possible? The only thing I've figured out is to write my stream
to a temporary table.
Viewing all 16689 articles
Browse latest View live


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