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

If FieldA doesn't = X, replace the content of FieldB with Y

$
0
0
Hi everyone. Another newbie question I'm afraid which I've been racking my brain trying to build a solution for and again, I suspect there is an easy solution as I don't think what I want to do is too out the ordinary!

I have a delimited text file such as the one below:
Date Name Class
10/07/2014 Dave 1234
10/07/2014 Paul X876
10/07/2014 Dave 3453
10/07/2014 Oscar ds77
10/07/2014 Oscar e453
10/07/2014 Dave a868












What I want to do is look through the 'Name' field and do something like:
if [ $Name != ^Dave ]
Class=XXXX

So the table would look like:
Date Name Class
10/07/2014 Dave 1234
10/07/2014 Paul XXXX
10/07/2014 Dave 3453
10/07/2014 Oscar XXXX
10/07/2014 Oscar XXXX
10/07/2014 Dave a868












I've literally tried everything I can and ended up looking at trying to write a snippet of Java code to execute against each row but I'm a Perl guy and have zero knowledge of Java.

Could someone at least point me in the right direction? Not asking for a specific answer but a pointer would be greatly appreciated!

Many Thanks
Dave

Get back the hidden .cda file in Folder

$
0
0
Hi Forum,

This is a replica thread posted in BI platform, though would like to know many community C-Tools folks too on the same.

Except CDE dashboard file(.wcdf) file remaining .cdfde and .cda files are hidden using properties .. And temp files deleted safely and cache is refreshed...

Now, I can see only Dashboard files .. this is okay... but If I want to get back the .cda and other hidden files then what needs to be set ? The same applicable for a folder....

Thank you.
Sadakar

Changing values for variables

$
0
0
Hy,

I'm struggling with variables manipulation. I thought that variables could have differents values during execution.
So I followed many tutorial without any success.

Here is my process :
screen.jpg

In attached files, here is what I've done :
- Generate lines
- Create variables
- Get variables

What I'm expecting :
- Getting variables should return as many lines as I generated in flow
- The value of the variable should be different each time I use it
What I'm facing :
- Getting variables only return 2 lines
- The variable value not changing

What am I doing wrong?

Thanks for your help
Attached Images
Attached Files

Database Lookup question (Kettle 3.2)

$
0
0
Hi everyone,

I have a question regarding the database lookup step: If my database lookup fails, and therefore the output is null, what can I do to just use the original input field instead of setting a default value which is always hard-coded?

For example, I'm inputting a financial institution transit number 080912345 and doing the database lookup to another table where it should return an Organization ID. However some transit numbers don't have organization IDs, so instead of setting a default, what can I do to just carry over the original input such as '080912345' to my next ETL step? Because each transit number is unique, I don't want all them without organization IDs to be grouped into one default number.

Hope I was clear, any suggestions would be greatly appreciated. Thank you.

Regards,

David

Unable to publish cube on splice server using schema-workbench

$
0
0
Hi everyone,

I have created a cube, dimensions and measures using schema workbench. It's also showing connection to database[splicemachine] is ok. But when I'm trying to publish it on splice server It's showing error "unable to publish your file.Please try again or contact your system administration for assistance".

Can someone please help me out with this issue?

Thanks!!

Having trouble setting up XMLA

$
0
0
I've installed Mondrian 3.4.1 on Windows 8.1 and am running Tomcat 7.0.54. The JPivot table works fine (http://localhost:8080/mondrian/testp...query=mondrian) however I'm having trouble with anything XMLA related. Going to JPivot table by XMLA (http://localhost:8080/mondrian/testpage.jsp?query=xmla) gives me the error:

org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: com.tonbeller.jpivot.olap.model.OlapException: Soap Fault code=SOAP-ENV:Server.00HSBE02 fault string=XMLA Discover unparse results error fault actor=Mondrian detail:

Executing any request in the XML for Analysis tester (http://localhost:8080/mondrian/xmlaTest.jsp) returns the following:

Code:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Header></SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.00HSBE02</faultcode>
<faultstring>XMLA Discover unparse results error</faultstring>
<faultactor>Mondrian</faultactor>
<detail>
<XA:error xmlns:XA="http://mondrian.sourceforge.net">
<code>00HSBE02</code>
<desc>The Mondrian XML: java.lang.NullPointerException</desc>
</XA:error>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

I've followed the instructions to setup a ODBC connection for the MondrianFoodMart.mdb Access db and my datasources.xml looks like this:

Code:

<DataSources>
  <DataSource>
    <DataSourceName>Provider=Mondrian;DataSource=MondrianFoodMart;</DataSourceName>
    <DataSourceDescription>FoodMart 2000 Data Warehouse From MS Analysis Services</DataSourceDescription>
    <URL>http://localhost:8080/mondrian/xmla</URL>
    <DataSourceInfo>Provider=Mondrian;DataSource=MondrianFoodMart;</DataSourceInfo>
    <ProviderType>MDP</ProviderType>
    <AuthenticationMode>Unauthenticated</AuthenticationMode>
    <Catalogs>
        <Catalog name="FoodMart">
            <Definition>C:\Development\Apache\apache-tomcat-7.0.54\webapps\mondrian\WEB-INF\queries\FoodMart.xml</Definition>
        </Catalog>
    </Catalogs>
  </DataSource>
</DataSources>

I haven't been able to find any further error detail to illuminate what its wrong so I'm going around in circles atm trying to get this running. Can anyone shed light on this?

MSBI Online Training and Certification in INDIA | Online MSBI Training in USA, UK

$
0
0
MSBI Online Training by TEKSONIT, We have more than 10 years experience of IT professions for good training in MSBI Online. Our Experts Covers each and every topic related to the courses like MSBI Online. And we have ultimate techniques to cover the total information. So definitely you will get great experience with our professionals. Please don’t lose this ultimate opportunity.

Some of the MSBI Course topics that covered by our professionals:


  1. What Is Microsoft Business Intelligence?
  2. Core concept of BI is the cube or UDM
  3. Example cube as seen using Excel pivot table
  4. MS BI is comprehensive – more than Analysis Services on SQL Server
  5. Demonstration of SQL Reporting Services with cube as data source
  6. Modeling source schemas—stars and snowflakes
  7. Understanding dimensional modeling— Dimensions (Type 1, 2, or 3) or rapidly changing
  8. Understanding fact (measures) and cube modeling
  9. Other types of modeling—data mining etc…
  10. Storage topics – basic aggregations, MOLAP
  11. Advanced Storage Design – MOLAP, ROLAP, HOLAP
  12. Partitions – relational and Analysis Services partitions


And many sub topics are there for more details please go through the website.

Please call us for the Demo Classes we have regular batches and weekend batches.

Contact Number:
USA: +1 010-674-9448,
INDIA: +91 939-185-5249,

Email: teksonit@gmail.com,

Web: http://www.teksonit.com/msbi-online-training/

Mondrian Queries on InfoBright

$
0
0
Dear all,

I am facing an issue when using InfoBright Enterprise as datawarehouse. Columnar Databases perfrom very well if they work with sub select, avoiding large dimension join.

Let me explain: fact + product dimensio will cause mondrian to run a query of type

SELECT.. FROM facttable f, producttable p WHERE f.prodId = p.prodId AND p.prodColor = "Red".

Instead would be better to run this query:

SELECT
*
FROM facttable f
WHERE f.prodId IN (SELECT p.prodId FROM producttable p WHERE p.color="RED")

Anyone know how to configure (if possible) this capbility?
Thanks
Roberto

Ab Initio Online Training In Hyderabad | Online Ab Initio Training In USA | UK

$
0
0
Teksonit is provides Abinitio Online Training Class course by excellent experienced IT professionals who has more then 10+ Years of real time experience.Ab Initio Online Training gives us the information about different categories of AB Initio and its functionality. It’s proud to be we are one of the top leading Abinitio online training provider from India. We placed Our students in INDIA,USA, UK, SINGAPORE, NEWZELAND, CANADA, AUSTRALIA,JAPAN, SWEDEN. We also Provide Job support & Interview Support.
Ab Initio Online Training Course Content
Data Warehousing Concepts
1. Introduction to Abinitio with excellent faculties
2. Ab Initio detailed architecture Salient
3. Braod Cast
4. Partition by Expression
5. partition by range
Departition Components
1. Concatenate
2. Gather
Dataset Components
1.. Input File
2. Output File
3. FTP To
Contact us : India : +91 9391855249
USA : +1 010-674-9448
Email : teksonit@gmail.com URL: http://www.teksonit.com/ab-initio-online-training/

Multiple Excel Input steps in transformation

$
0
0
I know this theme has cropped up before, but I couldn't really find a definitive answer and after trying for over an hour to solve this I thought it was time to ask for help.
My status quo: I have three separate transformations that each read a different Excel sheet for input to the same DB table. That works.
But I thought it would be more efficient to combine these into one transformation with three Excel Input steps. I started my attempt with two steps as a proof of concept. The problem is the input sheets are not completely identical.

Sheet 1:
Case number Sex
12345678 M
23456789 F

Sheet 2:

Case number Release type
34567890 regular
45678901 transferred






What I want to save to the DB is the case number (mandatory), and the other two fields if present. Case number might recur between two files, but is usually unique.

I tried the multiway merge (full outer) on case number but that produced garbage. I thought simply adding the missing field (as an empty string) on the way to the next step (where both input steps come together) should work, but the rows get garbled (I'm using a write to log step to test; I end up with sex = transferred, for example).

Is there an easy way of doing this, or am I better off using a different transformation per sheet?

Best Core Java Online Training | Online Core Java Training |Training Core Java Online

$
0
0
Core Java Online Training course by SUN IT Labs. We have excellent experienced IT professionals who has more then 10+ Years of real time experience Our trainers has good training experience so that best quality output will be delivered. We also give interview support & Technical support. We market your profile in USA, UK SINGAPORE, INDIA, SOUTH AFRICA. We will give you 100% Satisfaction and We provide best quality real time online training.We have completed more than 200 Core Java batches through Online Core Java Training program, Our Core Java Classes covers all the real time scenarios, and its completely on Hands-on for each and every session.

Some of Core Java topics Covered by our professionals:

1.CORE JAVA - JAVA PROGRAMMING LANGUAGE

• 2.GETTING STARTED

• 3.Primary Goals Of Java Programming language

• 4.Simple Java Program (Hello world)

• 5.Introduction to Object oriented programming

• 6.Objectives

• 7.Software Engineering

• 8.Declaring Java Technology Classes

• 9.Declaring Methods, Attributes

• 10.Encapsulation, Information Hiding

• 11.Constructors

• 12.Packages

• 13.Variables, Identifiers, Keywords and Types

• 14.Objectives

• 15.Comments

And many more sub topics are there, for more details go to through the our Professional website

Please call us for the Demo Classes we have regular batches and weekend batches.

Contact Number : USA+1 512 234 3553,

Email : Contact@Sunitlabs.com ,

Web: http://sunitlabs.com/core-java-online-training/

Mondrian and Columnar DB - Suggestion adn advice

$
0
0
Dear All,

can we recover all information about designing a mondrian cube on an high performance analytical database/columnar database such as InfoBright or Vertica?

Thanks again.

Roberto

SAP ABAP Online Training in INDIA | USA | UK | SINAGAPORE

$
0
0
SAP ABAP Online Training by Sun IT Labs with Our instructors who are having real-world experience and are comfortable going off-script. Our faculty team having lot of experience in SAP ABAP Training to explore the most complicated concepts. We guarantee a wide span of hands-on training projects with our ongoing developmental processes for SAP ABAP Students, and also offer placements based solely on completion of SAP ABAP Training in INDIA, USA, UK, and SINGAPORE.

Some of the SAP ABAP Course topics that covered by our professionals:

1.Introduction and Evolution of ERP.
2.Introduction to SAP (Accelerated SAP).
3.Project preparation.
4.Business Blue Print.
5.Realization.
6.Final preparation
7.Go-Live and Support
8.SAP R/1 Architecture
9.Centralized architecture
10.Distributed architecture

And many sub topics are there for more details please go through the website.

Please call us for the Demo Classes we have regular batches and weekend batches.

Contact Number: USA: +1 512 234 3553,

Email: sunitlabs@gmail.com,

Web: http://sunitlabs.com/sap-abap-online-training/

Online Advance JAVA training in Hyderabad | Advance JAVA online Training in India

$
0
0
Advance JAVA Online Training by Tekson IT is the best opportunity for students. Tekson IT Online is a global leading IT Training provider. We specialized in providing Online Training services on hadoop, JAVA, oracle and sap all modules. We are providing Advance JAVA Training based on specific needs of the learners especially we will give innovative one to one Classes which has great opportunities in the present IT market.
Advance JAVA training course content:

  • Introduction to web application technologies
  • Java EE 5 SDK
  • HTTP Revisited
  • Writing JSP scripting elements
  • About Java/j2ee


Tekson IT Online Training Highlights :

  • IT training in all technologies (online & class-room)
  • Real-time Job support
  • Advanced concepts with career advancement planning
  • Marketing and Job placement with our fortune 500 clients
  • Tech support to perform day to day activities of your Job

And many sub topics are there for more details please go through the website.

Please call us for the Demo Classes we have regular batches and weekend batches.

Contact Number: India: +91 93918 55249
USA: +1 010 674 9448
Email: teksonit@gmail.com
Web: http://www.teksonit.com/advance-java-online-training/

How Dashboard Parameter Communicate With Endoints - SPARKL ???

$
0
0
Hi Forum,

While working in SPARKL i was wondering how Dashboard parameters communicate with Endpoints (Kettle Transformation).
For example i have a form created in CDE dashboard say with fields username and password, now once the user submit the form i need to write this info to a file. I am able to create the form part but not able to communicate with the Endpoints.

Please help me out in identifying the steps for the same

Thanks

extract

$
0
0
Hi,

I have folder names in this format i.e

ABC100
ABCFNAME20
ABCDFNAME3000
2013-10-01ABCDEFNAME400

From the above folders list whichever the foldername contains FNAME it has to retrieve that and after FNAME whatever value is there it has to store into some field value i.e

20
3000
400

Error

$
0
0
Hi,

Can anyone guide how to resolve this issue...


014/07/11 18:34:58 - CreateDirectory.0 - ERROR (version 5.0.3.ad3a3052113bac018614471c2c0e4f3c07a18982, build 1 from 2014-01-26_15-17-17 by buildguy) : Unexpected error
2014/07/11 18:34:58 - CreateDirectory.0 - ERROR (version 5.0.3.ad3a3052113bac018614471c2c0e4f3c07a18982, build 1 from 2014-01-26_15-17-17 by buildguy) : org.pentaho.di.core.exception.KettleValueException:
2014/07/11 18:34:58 - CreateDirectory.0 - Javascript error:
2014/07/11 18:34:58 - CreateDirectory.0 - org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#17) (script#17)
2014/07/11 18:34:58 - CreateDirectory.0 -
2014/07/11 18:34:58 - CreateDirectory.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:457)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.processRow(ScriptValuesMod.java:692)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
2014/07/11 18:34:58 - CreateDirectory.0 - at java.lang.Thread.run(Unknown Source)
2014/07/11 18:34:58 - CreateDirectory.0 - Caused by: org.mozilla.javascript.EvaluatorException: org.mozilla.javascript.EvaluatorException: The function call createFolder is not valid. (script#17) (script#17)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.Context.reportRuntimeError(Context.java:945)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.Context.reportRuntimeError(Context.java:1001)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesAddedFunctions.createFolder(ScriptValuesAddedFunctions.java:1838)
2014/07/11 18:34:58 - CreateDirectory.0 - at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
2014/07/11 18:34:58 - CreateDirectory.0 - at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2014/07/11 18:34:58 - CreateDirectory.0 - at java.lang.reflect.Method.invoke(Unknown Source)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:413)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.gen.script_70._c_script_0(script:17)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.gen.script_70.call(script)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.gen.script_70.call(script)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.mozilla.javascript.gen.script_70.exec(script)
2014/07/11 18:34:58 - CreateDirectory.0 - at org.pentaho.di.trans.steps.scriptvalues_mod.ScriptValuesMod.addValues(ScriptValuesMod.java:374)

Date Picker not showing up when published to server

$
0
0
I have a report that uses a date picker parameter and it shows and acts fine in the Report Designer. However, when I publish to the server, I get an “error processing component” where the date picker should be. It seems like maybe something could be missing from the server, but I don’t know where to begin to look. Of course, it could be something that I’ve changed on the parameter – but I generally stick with defaults (although I have changed a few things just to see if that made a difference). I have googled the heck out of it with no luck, so I thought I would ask here.

I'm using Community 5.0.1 Stable

Thanks in advance!

SAS input step is giving me an error

$
0
0
Hello,

I am trying to use the SAS input step with pdi ce 5.0.1. I get the below error upon trying to load the file. I have searched everywhere and am unable to find an solution. I did find that pdi 4.4 had an issue, but the suggested work arounds do not seem to help version 5.0.1

Unable to open dialog for this step
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.eobjects.sassy.SasReader.<clinit>(SasReader.java:41)
at org.pentaho.di.trans.steps.sasinput.SasInputHelper.<init>(SasInputHelper.java:58)
at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog.get(SasInputDialog.java:345)
at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog$3.handleEvent(SasInputDialog.java:162)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.trans.steps.sasinput.SasInputDialog.open(SasInputDialog.java:247)
at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:137)
at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8195)
at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:2952)
at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:720)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227)
at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7368)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8673)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 27 more

Using date as a constsnt value in the look-up stage

$
0
0
Never mind. The below logic is working. My test case was wrong. Sorry for the trouble. I wanted to delete the post, but i dont seem to have the access, hence this update.

==========


Hi,

I am facing an issue in one of my jobs. My requirement is to do a lookup on a certain table based on the a key values AND and date column. The date that I am planning to look-up is a constant (9999-12-31). So basically the requirement is to look up the table and get the rows havng the given key value and the date as '9999-12-31'.

To achieve this, I defind a constant in the transformation using 'Add constants' step with type as Date and format as 'yyyy-MM-dd' and value as 9999-12-31.

But the lookup is not working as expected and the rows are not fetched when I add the date condition . If i remove this datw condition, then it works perfectly fine. Can you please help me in resolving this issue?

Thanks,
Sriharsha BH.
Viewing all 16689 articles
Browse latest View live


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