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

[Parent-child hierarchy] Retrieve value for level without children aggregation.

$
0
0
Hello,

I am trying to make an MDX query able to retrieve each node value for a parent-child hierarchy withou aggretatting values for children. But I am unable to do so.

This is an example parent-child hierarchy, like the one I have:
parent-child.png

As you can see, the lowest level (D) has a value of: 56.998.

I know that D's parent (C) has also the same value: 56.998
But when asking for C values, Mondrian is taking into account not only the C own value but also all it's children aggregation value. Do any know how to construct an MDX query that only retrieve facts for each level without aggregating its children level facts?

Regards,

Alvaro.
Attached Images

BI Server scheduler - send multiple reports with one task

$
0
0
Hi,

I'd like to send multiple reports with one scheduled task, but can't see how to do this.
Is it possible ?

Encounter error when publishing schema to HTTPS Pentaho Server

$
0
0
I am able to publish the schema to HTTP Pentaho Server. But I encounter an error when publishing to HTTP Pentaho Server. The error is "Unable to publish your file. Please try again or contact your system administrator for assistance."

What could have caused the error? Any settings that I need to take note of?

How to insert a dynamic count from one DB into another one?

$
0
0
Hi!

Here's the situation :
  • one database A with several tables (TA1,TA2,TA3,....)
  • one database B with one table like this [TA_names, TA_count]


I want to populate B table like this :
  • TA1 - 20 (rows)
  • TA2 - 156
  • TA3 - 7
  • ....


B table already have TA_names, so how can I update TA_count with something like "select count(*) as from ?"

Thanck's

One user account can be used by infinite users

$
0
0
Dear all,

Infinite users can access Pentaho by using only one user account parallelly.

If anyone knows about How to limit one user account by one user, please guide me...

Thank you..

Need help with box plot chart

$
0
0
Hi,
I am using box plot chart component in pentaho CDE. I am providing data in below format:

Category | Median | P25 | P75 | P5 | P95
P1 | 50 | 40 | 60 | 30 | 70
P2 | 80 | 65 | 95 | 45 | 110
P2 | 50 | 45 | 56 | 20 | 63


But, I am not getting expected output. I am getting just 5 horizontal lines for each category. Do I need to set any property to getactual chart output?

Please help.

Child added across parents

$
0
0
We have a time dimension with Year-Month-Day levels (uniqueMembers NOT checked on the Schema definition).

We can get a simple Saiku table with Sales for each Year-Month, but no way to get a Chart with the correct data, months of all years are added up so we always get 12 months instead of a whole serie.

Saiku: switching from Table to Chart shows the correct results ... switching to MDX mode shows the code as

Code:

SELECT NON EMPTY {Hierarchize({[Measures].[Sales]})} ON COLUMNS,
NON EMPTY {Hierarchize({{[TimeDimension.DayHie].[YearLev].Members}, {[TimeDimension.DayHie].[MonthLev].Members}})} ON ROWS
FROM [CubVendes]

Clicking run and we get an additional columns for each year (columns we don't need at all). Curious enough than the generated MDX doesn't show the same results.

Now copying this MDX to a CCC Bar chart on CDE ... and we get only 12 columns with months of all years added up + the yearly sums :mad:

We have tried all syntax we can imagine with no luck.

Any idea would be appreciated. We just need one column per each month of each year ... seems simple enough :)


NOTE: Results are exactly the same without the "Hierarchize" function call.

Data need to be filtered and sum market value and shares based on Transaction value

$
0
0
Hi Friends!!

Good Evening..


I am looking for the solution where ,I can do calculation on the below data.

Entity_Id Account_Name Trans_Code Total_Share Market_Value
10001 Growth Fund Buy 100 1000
10001 Growth Fund Sell 100 1000
10002 Aggressive Fund Buy 1300 13000
10002 Aggressive Fund Sell 450 4500
10003 Income Fund Buy 250 2500
10004 Brokerage Fund Buy 200 2000
10004 Brokerage Fund Sell 100 1000


and convert it into the below output through spoon and how?
Please help me I am new to pentaho...

Entity_Id Account_Name Total_Share Market_Value
10001 Growth Fund
10002 Aggressive Fund 850 8500
10003 Income Fund 250 2500
10004 Brokerage Fund 100 1000

Please find the attachment.
Attached Images

unable to change grid width in pentaho report designer

$
0
0
Unable to change grid width in pentaho report designer. When i add multiple columns the field disappears. So when i try to change grid size ( properties, grid size ) it is reset to 6.0 inch and i am unable to increase it. pls help

Creating common style template for PDF-exported reports

$
0
0
Hello,

Is it possible to create a template that will have style properties for report header elements, group elements, and detail row elements, etcetera? I'm referring to things like font face, font size, text colour, padding, background colour of rectangles, size of rectangles.

Ideally I'd be able to create such a template and them apply it to a report when I start to work on a new report. When I drag elements onto the new report, they would inherit the styles of the template.

These reports will be exported to PDF when run in production, i.e. they will not exist in a web container.

Thanks for any help,

Ryan

PDI-CE Architecture / Functionality

$
0
0
I'm getting a bit mixed up on the Data Integration component of the Pentaho Business Analytics Platform:

1. I'm reading the InfoCenter docs which indicate that the ETL component is Data Integration (PDI) and the BI component is Business Analytics (PBA) and both have a bunch of sub-components and optional plugins. It further states the the desktop / client applications for ETL comprise of Spoon, Kitchen, Pan and Carte, as well as a separate DI server for security, versioning, and scheduling, etc. Now then, I'm simply using the PDI-CE version and assumed this architecture would the same albeit with reduced functionality - at least that's what the youtube videos I've been watching seem to indicate - however, I am unable to locate any separate DI server that I can install alongside my local PDI-CE version. Please can somebody clarify if PDI-CE can work with a DI server? because it does seem to offer the possibility to connect to a repository, but I thought that was managed as a service and required the DI server to be installed? In fact, am I basically reading the EE documentation? as I've just found a separate set of wiki documentation that is specifically for PDI (kettle).

2. I'm following this tutorial: http://infocenter.pentaho.com/help/i...formation.html and the relevant sample data IS bundled with PDI-CE but I'm stuck at the database connection step. Apparently I should have a local database installed of the "H2" connection type that I can use for writing my output to. Obviously I don't have any such database installed but there's a yellow box in the tutorial suggesting that this is all related to the DI server again. So is database installed as part of the DI server? and how does it fit in with the PDI-CE version I'm using?

Disclaimer: I'm not dumb (i.e. I know what an ETL system is, coming from an Informatica and Oracle background) but I'm new to Pentaho and have clearly failed monumentally to grasp the architecture of this product.

Please respond fast! :D

How to generate separate excel sheets from single workbook which has multiple sheets

$
0
0
Hi,

I have a excel workbook which has five sheets. I need all these five sheets separately.

Please help me with this.
Attached Images

Integrar reportes sin sentencias sql complejas

$
0
0
Saludos,
Soy nuevo en Pentaho, y quisiera saber si es posible unir el resultado de dos sentencias SQL. Es decir de la primera sentencia SQL, retorna un resultado del cual requiero un registro para armar la segunda sentencia SQL, una vez que tenga el resultado imprimir esto en un solo reporte.
Esto es posible?
Gracias por su ayuda.
Roberto

Performance issues using SQL step fpr CREATE TABLE AS SELECT via DBLINK

$
0
0
Hi there,

we following issue: On starting a CREATE TABLE AS SELECT statement within the SQL-Step of a transformation the execution time is 2-5 times slower than executing the same statement in TOAD. The SELECT within the CREATE is using a DBLINK to pull the data fom another schema. Table size differs from a few MB up to 150GB.

It is an Oracle-Database 10g/11g. The user is the same for TOAD and Pentaho.

Does anyone have an idea why there is the difference and how to improve speed in pentaho?

Regards
Michael

Get Multiple rows Using Stream Lookup

$
0
0
Hi,

Is it possible to get multiple result rows after evaluating a stream lookup step in pentaho?
I have been trying this using 2 CSV Iput file using keys.Result set always contains one row. But I want the eliminated rows as well, for error handling.



Regars,
Ramya K

Customizing Pentaho Report Designer

$
0
0
Hello,

I want to use the (PDR) Pentaho Report Designer for a task a little different than what it was probably thought for: instead of reports, the documents I create with PRD represent ticket layouts for me, in the sense of tickets for event seats. I have used the PRD successfully and it will save a lot of time to my company. But for it to be the perfect tool, I need some changes, mainly constraints applied to the software as available in github.

I want any corporate user to be able to design a ticket layout for an event, but depending on the user role, they may be able to only see certain events, sessions, etc:


  • the user must authenticate in order to determine the access rights to data such as: facilities, events, sessions, etc.
  • instead of freely create new reports, the user will select Facility>Event>Session>Rate>Format and that will open an univocal document. This document is what I shall call Ticket Template. If it existed already, then open it in the state it last was; otherwise, open it in the initial state.
  • The initial state of the template ticket only shows the detail row (the structure tree tab can be hidden); the width and height as well as the guides are fixed according to the ticket format selected; the data source must be automatically set depending on the Rate.
  • When the ticket template is published (maybe using the Pentaho server), it should stay accessible by the PRD itself and other applications, e.g. later edition by the same or different user; thus it must remain properly identified.
  • Other unneeded functions shall remain hidden, e.g. datasource edition.


I have built and executed both the PRD and the Pentaho server successfully from the github sources; they look great!

I can start to dig into the codes and try to figure out how things work, but what I would really appreciate is some guidelines as to how best attain my goal and, even better, how could they serve the community.

Any comments will be appreciated. Cheers,

Claudio

Order by in Oracle query

$
0
0
Hi Guys,

Simple query return string ordered by asc (mean numbers first then letters).

Why PDI transformation return letter first ?!? Is any way to change this behavior ?


Query :
SELECT COD_VALEUR
FROM TBL_VALEURS
WHERE TXT_VALEUR='Computer'
ORDER BY COD_VALEUR

Result :
COD_VALEUR
PA <---
P0
P1
P2
P3
P4
P5
P6
P8

Child added across parents

$
0
0
We have a time dimension with Year-Month-Day levels (uniqueMembers NOT checked on the Schema definition).

We can get a simple Saiku table with Sales for each Year-Month, but no way to get a Chart with the correct data, months of all years are added up so we always get 12 months instead of a whole serie.

Saiku: switching from Table to Chart shows the correct results ... switching to MDX mode shows the code as

Code:
SELECT NON EMPTY {Hierarchize({[Measures].[Sales]})} ON COLUMNS,
NON EMPTY {Hierarchize({{[TimeDimension.DayHie].[YearLev].Members}, {[TimeDimension.DayHie].[MonthLev].Members}})} ON ROWS
FROM [CubVendes]

Clicking run and we get an additional column for each year (columns we don't need at all). Curious enough than the generated MDX doesn't show the same results.

Now copying this MDX to a CCC Bar chart on CDE ... and we get only 12 columns with months of all years added up + the yearly sums :mad:

We have tried all syntax we can imagine with no luck.

Any idea would be appreciated. We just need one column per each month of each year ... seems simple enough :)


NOTE: Results are exactly the same without the "Hierarchize" function call.

No logro ejecutar sentencias SQL a traves de una conexión ODBC 64 bits en Windows

$
0
0
Saludos,
Tengo una conexión ODBC 64 bits configurada en mi equipo Windows 7 64 bits y al configurar Pentaho Report Designer, escogí: JDBC como ingreso de datos y cree la conexión ODBC con sentencias SQL. Al escribir una sentencia SQL a traves del editor, tengo el siguiente error:

org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT
a.`CODIGO_PROVEEDOR_EMPRESA` AS Ficha,
a.`VENDOR_NAME`,
a.`FIRST_NAME`,
a.`PortalWeb_ID_Acceso`,
a.`PortalWeb_Acceso`,
a.`__________1`
FROM
`PROV_Ficha_Principal` a
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:214)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:162)
at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcPreviewWorker.run(JdbcPreviewWorker.java:95)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLException: Invalid handle
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7136)
at sun.jdbc.odbc.JdbcOdbc.SQLRowCount(JdbcOdbc.java:5071)
at sun.jdbc.odbc.JdbcOdbcResultSet.calculateRowCount(JdbcOdbcResultSet.java:6237)
at sun.jdbc.odbc.JdbcOdbcResultSet.initialize(JdbcOdbcResultSet.java:154)
at sun.jdbc.odbc.JdbcOdbcStatement.getResultSet(JdbcOdbcStatement.java:423)
at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:253)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrizeAndQuery(SimpleSQLReportDataFactory.java:376)
at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:209)
... 3 more


Como puedo solucionar este problema?

Saludos,
Roberto

CDE - Where to find error messages

$
0
0
Hello,

I'm new to CDE and I'm trying to build my first dashboard. Single frame with a simple bar chart. Data source is "SQL over sqlJndi"
When open the dashboard, I have an error message "Error processing component (chart_bar_01)" which is generic message. I suspect something wrong with my data source but I can't figure out what.
There must be some other more meaningful error messages stored in a log file but I don't know where (nothing in pentahlo.log nor in catalina.out).
Anyone to guide me through my first steps with CDE?

Thanks in advance.
Franck
Viewing all 16689 articles
Browse latest View live


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