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

multiselect button in CDE

$
0
0
Hi forum,

How to use multi select button ?

I'm showing 4 values lets say A,B,C,D from the multiseleect.

I need to pass 3 values at a time using a single parameter.. How can I do that in the query ? Is there any special syntax for that ?


Thanks,
Sadakar

[AddIns] Databar

$
0
0
Hello,

I am working with a DataBar addins in a table component.

Is it possible to change the tooltip function, instead of "Value: 9", I would like "00:00:09" ?

Is it possible to desactivate tooltip function to not display a value ?

Thank you, see attached document to have an example.

untitled.jpg
Attached Images

triggering transformations from report results in BI server

$
0
0
is there a capability or function in BI server to manually run a transformation that would act on the results of the report?

like for example you would retrieve records that are tagged as 'NEW' using a pentaho report designer file deployed on the server. After being provided of results, I would like to act on those 'NEW' records and do some processing with them then tag them as 'OLD' using a transformation through a button.

is this possible? someone told me of xactions but i have the faintest idea about it.

StepAttribute startnewline is missed

$
0
0
Hi all
I've installed PDI 4.4 and I did'nt use an database for the repository and everthing was fine.
Then I've installed a repository using mySQL 5.6.

Unfortunately I've got a problem with the "SQL FILE OUTPUT" Transformator.
There is no line break in the output.
The checkbox for Start new line for each statement was enabled.
After reloading the transformation, the checkbox was disabled.

I took a look into the database and select the table "r_step_attribute" and I could'nt find the attribute "startnewline".
I've inserted it and the transformation worked fine.

If someone has an idea what happened or how to fix it, it would be great.

Thanks in advance


Achim

Writing 'time' value to a postgres database

$
0
0
Hi,

I am trying to write a time value to a postgres database where the target column is of the type 'time'. I am reading the value from another postgres table where the column is also of the type 'time' and the values are stored in the format HH:mm:ss

When I am running the transformation it always throws an exception and according to the SQL statement in the log file it is trying to enter a complete date '1970- ... 11:21:00' as value. As far as I can see there is only the data type 'Date' in Kettle available but not time. Is there any way to circumvent this and to just pass the time value to the postgres target table?

Thanks for any hint!

Bobse

Downloading 4.4.2

Max number of detail rows for page

$
0
0
how can I change/force the number of detail rows for single page in a report? (i.e. 10 detail rows for page).
thank you

PDI Server Status Not Changing

$
0
0
Hi Team,

I am executing a PDI transformation on Pentaho Data Integration Server.

The transformation migrates a table with 2 records from Sybase to Greenplum.

All the 3 steps show the status as 'Finished' on the PDI server. But just above them on the transformation name column it shows status as 'Waiting' only.
I think it should come to 'Finished' status.

PFA the screen shot of the screen.

Request you to let me know for any information why its not coming to 'Finished' status.

Thank you in advance.

Naseer.
Attached Images

Modified Javascript Script capability

$
0
0
I am working on a JavaScript step that will be able to determine if key fields are missing from the data source regardless if it is a database, text file or Excel. The action that I want to step to take is add the column if the field (column) is missing.

I know that I can get for the existence of a column using
var rtn = getInputRowMeta().indexOfValue("Column_name");

As I rotate through all of the fields, the steps repeats for each row from the dataset. Is there a way that I can check for the existence of more than one field within a set of data rather than examine for each row?

I am trying to learn more how to incorporate the API sets and I am uncertain which set I should check. Help would be very much appreciated.

Thanks
Ray

Data Ranges and Conditional formatting

$
0
0
I'm attempting to do conditional formatting on a column that contains percentages using Pentaho Report Designer (3.91). I would like to have a 3 condition format that gradually changes the color of the cell from red to yellow to green but I was unable to figure out how to do so. Alternatively I have tried to create a formula expression through the formula editor (Structure-->Style-->bg-color) that defines ranges for every 5% increase up to 50% but I'm unable to get my formula to function correctly. I would appreciate any suggestions. My code is below and I do not receive any errors in the formula editor but the formula does not function correctly.
Code:

=IF(OR([PERCENTAGE_USED]< "0%" ;"#FFFFFF";
[PERCENTAGE_USED]>= "0%";[PERCENTAGE_USED]< "5%";"#780000";
[PERCENTAGE_USED]>= "5%" ;[PERCENTAGE_USED]< "10.00%";"#FF0000";
[PERCENTAGE_USED]>= "10.00%" ;[PERCENTAGE_USED]< "15.00%";"#FF4500";
[PERCENTAGE_USED]>= "15.00%" ;[PERCENTAGE_USED]< "20.00%";"#FFA500";
[PERCENTAGE_USED]>= "20.00%" ;[PERCENTAGE_USED]< "25.00%";"#FFD700";
[PERCENTAGE_USED]>= "25.00%" ;[PERCENTAGE_USED]< "30.00%";"#9ACD32";
[PERCENTAGE_USED]>= "30.00%" ;[PERCENTAGE_USED]< "35.00%";"#ADFF2F";
[PERCENTAGE_USED]>= "35.00%" ;[PERCENTAGE_USED]< "40.00%";"#32CD32";
[PERCENTAGE_USED]>= "40.00%" ;[PERCENTAGE_USED]< "45.00%";"#2E8B57";
[PERCENTAGE_USED]>= "45.00%" ;[PERCENTAGE_USED]< "50.00%";"#228B22";
[PERCENTAGE_USED]>= "50.00%" ;[PERCENTAGE_USED]< "100.00%";"#008000";
[PERCENTAGE_USED]>= "100.00%";"#006400";))

Desired result:Screen Shot 2013-08-28 at 3.37.33 PM.jpg
Attached Images

Feeding table information to a chart?

$
0
0
And good night, ladies and gentlemen. I guess this is my first post outside Kettle area here on Pentaho forums.

I've started to work with CDE for a personal project, but I can't seem to find some basics... I got Parameters running, I got Select Components running, I got Table Component running... but I can't seem to understand how to "feed" that table to a chart. And I've been researching on google for at least the last 3 hours for that.

Only thing I could find were two tutorial packs that look absolutely amazing, but I currently have no cash (and even worse, no means of paying since I'm out of international credit cards) to afford them. So, I decided to give it a shot and ask around here - since the Pentaho community already taught me much on using Kettle, couldn't hurt to try here.

So, layout is coming fine, datasource is working okay, and all components - except for the chart - are amazing already. I defined the chart's name, title, datasource, parameters, listeners... and only title shows up. The datasource outputs a simple SQL table with 3 columns (date, type and value).

I built a prototype on Excel, and I'm looking for a way to replicate it on Pentaho. Kinda like this...
example.png
Attached Images

Using weka api and LibSVM

$
0
0
I am using Weka 3.7.10
Via GUI - have used LibSVM - all OK

Am now writing my own java program (in NetBeans) and using weka.jar etc.
Have imported half a dozen classifiers and LibSVM is not happy!

cannot find class LibSVM..................

Please explain in 'low level words' what I need to do (something to do with the classpath and the LibSVM library?)

Bob M

Need Help In Setting Up Env For Hadoop

$
0
0
Hi,

I am new to big data and i am working on project where i need to explore the capabilities of Pentaho on big data.

I need to setup the environment for big data.

I am on windows 7 machine.

BA Server 4.8

PDI - 4.4

PRD - 3.9

Please help me out in setting the environment.

Thanks

Regex to extract text from field

$
0
0
Hi,

Hoping someone can help with this
I have a field that will store multiple lines of text which is not always consistent but the labels will be consistent

e.g. 1
Application=abc
ID=123

e.g. 2
# some text
Application=abc
ID=123def
Name=xyz

I am trying to use regex with the Replace in String function to extract the ID value (i.e. 123def) but am having issues.

The first issue is defining the regular expression.

I can extract the line (ID=123def) using the following expression

(^(?!((\ID=)(.*))).*\s*)

however, I only want to get the value (123def)

The second issue is using this regular expression in the Replace in String function
The regular expression (^(?!((\ID=)(.*))).*\s*) 'works' in regex testers online, however when entered into pentaho function it doesnt and the entire text is provided as the output

Any help would be much appreciated

Cheers

Difference in xml file exsported from mac and linux

$
0
0
Hi,
we're using github to help us with multiple developers and to deploy development done in a PDI development server to a production server. When we're deploying to prod, we export a folder from the enterprise repository in dev to xml. Then we use github to show us the difference from the previous version before we commit it to git and deploy it to the production server.

The problem that we now are facing, is that the xml exported from a mac and the xml exported from linux (and windows) are different.
The problem seem to be with the char set, even though all files says encoding="UTF-8"...

On the mac a line from the export looks like this
<directory>/public/Budget</directory>

from linux and windows the same line looks like this
<directory>&#x2f;public&#x2f;Budget</directory>

when deploying to the server, this should not be any issue, but it makes the process to check the difference in version impossible, because the real changes drown in all these changes.

version of PDI/spoon is 4.4.2 on all systems

Does anybody know of a setting that will give the same output on the different platforms?

Thanks for any help

Regards,
Øystein

SAP Infocube to Pentaho cube conversion

$
0
0
hello guys
first all i wanted to thank u for this forum really useful.

i got a requirment which actually meant for infocube design now i have to design the same cube using the pentaho workbench cna any one guide with some info how i should relate dimensions, levels and facts,,,,


Untitled1.jpg

thank u in advance

Attached Images

Fact table load

$
0
0
Hi,
i'm trying to load my fact table but i'm having below error

2013/08/29 15:03:33 - FCT_MOVIMENTOS - Dispatching started for transformation [FCT_MOVIMENTOS]
2013/08/29 15:03:52 - FCT_MOVIMENTOS - FCT_MOVIMENTOS
2013/08/29 15:03:52 - FCT_MOVIMENTOS - FCT_MOVIMENTOS
2013/08/29 15:03:52 - FCT_MOVIMENTOS - FCT_MOVIMENTOS
2013/08/29 15:03:52 - FCT_MOVIMENTOS - FCT_MOVIMENTOS
2013/08/29 15:03:53 - Spoon - The transformation has finished!!
2013/08/29 15:03:53 - FCT_MOVIMENTOS - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
2013/08/29 15:03:53 - FCT_MOVIMENTOS - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Errors detected!
and
the logging text looks like
2013/08/29 08:14:42 - class org.pentaho.agilebi.platform.JettyServer - WebServer.Log.CreateListener localhost:10000
2013/08/29 11:40:46 - Spoon - Save as...
2013/08/29 11:40:46 - Spoon - Save file as...
2013/08/29 11:46:52 - Spoon - The transformation has finished!!
2013/08/29 11:47:39 - Spoon - The transformation has finished!!
2013/08/29 11:51:44 - Spoon - The transformation has finished!!
2013/08/29 11:57:03 - Spoon - The transformation has finished!!
2013/08/29 11:58:54 - Spoon - The transformation has finished!!
2013/08/29 13:16:18 - Spoon - The transformation has finished!!
2013/08/29 13:59:49 - Spoon - The transformation has finished!!
2013/08/29 14:57:11 - Spoon - The transformation has finished!!
2013/08/29 15:03:53 - Spoon - The transformation has finished!!

can someone tell me where i'm wrong
Thank you

HBase Output dynamic mapping

$
0
0
Hi, i have a project which download several files (.csv) via HTTP. To do that there is a MySQL table with many URLs. I need to put all these files on HBase. Considering that many files have different fields i'm wondering if there's a way to auto-create a mapping for each file. I mean for every file downloaded the HBase Output step should create the appropriate mapping. Is it possible ?

Modify datatable properties

$
0
0
Hi I'm using Pentaho CE,
I'd like to know where I can chage the DataTable underlying the TableComponent propertis such as the thousand separator in order to show a point instead of default comma.

This is the oLanguage sThounsandSeparator properties..

Thanks.

unable to load data using saparator ;*$

$
0
0
Hi all

we are unable to load data using saparator ;*$ from textfile input

having text like 3.8 Model MAKE: HONDA 01/01/2019 22/03/2013

getting issue like : unpasrble string to integer


prd_id prd_desc
------- ----------
1 abc
2 3.8 Model MAKE: HONDA 01/01/2019 22/03/2013


we are getting issue for the next row, seems to be we shoud use few more saparator in my textfile for saparator input

could you please any one suggest us , which saparator is best for all type of data(for semicolons; for date type, for other type of textual data).

thanks in advance
Viewing all 16689 articles
Browse latest View live


Latest Images

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