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

Mondrian 4 MemberFormatter, how to set it in the mapping?

$
0
0
Hi,
I am trying Mondrian 4 with a memberformatter but it does not seem to get called (in Mondrain 3.6 it works). I pasted the mapping below. Should I map the MemberFormatter in a different way?

Code:

      <Dimension name="organization" caption="Organization" table="alias1_8" key="organization-key">
        <Attributes>
          <Attribute name="organization-key" visible="false" keyColumn="ad_org_id" caption="Organization" hasHierarchy="false">
            <MemberFormatter className="org.test.client.analytics.OBMondrianMemberFormatter"/>
          </Attribute>
          <Attribute name="organization" table="alias1_8" keyColumn="ad_org_id" caption="Organization">
            <MemberFormatter className="org.test.client.analytics.OBMondrianMemberFormatter"/>
          </Attribute>
        </Attributes>
        <Hierarchies>
          <Level attribute="organization" name="organizationLevel">
            <Closure table="alias1_8_OO" parentColumn="parent" childColumn="child" distanceColumn="distance"/>
          </Level>
        </Hierarchies>


Timestamp: Comparing values can not be done with data type :9 Error mysql -> postgres

$
0
0
For some weird reason my transformation is getting this error:

run_datetime Timestamp : Comparing values can not be done with data type : 9


I am migrating data from mysql database to a postgres database, and here is how they are done:


mysql side:

run_datetime datetime


postgres side:

run_datetime timestamp without timezone


They are both in the format like this in the DB - eg 2000-05-03 13:18:40.

It worked earlier today but is bugging out for some reason now -- is there an issue we're overlooking? :(

Mondrian 4: Closure table how to map?

$
0
0
Hi,
I am trying Mondrian 4 with a closure table, maybe I am not mapping it right and the documentation of Mondrian 4 seems to show a Mondrian 3.6 mapping. I do it now as shown below, as part of the Level is this indeed correct?

<Dimension name="organization" caption="Organization" table="alias1_8" key="organization-key">
<Attributes>
<Attribute name="organization-key" visible="false" keyColumn="ad_org_id" caption="Organization" hasHierarchy="false">
</Attribute>
<Attribute name="organization" table="alias1_8" keyColumn="ad_org_id" caption="Organization">
</Attribute>
</Attributes>
<Hierarchies>
<Level attribute="organization" name="organizationLevel">
<Closure table="alias1_8_OO" parentColumn="parent_id" childColumn="child_id" distanceColumn="distance"/>
</Level>
</Hierarchies>

MDX Formula

$
0
0
While evaluating Pentaho Analyser I found out there is a room for mdx formula in 'New Calculated Measure'.
I am looking to change ETL step with MDX formula. Wondering is it posible? I have one SQL like this:
SELECT ...
..
CASE WHEN dim1tableValue IN (...) AND dim2tableValue NOT IN THEN sum(myValue) ELSE 0 END
...
And it works. But that is hardcoded and every time something in ERP changes, I have to change my ETL step.
Is this possible to do with MDX formula? I tried something with IIf, Case, Tuples but didn't manage to get correct values with every dimension on rows/columns.
Example:My pre-last question on StackOverFlow
Best Regards and thanks!

Book Review: Pentaho for Big Data Analytics (November 2013)

New Map Component: Setting the Center Longitude and Latitude in the Pre Execution

$
0
0
As I query the database for the set of Longitude and Latitude coordinates to display the markers, I'd like to set one of these as the center of the map.
I figure I can do this by writing a function in the pre-Execution hook.

My question is how do I refer to the NewMapComponent in a function?
And are there centerLongitude and centerLatitude properties I can set the values into?

How to compile DynamicSchemaProcessor java

$
0
0
Dear Mondrian Team

Can you please help me with necessary import statements and packages to be used for compiling the DynamicSchemaProcessor code shown in "Listing 8.4. Dynamic schema processor" of "Mondrian in Action". I am using Pentaho 5 CE with Saiku plugin. Have tried compiling the code with following imports and I was able to overcome certain compilation errors.

import mondrian.i18n.*;
import mondrian.olap.*;
import mondrian.util.*;


However ended up with errors as below

DynamicSchemaProcessor.java:9: cannot find symbol
symbol : class InputStream
location: class DynamicSchemaProcessor
public String filter(String SchemaUrl, Util.PropertyList connectInfo, InputStream stream) throws Exception
^
DynamicSchemaProcessor.java:14: cannot find symbol
symbol : class IPentahoSession
location: class DynamicSchemaProcessor
IPentahoSession session = PentahoSessionHolder.getSession();
^
DynamicSchemaProcessor.java:14: cannot find symbol
symbol : variable PentahoSessionHolder
location: class DynamicSchemaProcessor
IPentahoSession session = PentahoSessionHolder.getSession();
^
DynamicSchemaProcessor.java:21: cannot find symbol
symbol : class PatternSyntaxException
location: class DynamicSchemaProcessor
catch (PatternSyntaxException pse)
^
4 errors


Thanks and Regards

Bigdata Greenplum DBA Online Training

$
0
0
Prime Online training is the leading online training provider in India.
Online training is helpful when individuals are in separate or remote locations and it is not feasible to travel because of time, budget, or familial connections.We work on flexible timings that match Global audience.
We are pioneer in the industry to provide Robust online training over world wide web.

Now We are Offering Big Data Greenplum Online training.

Course Content:


  • Greenplum Architecture
  • About Distributed Databases
  • About Greenplum Query Processing
  • Access control and security
  • Configuring Client Authentication
  • Accessing the Database
  • Defining Database Objects
  • Managing Data



please contact for more details
India : +91 9573481637
US : 732-365-1440
info(at)Primeonlinetraining(dot)com
Web:http://www.primeonlinetraining.com/b...nline-training

Pentaho CE with RedShift

$
0
0
Hi,

I would like a honest answer. Is there any possibility to connect Pentaho CE with Amazon RedShift.
I did not find an answer while Google-ing.

Thank you,

Aggregating calculated fields

$
0
0
I am having a problem where if I apply a(n exact) formula to a field the metadata SQL generator will not apply the chosen aggregate.

In one of my table "[REPAIRS]" in my database I have a field "[REPAIR_PRICE]" which is stored as the actual repair repair price multiplied by 100 (so 25 is stored as 2500). So in my model I've got a field with the name "Repair Price" and the exact formula "REPAIRS.REPAIR_PRICE/100". If I select this "Repair Price" column in the metadata qUERY bUILDER I get this SQL -

Code:

SELECT
    REPAIRS.REPAIR_PRICE/100 AS COL0
FROM
    REPAIRS REPAIRS

Which works as expected. However if I try to apply an aggregation to the column I get this SQL -

Code:

SELECT
    REPAIRS.REPAIR_PRICE/100 AS COL0
FROM
    REPAIRS REPAIRS

When I would have expected -

Code:

SELECT
    SUM(REPAIRS.REPAIR_PRICE/100) AS COL0
FROM
    REPAIRS REPAIRS

The same SQL each time.

If I change the formula to "REPAIR_PRICE/100" and disable exact I get this SQL -

Code:

SELECT
    SUM(REPAIRS."REPAIR_PRICE/100") AS COL0
FROM
    REPAIRS REPAIRS

Which is correct except for the quotation marks.

Does anyone have any way around this issue? The DB server is MSSQL and I'm using the JNDI driver.

Crosstab

$
0
0
Hi, i am new to pentaho report desinger, can any body tell me how to make cross tab in pentahoo... thanks advance for help

Single Header Field in pentaho report is not visible

$
0
0
HI, I designed an report in pentaho 5.0.While I preview that in HTML file every fields in header is visible but in PDF some header fields goes invisible. Did so many corrections in report designer but if one end is visible the other end goes invisible. Let me attach PDF file and HTML file here. Plz share your suggestions.
Attached Images

Dynamic y-tick-interval

$
0
0
I want to define dynamically a value in y-tick-interval within a chart in pentaho report designer.

We can specify many languages as javascript, groovy and so on ... But i actually can't find how to use them :s
Do you have any examples to suggest ?

How to generate big excel output file ?

$
0
0
Hi ,

I have one procedure that give the output as a one table ,
The output table have 40000 rows and 143 columns.
I have to generate one Excel file of this output.

So how can i export that table in Excel format using kettle steps ?
I tried csv using "bulkload from mysql into file" table , but problem is it comes with delimiters and no headers.
Also i try "Select Into Outfile" with xls, but I found that it is just working with csv and Text files.
Microsoft Excel Output and Microsoft Excel Writer is not working with this big output.

How to solve this ??

Is it poddible to encrypt and decrypt data in kettle??

$
0
0
I need to transfer data from oracle ebs which is on my private network to mysql on cloud which is on public network . Does Kettle provides me a solution for this ?
I need the data transfer to be secure..

Array or List data type in Kettle

$
0
0
Hi All
We come accross one requirement where we need to collect the List of table records and pass as variable to next transformation . The next transformation is having User defined Java class step which call Method with this list variable (of table records ) as input parameter.

In kettle we have only below data type .With these data types we can not send list or Array to next step . Please let me know any work around or solution for the same .

  • String: any type of character data without any particular limit
  • Number: a double precision floating point number
  • Integer: A signed long integer (64-bit)
  • BigNumber: a number with arbitrary (unlimited) precision
  • Date: a date-time value with ms precision
  • Boolean: a Boolean value can contain true or false
  • Binary: binary fields can contain images, sounds, videos, and other types of binary data.



How to

Zip command not working in server

$
0
0
Hi all,

I have a shell script which will zip a particular file and place it in a same folder .

For that i have used shell script inside pdi .

When i try to run the job in server , am getting the error like zip command not found


but when i try running the same in unix server manually its working .

Can someone pls help me to sort out this ..

Thanks in advance
Vicky

String to date conversion

$
0
0
HI all ,

cannot convert string to date in pentaho ETL.

got specified error :-
org.pentaho.di.core.exception.KettleValueException:
Javascript error:
Could not apply the given format dd/MMM/yyyy on the string for Mon Oct 01 00:00:00 IST 2012 : Format.parseObject(String) failed (script#1)



Any help would be highly appreciated .
Attached Files

Tomcat error 404.

$
0
0
Hello, i have installed BI server SE 5.0.1 and i was running it without any problem until i started to get 404 tomcat errors. Is it possible that the problem starts because i have deleted the default admin user? I have defined another admin.
If this is the problem, how can i fix it?

This is the catalina Log of the latest attempt:
catalina.2014-02-07.log

Thanks!!!!
Attached Files

Services and explanations to assist in Optimizing Business routines

$
0
0
Express and elegant decision-making requires a holistic vision of any business. Preferably, decision makers ought to be able to collect, examine and take steps on information from all key stakeholders – including staff, associates, shareholders, suppliers, clients and controllers. Also, organizations frequently comprise an immense sum of formless data repositories amass in excess of the days, but an inadequate capacity to renovate it into significant and easily reached information.

To speak to these disputes, companies need an effectual resolution that offers a wide-ranging view of the business by connecting inputs from significant stakeholders and providing a structure for measuring and communicating success

Rolta helps you attain this from beginning to end of the structural design scaffold that interprets business solutions into services which help impel business outcomes through best possible consumption of processes, application, data, and content assets.



You can check for more information on their website:- http://www.rolta.com/americas/servic...ntelligence-2/
Viewing all 16689 articles
Browse latest View live


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