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

Environment Variables

$
0
0
Sorry, new to Pentaho.

Where & how do I set the environment variables such that I don't have to retype them every time I open up spoon.

Thanks

Table to popup table

$
0
0
Hello,

I have a simple table with a clickaction to open a popup with another table in it.
But it doesnt work.
This is my clickAction code on the main table component.

function f(){
var jaar = Dashboards.getParameterValue("Year");
Dashboards.fireChange("Year1", jaar);
render_PopUpComp.popup($(this.event.target));
}

The second table component has listeners Year1 and parameters Year1.
However it doesnt show.

HTML objects are Row: Popupcontent Column: Popup
Popupcomponent name is PopUpComp.
second table component name is Popuptable.

Can you please help me?

Joey

Spoon graphic issues under Linux

$
0
0
Hi,

I am a new user trying to get spoon running properly under Linux.

It starts like it should, and all the features work properly, but I am experiencing a small but annoying graphic issue.
When I try to view the job history, it looks like this: http://i.imgur.com/t4oPnLW.png

On a colleagues client running under windows, the output is nicely divided into seperate rows, where I get it in a big blob, making it very hard to read.
My console window is spamming tons of lines looking like:


(SWT:12883): GLib-GObject-WARNING **: /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gobject/gclosure.c:688: unable to remove uninstalled invalidation notifier: 0x7f2aa78104c0 (0x7f2af9d41110)


(SWT:12883): GLib-GObject-WARNING **: /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gobject/gclosure.c:688: unable to remove uninstalled invalidation notifier: 0x7f2aa78104c0 (0x7f2af9d41110)


(SWT:12883): GLib-GObject-WARNING **: /var/tmp/portage/dev-libs/glib-2.42.2/work/glib-2.42.2/gobject/gclosure.c:688: unable to remove uninstalled invalidation notifier: 0x7f2aa78104c0 (0x7f2af9d41110)
2015/07/20 10:59:30 - Spoon - Spoon


(SWT:12883): GLib-CRITICAL **: Source ID 27152 was not found when attempting to remove it


(SWT:12883): GLib-CRITICAL **: Source ID 27162 was not found when attempting to remove it


(SWT:12883): GLib-CRITICAL **: Source ID 30243 was not found when attempting to remove it
2015/07/20 11:01:34 - Spoon - Spoon


(SWT:12883): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed


(SWT:12883): GLib-GObject-CRITICAL **: g_closure_add_invalidate_notifier: assertion 'closure->n_inotifiers < CLOSURE_MAX_N_INOTIFIERS' failed


Has anyone else experienced this and/or know what I could do to fix it?

How to make my report column name dynamic?

$
0
0
Currently, I'm writing single value query on data set and using that single value query to get dynamic report column name using function: Open formula: =SINGLEVALUEQUERY("SingleValueQueryNameOnDataSet")OR
=SINGLEVALUEQUERY("INC1")


This way I can get dynamic column name for my report, but the problem is that I'm getting a 'warning' on PRD log file "C:\Users\HP14\.pentaho\logs\prd.log" which says that:


2015-07-20 15:09:30,552 [3723672] WARN - org.pentaho.reporting.engine.classic.core.states.datarow.FastGlobalView - Warning: Data-Set does not contain a column with name 'INC1'



My data set query looks like :

"SELECT name FROM income_product where order_no=1"

-------------------------------------------------------------------------------------------------------------------------------------------
Is there a solution that I can fix that warning or another way to get dynamic column name for my report?
Or can I just ignore that warning message?

Kettle External Encryption Integration

$
0
0
Hi
We have enhanced Kettle for using external Encryption. Attached is the enhanced source files.
Steps to use
1. Create an implementation based on KettleEncryptionInterface.java
2. Add a property&nbsp;KETTLE_ENCRYPTION_CLASS in your kettle.properties referencing the implemented class name
3. Create a jar for your implementation class and copy to libext under Kettle root
4. Add the new jar location to your classpath in all your Kettle shell and batch files.
Thanks
Kishor
Attached Files

Looking for pentaho report designer 4.0

$
0
0
Hi everybody ,

I m looking for a spesifique vesion for PRD 4.0 .
- I want to use it for the automatique crosstab . I have PENTAHO BISERVER 4.8 and I can't use the new version of PRD upper than 4.0 because I can't publishing in the PENTAHO BISERVER 4.8.


Thanks..

Report file compatibility between Designer versions

$
0
0
Hi!
I developed some reports using the report designer version 5.4.0.1-130. The reports are working fine. Then I saved the .prpt files and took them to another machine wich is running version 5.0.1-stable. When I try to open the .prpt files in the designer of the later, a pop-up windows keeps running on and on without stopping, saying "please wait" and "loading report"...
Are designer's files incompatible?
Is there any way I could transform my files?
Thanks, Marcelo.

Comparing and Dropping Data

$
0
0
Hello,

I have created a filter with the following condition: Field_000 = SE. If the condition is true, the values write to one file. If false, the values write to a separate file. Each file has a RecordGr field in common. I want to take the list of RecordGrs from one file and drop them from the other file.

I believe I may need to use the scripting function, but per my research of the forum, that isn't the recommended approach.

Please help!

CDE Problem with moving column headers (and other table items)

$
0
0
I'm having an issue with CDE.

I'll create a table. Edit the Column Headers for the table.

Ooops. I forgot a column, so I'll go back and add it. Then I'll try to drag and drop the column UP to the correct point.

All works fine. I hit ok. Then I reopen and the changes haven't taken.

I'm guessing this is a known bug?


This is in 5.4.130

Export Parameters from Subreport

$
0
0
Hi everybody,

I am working in a report with 1 subreport and I need to export information from the subreport to de parent. In order to archive this I do de next.

  1. Create a subreport
  2. Define a query ex: Select id from customers limit 1;
  3. Define export parameter ex: Outer Name: id, Inner Name: id
  4. I go to the parent report where I use a number-fiel and in attributes -> field: id


Once to this point I am notified a warning WARNING: Element '' references invalid field 'id' in attribute 'field'. And I never receive the id from the subreport.

I tried also to use a OpenFormula and define it as =[id] or even =TEXT([id]) but it do not work

I have no idea why it do not work, I found some examples http://jira.pentaho.com/browse/PRD-2391 which didn't work.

I also debugged Pentaho Report Designed:

Code:

2015-07-20 19:20:42,499 [1878575]  DEBUG - org.pentaho.reporting.engine.classic.core.sorting.SortingDataFactory - Empty data, therefore no sorting.2015-07-20 19:20:42,500 [1878576]  DEBUG - org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory - No Referenced fields, caching is disabled for query 'Query 1'.
2015-07-20 19:20:42,500 [1878576]  DEBUG - org.pentaho.reporting.engine.classic.core.sorting.SortingDataFactory - Empty data, therefore no sorting.
2015-07-20 19:20:42,500 [1878576]  WARN - org.pentaho.reporting.engine.classic.core.states.datarow.FastGlobalView - Warning: Data-Set does not contain a column with name 'id'
2015-07-20 19:20:42,501 [1878577]  DEBUG - org.pentaho.reporting.engine.classic.core.sorting.SortingDataFactory - Empty data, therefore no sorting.
2015-07-20 19:20:42,504 [1878580]  DEBUG - org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory - No Referenced fields, caching is disabled for query 'Query 1'.
2015-07-20 19:20:42,504 [1878580]  DEBUG - org.pentaho.reporting.engine.classic.core.sorting.SortingDataFactory - Empty data, therefore no sorting.
2015-07-20 19:20:42,504 [1878580]  WARN - org.pentaho.reporting.engine.classic.core.states.datarow.FastGlobalView - Warning: Data-Set does not contain a column with name 'id'
2015-07-20 19:20:42,511 [1878587]  DEBUG - org.pentaho.reporting.engine.classic.core.cache.CachingDataFactory - No Referenced fields, caching is disabled for query 'Query 1'.
2015-07-20 19:20:42,511 [1878587]  DEBUG - org.pentaho.reporting.engine.classic.core.sorting.SortingDataFactory - Empty data, therefore no sorting.
2015-07-20 19:20:42,511 [1878587]  WARN - org.pentaho.reporting.engine.classic.core.states.datarow.FastGlobalView - Warning: Data-Set does not contain a column with name 'id'
2015-07-20 19:20:42,549 [1878625]  ERROR - org.pentaho.reporting.designer.core.util.exceptions.UncaughtExceptionsModel - Unexpected Error encountered:

Could some one give me a hint ? or even a solution ?

Thanks a lot!

Error Listing Queries - CDA

$
0
0
Hi Forum,

I have given 3 JDBC sql overjdbc in CDE. Left 1st and 3rd one with out providing any properties(username, driver class, password and query and etc - which makes proper connection and executes sql).

for second one provided all the properties(all the properties are correct).

Problem : While testing :
I just wanted to check whether the 2nd query is resulting or not using CDA but I stopped with "Error Listing Queries".
I removed 1st and 3rd queries (which were not fed by any properties) and checked for 2nd query result. Now it is resulting.

So, Is the order of queries with all properties provision mandatory ? Why this behavior with sql queries when no properties provided ?

Thank you in advance . :-)

Analysis/Interactive Reports with PDI transformation as data source

$
0
0
Hi all,

I'm pretty new to the BI sides of Pentaho, with regards to creating new reports and dashboards. However, for the life of me I can't find a way to utilise a PDI transformation as a data source the same way as I can using the Report Designer. Is this possible?

And if not - does anyone have any recommendations on how to keep data up to date (preferably on demand), without having to run the PDI job every (eg.) 5 minutes.

Cheers,
Dwayne

Pentaho-Mobile for android.

$
0
0
Hi,

We have developed reports in 5.2 connecting to cloudera hive 5.1 version.
Can anybody tell whether pentaho 5.2 is compatible with android mobile OS?

Till now we have found pentaho apps of version supporting 3.5.2 in android Mobile apps.
(reference: https://play.google.com/store/apps/d...org.damour.ho5)

Strange date parsing error

$
0
0
Hello there,

running a transformation on my linux system (Debian 8, java version "1.7.0_79", Kettle 5.4.0.1-130) fails during date parsing:

Code:

2015/07/21 07:47:26 - Table error output.0 - TrialToLiveOn String : couldn't convert string [27.03.2011 01:40] to a date using format [dd.MM.yyyy HH:mm] on offset location 162015/07/21 07:47:26 - Table error output.0 - Unparseable date: "27.03.2011 01:40"
2015/07/21 07:47:26 - Table error output.0 -
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.convertStringToDate(ValueMetaBase.java:713)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.getDate(ValueMetaBase.java:1961)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.convertData(ValueMetaBase.java:3548)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.convertBinaryStringToNativeType(ValueMetaBase.java:1285)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.getString(ValueMetaBase.java:1469)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.RowMeta.getString(RowMeta.java:250)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.RowMeta.getString(RowMeta.java:724)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.trans.steps.tableoutput.TableOutput.writeToTable(TableOutput.java:377)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.trans.steps.tableoutput.TableOutput.processRow(TableOutput.java:118)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
2015/07/21 07:47:26 - Table error output.0 -    at java.lang.Thread.run(Thread.java:745)
2015/07/21 07:47:26 - Table error output.0 - Caused by: java.text.ParseException: Unparseable date: "27.03.2011 01:40"
2015/07/21 07:47:26 - Table error output.0 -    at java.text.DateFormat.parse(DateFormat.java:357)
2015/07/21 07:47:26 - Table error output.0 -    at org.pentaho.di.core.row.value.ValueMetaBase.convertStringToDate(ValueMetaBase.java:710)
2015/07/21 07:47:26 - Table error output.0 -    ... 10 more

Capture.jpg

Capture2.PNG

What I have is a transformation with some fields and also one for the date (Type: "Date"; Fromat: "dd.MM.yyyy HH:mm"). The field is just passed through the transformation to a table-output with also an error-handling table.
But as you can see the transformation fails for "27.03.2011 01:40".
Okay so far, but now it becomes strange ;)..
If I change the input date to one day earlier ("26.03.2011 01:40") the line will be imported.

Could somebody please help me with this?

Best,
Karsten
Attached Images

Pentaho 5.x - tenant per organization

$
0
0
Hi All,

We have a requirement where multiple organizations will be accessing Pentaho BA and one tenant needs to be created per organization.

To implement this, I have a couple of queries
- Do we need to create the tenants up-front or will it be done at runtime based on the logged-in user
- Do we need to just set the session variable org.pentaho.tenantId for the user post-login, or is anything else required to be done

Thanks,
Vinod

user can view the data between any given seven days only while generating report.

$
0
0
Please help me with the below query:


In PRD 5.0,user should able to select date between any seven days only.
Example:my start_date=2015-05-02
so my end_date=2015-05-09
Also user can select dates between start_date and end_date for these 7 days dates.



Thanks in advance.

Prachi

Pentaho Report width or span

$
0
0
Dear all,
I'd like to change the report width (or the span across) according to a custom parameter.
Is there any specific reserved parameter name for that? Is it possible to do what I need?

Thank you!

Abort Step within Transformation

$
0
0
I am trying to implement checksome for files so that i know the same file is not run again even if it has a different name.
I have an Abort Step within the transformation after the database lookup. I need the abort step as i will have few other transformations added to the job. The issue with the abort step is when it aborts the transformation fails and cannot move files within the job. I need to move these files.

I have attached the transformation. Any suggestions would be appreciated.
Attached Files

Problem reading file

$
0
0
Hello,
I have a .csv file made of numeric data, like this:

ID,MWC01,MWC02,MWC03,TARGET
1,7,3.434,4.143,0.9787
3,33,5.056,5.911,0.4133
4,23,4.691,5.533,0.468
5,21,4.71,5.624,0.7355
6,38,5.198,6.043,0.0851
7,35,5.118,5.953,0.4057
8,23,4.727,5.595,0.9726
9,29,4.977,5.883,0.7021
... (on and on)

Fact is, TARGET column is being read as nominal instead of numeric. If I try to convert the file to .arff, in fact, I get

@attribute TARGET {0.9787,0,4133 and on and on}

What can I do? Thank you!

Migrate Data From MS SQL Server To ElasticSearch 1.6.x

$
0
0
Hi Expertzzz..

We need to migrate data from SQL Server to ES but we have found that the lib used in PDI 5.4 is very old (0.16.3) which is making my task hard and i am not able make connection with ES cluster 1.6.x.
We tried updating the lib but those are not compatible.... :(
Is this existing issue that the lib are not updated for ES in PDI.

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


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