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

PRD : number formatting not applied when report is generated via PDI

$
0
0
Hello,
I have a PRD report (.prpt), where i have applied a format like #,##0 for number fields, so that i have the thousand separator ','.
When this report is published to console, i see that comma for large values.
But when the same report is generated via PDI (using the pentaho reporting output) - accessing the prpt from the published location, there is no comma !
Why is that ?


Here are the details of the problem :


  • Number field in prpt file, with formatting applied like $#,#0.00
  • Preview this report in xls, or export to xls from PRD - desired formatting is visible.
  • Publish this same prpt to the Pentaho console and view it there - desired formatting is visible.
  • Use PDI to generate report (pentaho reporting output step) and save it on a local location - desired formatting is NOT visible.
  • Use PDI to generate report and then use Mail step to email the same report as attachment - desired formatting is NOT visible.


PDI version 4.4.1
PRD version 3.9.1-GA.16112

I'm really hoping the solution is as simple as a setting some attribute !


Thanks a lot !

CDE Connection problem

$
0
0
Dear all,
I tried to build a dashboard with CDE plugin.I have a problem in the connection to the datasource.
My database is oracle 10g. first I have to use Jndi or Jdbc? and what about the configuration?:confused:
Pleaaaaase help me :(:( it's urgent.
Thanks in advance

break CDE dashboard layout on IE8

$
0
0
Dear all.

My CDE dashboard layout works fine om IE 10, but I do not know why it's break layout on IE8, Who can explain for me the reason ? and Is there any ways to fix layout on IE8?
bestregard
Sac Pham

how to use CDE table component of Paginate server-side

$
0
0
hi all!
how to use CDE table component of Paginate server-side?
thanks!

execute specific query in after filter rows

$
0
0
Hi,
In my diagram at a certain point, I have a filter rows. If the result is TRUE I would like to do a SELECT otherwise (FALSE) another kind of select. I did it with two table input objects.

Actually, after the filter rows, both the two tableinput are executed may be because are initialized at the start. I've also tried with the SQL script but it seems to has the same behavior.

How Can I do that?
Thanks

Operate over range date - Guidance

$
0
0
Hi,

I have customers that receive a given service for a current time. An exceprt of the fact table would be

Code:

customer_id INT,
service_id INT,
start_date INT,
end_date INT,

I have a Time dimension. I'd like to know how should I design my cube, so for a given date I could know whcih service and which customers are concerned.

If I tight it to either start_date, or end_date it would give me the customer that have a start date being in the current selection, but not during.

Thank you,

Bullet Chart - setting x-axis start value.

$
0
0
Hello

Im making a CCC Bullet Chart, and i have mainly values between 99 and 100, becouse they are measurements in percentage. In this case, indicator bars are nearly "full", and my chart is not good as it could be, if x-axis first value would be 80 instead of 0 (zero).

So, now x-axis ticks are between 0 and 100, but my values are mainly 99.x . I want my chart to indicate values only between 80 and 100, so 99.x values would be shown better. -> differencies between bar values would be better shown.

Cheers

font bar chart

$
0
0
Hi,
Is it possible to change the dimension of the font of the x-axis of a bar chart?
I have saw another topic about this problem but hail from 1 year ago.
I have already tried with xAxisLabel_font, barLabel_font, baseAxisLabel_font wihout results.

Thanks

set update field in MySQL via CDF

$
0
0
I set up a dashboard and everything works fine :)

Now I' have to update a value in my database following the info showed by my dashboard;
is it possible to connect to the DB MySQL and set a field in a table via a javascript (or something like that)?

Thx

Map component zoom change handler

$
0
0
Hi all,
i use the ccc2 framework of ctools.
I would like to handle the zoom changing event of my OpenStreet Map of the MapComponent. Is it possible?

Thanks in advance.
Marco

Unable to create reusable Job similar to reusable transformation ...End less loop err

$
0
0
Hi,
We are implementing restartability from point of failure by creating touch files.
But as these steps are repeating I thought of creating a common wrapper job which accepts
job/transorfmation path name,job/transformation name as paramters and carrying out the
if then else with the files.
Assume that I have a master job J1 and it calls a child job J2 which has two child jobs J3 and J4
and I am calling J2,J3 and J4 using this wrapper job. But the problem is
I am getting endless loop error when I run master job as it says the say wrapper job is calling
itself.
Is it possible to use a reusable job just as we use transformation.
Please let me know it...
Creating if then else file exist condition for each of the job is tedious so I thought to create a single
job and call it.
The reason to create a single wrapper job was that it could check the file existance and also it call the transformations
or job from it
Please help...

Regards,
Pramod.

MeasureExpressions and Calculated Members in Pentaho User Console CE

$
0
0
Hello,

I would like to display the difference between two date columns belonging to the database table contained in a data source, which I have created with the Pentaho User Console. Unfortunately, the Console does not seem to let you create Measure Expressions or Calculated Members.

Any suggestions?

Many thanks.

piht

PS I am using the latest version of BIServer CE: 4.8.0 and Oracle 11g is my DBMS

Report takes too much time redering in excel

$
0
0
Hi,

I have 21K odd records in DB. My report has 30 fields and header to display. It takes almost 8 to 10 mins to display report in excel.

I am using SQL server as DB. Data is getting retrieved from a stored proc. DB returns same data in around 26-30 secs. I am using JNDI connection at pentaho side.

Why is it taking so long? Is there any way to make it faster?

Regards,
Jayesh

xAxisLabel_text

$
0
0
Hi,
I have set xAxisLabel_text = function(d){return'$ '+ sprintf('%d',d/1000)+'k'} but not seem to work.
The same code works with yAxisLabel_text :confused: ($NaNk it's ok). Exists some parameters than can influence this extension point?
My graph is a bar graph with only default parameters. The x axys contain integer values, y axys contain text values.

My first objective is to resize the text at the y-axys, i need to see only the first 10 characters of the value.
This code don't work function(d){return d.substr(0,9)} and if i try function(d){return d} into the graph appear the text "Visual.cartesianAxysTickScene" :confused:
Is it normal?

Thanks

Execution order of Scheduled reports

$
0
0
Hi

I was searching for this in the forum, but I didn't find any post related, sorry if it's already answered.

Question is the following:

We are preparing to enabling report distribution by email in PUC, linked to a Public Schedule. We'd like to check if there's any limitation in the number of reports that can be added to a given schedule.
Is there a risk to the server stability in case that let's say there are 100 reports added to the same schedule?
Will Pentaho try to execute all of them simulatenously, or one by one, or they will be executed in batches of 5, 10 or other predefined parameter?
Can that execution behaviour be controlled via parameters?

Thanks in advance

Jorge

select a component

$
0
0
Hi,
I have a table named "mytab". If i use this code in PostExecution:

var table = document.getElementById("mytab");

The table variable is null, why?
Is there another method to do this job?
Thanks

Unexpected conversion error on Excel Writer

$
0
0
I'm guessing Slawo will be the best to solve this one =p

Whole transformation runs normal, without any problems at all... it ends on a sort rows, followed by Excel Writer. If I disable this final hop and try to preview on Sort Rows, I get an error without any messages. If I just run, final hop still disabled, no errors. If I enable the final hop and try to run, Excel Writer gives me this error:
Code:

Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error writing field (14,10734) : org.pentaho.di.core.exception.KettleValueException:
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected conversion error while converting value [MARGEM_CONTRIBUICAO Number(15)] to a Number
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleValueException:
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected conversion error while converting value [MARGEM_CONTRIBUICAO Number(15)] to a Number
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.core.row.ValueMeta.getNumber(ValueMeta.java:1451)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.writeField(ExcelWriterStep.java:510)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.writeNextLine(ExcelWriterStep.java:292)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.processRow(ExcelWriterStep.java:153)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at java.lang.Thread.run(Unknown Source)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: java.lang.ClassCastException: java.math.BigDecimal cannot be cast to java.lang.Double
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        at org.pentaho.di.core.row.ValueMeta.getNumber(ValueMeta.java:1396)
Microsoft Excel Writer 2 4.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :        ... 5 more

Pentaho Datasource Impersonation

$
0
0
Hello All,

Is there any workaround to imperonate datasource? We require to have each tenant access the database via its own db logon.

Thanks,
Sujen

Table Component column type 'Data Bar'

$
0
0
I have got a table with a column type 'Data Bar'. I would like to customize the bar colors.

Mysql JDBC/ODBC connection error(s)

$
0
0
Hi i know this is a common issue that it saves putting the 'mysql-connector-java-5.1.25-bin.jar' driver into 'C:\Archivos de programa\pentaho\design-tools\data-integration\libext\JDBC'.
But in my case this doesn't solves it. I tried so many variants, put it on 'libext', 'lib'... always the error message was:

Exception while loading class
org.gjt.mm.mysql.Driver

I think this error became of missing path or something...

I tried too to make a new database connection vía ODBC, and this way was succesfull. And then I tried to make a Catalog connection via ODBC, but new error message appears:
Error connecting to database: (using class sun.jdbc.odbc.JdbcOdbcDriver)
[Microsoft][Administrador de controladores ODBC] The name of the data source is too long

I'm using Kettle SpoonStable release 4.4.0 on windows XP, my dsn odbc name is 'pordsn'. Mysql version is 5.1.41.
Environment: CLASSPATH=.;C:\Archivos de programa\Java\jdk1.7.0_05;C:\Archivos de programa\pentaho\design-tools\data-integration\libext\JDBC
JAVA_HOME=C:\Archivos de programa\Java\jdk1.7.0_05
PENTAHO_HOME=C:\Archivos de programa\pentaho
PENTAHO_INSTALLED_LICENSE_PATH=C:\Archivos de programa\pentaho\.installedLicenses.xml
PENTAHO_JAVA_HOME=C:\Archivos de programa\Java\jdk1.7.0_05

Thanks for help
Eduardo
Viewing all 16689 articles
Browse latest View live