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

How to set the value to perious record value?

$
0
0
Hi,

Source data scenario:
F1 F2
AA BB
NULL CC
NULL DD
FF GG
NULL HH
wanted data:
F1 F2
AA BB
AA CC
AA DD
FF GG
FF HH

ANY IDEA?

Running kitchen from the command line

$
0
0
Hi!
I need help.
I have written a shell script that will first drop a file (i call it maintenance key) to a specific location when the script is executed. If that file already exists, then the script will fail. And if it does not, it will proceed to call kitchen and run the ETL job as follows:

Code:

if (( $STATUS == 1 )); then
  Log INFO "ready to process ETL"
  Log INFO "Calling kitchen in"


  cd $LBASE
./kitchen.sh -file="$WORKDIR/myETLjob.kjb" -level=Detailed -logfile=$WORKDIR/logs/"$f"-"$DATETIME".log


rm "$TEMP"/"$maint".lock


fi

I have run the process many time over successfully and the maintenance key lock file seems to been dropped and removed regardless on the outcome of the myETLjob.kjb.
What do I need to do if I intent the maintenance key lock file to NOT be removed if there are any failure in the myETLjob.kjb?

Thanks in advance.

Vertical Text / Escapement

$
0
0
Is there anyway of turning text to vertical orientation ?

Problem truncate HTML entities

$
0
0
Hi!

I've created a report with PRD and in the datasource query I've used entities ± and set to see field as text/html, if I view the report in excel or in preview works correctly but if I want to see the report in HTML doesn't work correctly.
The problem is that in the html code don't write ± but truncate entities and write &plusm;

Someone has the same problem?

Thanks

Insert Data from step with Table Input vs Execute SQL Statement (with variable sub)?

$
0
0
I need some guidance on how to use variables in a Table Input or other step and execute at a row level. I read in TEXT input step and normalize the rows. Then I want one of the stream fields to be dynamically user (at a row level) in the Table input or Execute SQL statement.

I get errors on Table input. Here is an example which might help:

Text Input:

MAC
'005056BC0044'
'005056801631'
'0050569F5BEF'
'00505694002C'
....

I then want to execute the following Table Input (or other?) and substitute the variable (?):

select
d.swc_name
,d.swObjectId
,p.swc_ifDescr
,p.swObjectId
from swo_DeviceEx d, swo_portEx p, swo_HostMACAddress m
where m.swc_macAddr = ? and
m.swc_port_id = p.swObjectId and
p.swc_device_id = d.swObjectId;

I am looking to get new stream fields (swc_name,swObjectId,swc_ifDescr,swObjectId). The Table Input field fails. But if I hard code the MAC in the SQL, it seems to work.

select
d.swc_name
,d.swObjectId
,p.swc_ifDescr
,p.swObjectId
from swo_DeviceEx d, swo_portEx p, swo_HostMACAddress m
where m.swc_macAddr = '782BCB36B260' and
m.swc_port_id = p.swObjectId and
p.swc_device_id = d.swObjectId;

Please advise on best approach to accomplish this? I tired using Execute SQL statements with variable substituion, but I do not see new stream fields (swc_name,swObjectId,swc_ifDescr,swObjectId) from the SQL query.

Thanks in advance!!

KP

Referencing Sub-tranforms in a Kettle Transform run in CDA

$
0
0
I'm having issues with the paths for sub-transforms inside a kettle transform which I'm referencing in a dashboard.

The ${Internal.Transformation.Filename.Directory} seems to be referencing the actual file system (I guess that's really correct)
vice accessing the repository. Other than going in and modifying the paths after saving the transform, I don't see a way
to make this work...

any ideas?

Pentaho Home Page not accessible

$
0
0
Hi Users,

I have installed Pentaho Community Edition on my Machine where it is meeting all the pre-requisites, when I run the "start-pentaho.bat" file in order to start the services (../biserver-ce/) directory, it initiates.
The Tomcat Terminal Window appears and the shows the log of the process.
But then at last this message is displayed and the window terminates automatically (Refer the screenshot below)
Error in Pentaho Installation.jpg
Sometimes I've even been able to access the Pentaho home page i.e. <localhost:8080/pentaho>
But it doesn't open each time.
Could anyone please help me out with this ?
Attached Images

Configuring Pentaho 5.3 to work with CAS 4.0

$
0
0
I have followed this: https://help.pentaho.com/Documentati...50/010/060/000 with pentaho 5.3 and cas 4.0 (cas url tested and working) but pentaho is not using CAS, still showing the default admin/password page instead... I double checked pentaho-spring-beans.xml applicationContext-spring-security-cas.xml and -memory.xml and even web.xml (for tomcat/webapps/pentaho/WEB-INF/web.xml) and all the settings are there.


What's more, all it does now is tell me "A login error occurred. Please try again." when I try to use the default admin/password.

I checked some logs such as catalina.out and catalina-YYYMMDD.log, but couldn't find any clues (although I'm not sure what to look at in a log file that grows 400KB after 1 minute of usage)


Any clues/pointers are greatly appreciated. I love the ease of use of both Pentaho and CAS, but trying to get them to work together has been frustrating, with quite a number of various directory structues, jar files, xml configuration files, etc.

Thanks in advance!
Phil

Guidance around SalesForce Upsert

$
0
0
I am trying to use the SalesForce upsert component to upsert a Contact for a given Account.

I am using the spoon UI.

I have a series of fields that includes standard Contact fields plus one custom field (say user_id__c). The series of fields also includes the AccountId for the Account parent.

I have set the Module entry field to Contact. I have set the Upsert Comparison Field to user_id__c.

The custom field user_id__c is an externalid field.

If I set the Use external is attribute to N, I get this error CANNOT_REPARENT_RECORD

If I set the Use external is attribute to Y, I get this error Unable to find object type in external key syntax! Syntax for external key is : object:externalid/lookupField

The only doc I can find about this seems to suggest I should use something like Contact:user_id__c\....

I am unclear as to which UI fields this should be entered into since there are 2. I am also unclear as to how to specify an object type.

Seems like my understanding has a few gaps in it and any help or pointers in the right direction would be appreciated.

Send output of stored procedure as email attachment

$
0
0
Hi,
How is possible to attach output of a stored procedure to an email?

Report Footer al final de la pagina

$
0
0
Hola comunidad...

Les pido ayuda para ubicar el Report Footer al final de la pagina y no al final de los datos del reporte. Es que quiero hacer algo como un recibo de caja que al final de la pagina haya un desprendible como en las facturas de servicios públicos, he intentados con las opciones de la pestaña de atributos y de estilo y no he podido, actualmente el reporte muestra el total y el desprendible al final de los datos del reporte y no de la pagina.

Les agradezco una solución mucho amigos...

Attach stored procedure output as email attachment

$
0
0
Hi,
I am using spoon 4.4.0 and trying to attach output of stored procedure (Using Execute SQL script) to mail object. but seems for mail object there is not any way to attach a file or link the data generated by Execute SQL script.
Is it possible to do something like that or work around it?

Remove 1st row and 2nd row(empty) row from CSV file

$
0
0
Hi Forum

I've tried to use CSV file input & Text File input step to remove 1st 2 rows of csv file but unable to make it work.

Could any one provide me the inputs on this ?

Sample data in CSV file :

"Data Source","World Development Indicators",

"Country Name","Country Code","Indicator Name","Indicator Code","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014",
"Aruba","ABW","Literacy rate, youth female (% of females ages 15-24)","SE.ADT.1524.LT.FE.ZS","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","99.166374206543","","","","","","","","","","99.3230972290039","","","","",


Header row is starts from row number -3 in above file.
Note that below line in above csv sample is a complete row which I want to get as an header row.

"Country Name","Country Code","Indicator Name","Indicator Code","1960","1961","1962","1963","1964","1965","1966","1967","1968","1969","1970","1971","1972","1973","1974","1975","1976","1977","1978","1979","1980","1981","1982","1983","1984","1985","1986","1987","1988","1989","1990","1991","1992","1993","1994","1995","1996","1997","1998","1999","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010","2011","2012","2013","2014",


Thank you in Advance :-)

Customizing mouseover behaviour in MapComponent

$
0
0
Hi,

What is the preferred way of customizing mouseover behaviour in MapComponent? I see it is using description field and it is working only with google mapEngine. I would like to show some custom values and styling when user hovers over the marker.

Thx very much

regards, dejan

Saiku Analytics in Ivy Dashboard Designer

$
0
0
Hi I am using pentaho Bi Server community edition. I created a Saiku Analytics File (say demo.saiku) and saved it in /home/admin folder. After that i created a new Ivy Dashboard, Drag and dropped an Analytics Menu in a dashboard Window. Set the title and layout properties. Now when i click on Datasource Properties it asks me to choose a saiku file through a drop-down list but there is no file listed in it.
how to use my saved saiku analytics report in Ivy dashboard designer?

Thanks

Browse files section do not display directory tree: loading thread keeps running

$
0
0
After giving permissions to a user for (doc.cdfde) dashboard but without giving permissions to (doc.wcdf and doc.cda), browse file section remains charging.
I have tried chrome, firefox an internet explorer
Does anyone know why this happens and how I could fix it?

The version used is biserver pentaho-ce 5.01


On console log from firebug i can see this message:

GET http://pentaho.myweb.com/pentaho/api...=1430218129970
500 (Error Interno del Servidor)

thanks in advance
Regards, Constanza

What's the most stable version of pentaho 5

$
0
0
Hi I'm using pentaho 5.01 and i have found some stability problems, like the followings:

- browse file section remains loading when i have assigned some permissions to a dashboard doc (.cde)
- I'm using a dynamic Schema processor, and sometimes (i don't know the reason) this library does not work properly (my solutions is to copy this library on necessary folders)

- and some other problems I don't remember now.

What version must I use? wich one is the stablest one?

Best regards

is Database or File repository

$
0
0
Hi,

we are trying to develop our assets in PDI 5.3 community edition with java 1.8 version.

Could you please suggest us which one is most desirable development activity is best using either or Database Repository or File repository?

Thanks in advance

Report parameter

$
0
0
Hi all,
I am new in Pentaho world... I 've web application deployed tomcat(A) and Pentaho BI server in other tomcat(B).

My web application receive input from user for example EMP NAME and need to pass this to report published in Pentaho tomcat(B).

Please suggest relevant information for same.

Thanks
Ashish

Custom line chart animation

$
0
0
Hi,

I would like to animate my line chart initially but from "left to right", not from "bottom to top" as it is rendered by using animate:true. I know it is possible by using D3, but can it be done with regular line chart? I have tried something similar by using stroke-dasharray and stroke-offset css properties but no luck :-(

Thx

regards, dejan
Viewing all 16689 articles
Browse latest View live


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