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

Set values dynamically to step "Row Denormaliser"

$
0
0
Hello everybody!

I have a requirement to pivot a table to send it as a .csv.

My main goal is to transform the data row of a column into several columns, which one as date. The extraction will be send every monday, containing data from the last 7 days. Because the date changes, I would have to dynamically set the values for the date to become automatic.

My Transformation is this way:

Screenshot from 2017-01-24 10-26-41.jpg

My Row denormaliser is like this:

row denormaliser.jpg

My query is returning something like this:

parceiro inserted_date servico valor type
xyz 2017-01-19 abc 9840 novos
xyz 2017-01-19 abc 1017 cancelados
xyz 2017-01-19 abcd 305074 base
xyz 2017-01-19 abcd 0 novos
xyz 2017-01-19 xpto 14 cancelados
xyz 2017-01-19 xpto 10457 base
xyz 2017-01-20 xpto 3100 novos
xyz 2017-01-20 qwerty 1378 cancelados
xyz 2017-01-20 qwerty 441693 base
xyz 2017-01-20 qwerty 9 novos

And the step Row denormaliser is returning what I need:

parceiro servico type 2017-01-17 2017-01-18 2017-01-19 2017-01-20 2017-01-21 2017-01-22 2017-01-23
xyz xpto base 46562 52744 58156 62053 64837 64682 60957
xyz xpto cancelados 609 730 771 527 405 260 548
xyz xpto novos 5262 6790 6140 4667 3310 250 3935
xyz abc base 10489 10470 10457 10443 10428 10413 9181
xyz abc cancelados 19 13 14 15 16 11 13
xyz abc novos 0 0 0 0 0 1 0
xyz abcd base 28605 28545 28503 28458 28413 28379 25181
xyz abcd cancelados 60 42 46 45 36 17 53
xyz abcd novos 2 0 0 1 0 2 1
xyz qwerty base 290215 296255 305074 306607 307360 306720 270586


My problem is that I need to change every week the fields Target fieldname and Key Value in Row Denormaliser step. Since I can not use variables, and I can only use one value in with step ETL Metadata Injection, what can I do?

I am using PDI 6.1 with Linux, and the database that I am conecting is Amazon Redshift, and it does not have pivot function like SQL Server or Postgres.

Thanks everyone!

Replace PDI 7

$
0
0
Doubt replace,

Before I used and would replace the value I would like, but now at the time of substitution turns the field into null, follows example

TESTE.ktr

result : 00380
Attached Files

Unable to Insert/Update Records in Existing SQL Table

$
0
0
I'm new to Pentaho (Spoon) though my experience with SSIS has proven to be helpful. In any case, I've been unable to insert/update records from my transformation into an existing SQL table.... I get errors indicating "Field name contains one or more spaces. database unfriendly!" (see attached). The problem appears to be the Insert/Update step is trying to update the existing table to include the data input column names (Excel Spreadsheet) rather than inserting or updating records in the table (I have mapped the fields). How can I update existing records in the table based on a key match or insert records if there is no match? :confused:. Do I need to add a step to Execute a SQL script instead? Thanks for any help on this.
Attached Images

How to add dynamic value in tooltip-formula?

$
0
0
Hi,

I have a report with an XY Line chart. I want to add a formula so that whenever I hover over that data point,
the tooltip shows the value of that particular datapoint.

I have tried playing around with the "tooltip-formula" property under Values Tab when you click on chart properties
but no success.

I can add : =[Column_Name]
But this sets the column name static with the first value from the data set for all data points.

Thanks
A

Salesforce Field Retrieval

$
0
0
I'm running a SOQL query in a Salesforce Input step which retrieves an object value:

Code:

SELECT Project_Checklist_Item__r.Project__r.ID
  FROM Project_Checklist_Item_Phase__c
 WHERE ID IN ('a03R0000009BwZ8IAK')

On the Fields tab setting the field to Project_Checklist_Item__r.Project__r.ID returns null (it's non-null when I run the query in SF Workbench). What do I need to do to get the value?

Updating different columns based on update or Insert

$
0
0
Is there a way to selectively set date fields based on whether it is an update vs insert? If the record already exists I'd like to update the modified date rather than the create date.....and if it is an insert, then set the create date and not the modified date.... If needed I can use a filter step, but was hoping this could be done in 1 step. Thanks for the input on this.

How to connect to a OLEDB Driver/Provider using Spoon.

$
0
0
Hi All,

How can we connect to OLE DB Provider from Spoon . Can any one share any reference documents or links regarding it.

Add sequence step cant find a sequence

$
0
0
Hi,
I am trying to use an 'Add Sequence' step from the DB.
The DBMS is SqlServer 2016
The connection works for other transforms and is using 'Ms SQL Server (Native) (JDBC) ,
The Schema name can be entered or selected from the 'Schemas' button but the 'Sequences..' button remains greyed out.
The sequence is in a schema that has 'Update' granted to this user.

If I type the sequence name manually then when running it gives an error
2017/01/25 16:00:08 - Add sequence.0 - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : Because of an error, this step can't continue:
2017/01/25 16:00:08 - Add sequence.0 - Error reading next value of sequence [dds_seq] from database
2017/01/25 16:00:08 - Add sequence.0 -
2017/01/25 16:00:08 - Add sequence.0 - Unable to get next value for sequence : "DATA".dds_seq
2017/01/25 16:00:08 - Add sequence.0 - The statement did not return a result set.

I have tried lots of variations with square brackets etc and it ends up the same.

I see this problem has been reported before - years ago - and with different DBMSs but no 'solution' was shown.

Any ideas ?
Thanks in advance
JC

How to include the Pentaho user in a query

$
0
0
Hi, I have just registered and this is my first question to the forum.

I am using CCTools to show some reports in Pentaho Community and I would like to parametrize a query with the Pentaho user name.
I like to personalize the information showed depending of the user. I will not use admin, that's clear, but I have created some other users
for a determined area and I want them to see just the information of the user's area.
I suppose that the "system" parameters can be used for this purpose. Does anybody met and solve this problem?

Thank you...

Missing FoodMartCreateData.sql

$
0
0
I have downloaded the latest Mondrian distribution (mondrian-3.13.0.0-25) but the FoodMartCreateData.sql file is missing...

Apply Logic in Parameters

$
0
0
Hi,
I'm new to Pentaho Reporting and thus coming with a very basic question. I have two dates FromDate and ToDate as parameters for my report. I want my FromDate to be <= ToDate else report should not run, as a filter logic. Please Help:confused:

Problem with XML namespaces

$
0
0
Hi guys,

for 2 days i'm trying to get something out of this xml response i got from a soap api - but i can't get it to work. the 'get data from xml' step isn't able to handle the namespaces from the source and I'm lacking xml knowledge to fix this.
although i can select fields, the transformation will stop with the error : Exception occurred evaluting XPath: *[name()='PublisherStatisticsRecordCollection']/a:PublisherStatisticsRecord/a:Bonus/a:Count/a:CancelledCount. Exception: XPath expression uses unbound namespace prefix a.

Anyone got some tips for me? XML response below (shortened the response to fit the post) :

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2017-01-25T08:54:30.268Z</u:Created>
<u:Expires>2017-01-25T08:59:30.268Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<GetStatisticsPerPublisherResponse xmlns="http://affilinet.framework.esbfa/advertiserservices/statistics/messages">
<PublisherStatisticsRecordCollection xmlns:a="http://affilinet.framework.esbfa/advertiserservices/statistics/types" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:PublisherStatisticsRecord>
<a:Bonus>
<a:Count>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:Count>
<a:NetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFee>
<a:PublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommission>
</a:Bonus>
<a:ClickOuts>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:ClickOuts>
<a:Clicks>
<a:GrossCount>6698</a:GrossCount>
<a:NetCount>2200</a:NetCount>
<a:NetworkFee>0</a:NetworkFee>
<a:PublisherCommission>0</a:PublisherCommission>
</a:Clicks>
<a:Currency>EUR</a:Currency>
<a:Leads>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:Leads>
<a:NetPriceSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>588.3</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetPriceSummary>
<a:NetworkFeeSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>26.47</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFeeSummary>
<a:PublisherCommissionSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>88.24</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommissionSummary>
<a:PublisherId>xxxxx</a:PublisherId>
<a:PublisherURL>http://www.xxxxxx.org/</a:PublisherURL>
<a:Sales>
<a:RateDetailsCollection>
<a:RateDetails>
<a:Count>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>17</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:Count>
<a:NetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>588.3</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetPrice>
<a:NetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>26.47</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFee>
<a:PublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>88.24</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommission>
<a:RateNumber>1</a:RateNumber>
</a:RateDetails>
</a:RateDetailsCollection>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>17</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>588.3</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>26.47</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>88.24</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:Sales>
<a:Views>
<a:GrossCount>0</a:GrossCount>
<a:NetCount>0</a:NetCount>
<a:NetworkFee>0</a:NetworkFee>
<a:PublisherCommission>0</a:PublisherCommission>
</a:Views>
</a:PublisherStatisticsRecord>
<a:PublisherStatisticsRecord>
<a:Bonus>
<a:Count>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:Count>
<a:NetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFee>
<a:PublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommission>
</a:Bonus>
<a:ClickOuts>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:ClickOuts>
<a:Clicks>
<a:GrossCount>4664</a:GrossCount>
<a:NetCount>4604</a:NetCount>
<a:NetworkFee>0</a:NetworkFee>
<a:PublisherCommission>0</a:PublisherCommission>
</a:Clicks>
<a:Currency>EUR</a:Currency>
<a:Leads>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:Leads>
<a:NetPriceSummary>
<a:CancelledValue>176.22</a:CancelledValue>
<a:ConfirmedValue>5579.15</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetPriceSummary>
<a:NetworkFeeSummary>
<a:CancelledValue>5.29</a:CancelledValue>
<a:ConfirmedValue>167.37</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFeeSummary>
<a:PublisherCommissionSummary>
<a:CancelledValue>17.62</a:CancelledValue>
<a:ConfirmedValue>557.92</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommissionSummary>
<a:PublisherId>xxxxx</a:PublisherId>
<a:PublisherURL>http://www.xxxxxx.org/</a:PublisherURL>
<a:Sales>
<a:RateDetailsCollection>
<a:RateDetails>
<a:Count>
<a:CancelledCount>6</a:CancelledCount>
<a:ConfirmedCount>126</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:Count>
<a:NetPrice>
<a:CancelledValue>176.22</a:CancelledValue>
<a:ConfirmedValue>5579.15</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetPrice>
<a:NetworkFee>
<a:CancelledValue>5.29</a:CancelledValue>
<a:ConfirmedValue>167.37</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFee>
<a:PublisherCommission>
<a:CancelledValue>17.62</a:CancelledValue>
<a:ConfirmedValue>557.92</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommission>
<a:RateNumber>1</a:RateNumber>
</a:RateDetails>
</a:RateDetailsCollection>
<a:TotalCount>
<a:CancelledCount>6</a:CancelledCount>
<a:ConfirmedCount>126</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>176.22</a:CancelledValue>
<a:ConfirmedValue>5579.15</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>5.29</a:CancelledValue>
<a:ConfirmedValue>167.37</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>17.62</a:CancelledValue>
<a:ConfirmedValue>557.92</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:Sales>
<a:Views>
<a:GrossCount>0</a:GrossCount>
<a:NetCount>0</a:NetCount>
<a:NetworkFee>0</a:NetworkFee>
<a:PublisherCommission>0</a:PublisherCommission>
</a:Views>
</a:PublisherStatisticsRecord>
<a:PublisherStatisticsRecord>
<a:Bonus>
<a:Count>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:Count>
<a:NetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFee>
<a:PublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommission>
</a:Bonus>
<a:ClickOuts>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:ClickOuts>
<a:Clicks>
<a:GrossCount>3249</a:GrossCount>
<a:NetCount>1112</a:NetCount>
<a:NetworkFee>0</a:NetworkFee>
<a:PublisherCommission>0</a:PublisherCommission>
</a:Clicks>
<a:Currency>EUR</a:Currency>
<a:Leads>
<a:RateDetailsCollection/>
<a:TotalCount>
<a:CancelledCount>0</a:CancelledCount>
<a:ConfirmedCount>0</a:ConfirmedCount>
<a:OpenCount>0</a:OpenCount>
</a:TotalCount>
<a:TotalNetPrice>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetPrice>
<a:TotalNetworkFee>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalNetworkFee>
<a:TotalPublisherCommission>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>0</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:TotalPublisherCommission>
</a:Leads>
<a:NetPriceSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>62.9</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetPriceSummary>
<a:NetworkFeeSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>1.89</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:NetworkFeeSummary>
<a:PublisherCommissionSummary>
<a:CancelledValue>0</a:CancelledValue>
<a:ConfirmedValue>6.29</a:ConfirmedValue>
<a:OpenValue>0</a:OpenValue>
</a:PublisherCommissionSummary>
<a:PublisherId>xxxxxx</a:PublisherId>
<a:PublisherURL>http://www.xxxxxx.org/</a:PublisherURL>

Bi server community - Serious user security access - release 6.1.0.1.196

$
0
0
Hi Guys,

Today a face with a serious bug, when I login with different users on the same machine the bi server keeps on cache the last session and when I logout and login with a different user it retrieves the previous session.
I have installed the release 6.1.0.1.196

Could you help urgently.

Any way to cancel update of component using a button and kill off the query?

$
0
0
Hi,

We have some cases (unfortunately unavoidable) where a user may interact in a dashboard and what they have selected takes a significant amount of time to return results.

Often the user would want to cancel what they did and revert to before the component was triggered to update.

Is there any way to cancel the update of a component, and ideally this would kill off the resulting SQL query we have behind it.

I am aware of how to customise the blockUI window, so am envisaging a "Cancel Update" button on this page that would cease the update and unblock the UI.

Thanks!

How to? Excel field, 20+ Excel files

$
0
0
Hi,

I have a collection of Excel files and in all the first few columns are common. However, the many other columns which extend to the right represent business units and despite having the same header name, the column number can vary for the one business unit I am interested in if a new (other) BU was added in a given month. What&#39;s the slickest way to pick out the right field from 20+ files? Also, in some cases the business unit doesn&#39;t feature in a file. I can discern this manually but is there a way to build this check into some import logic?

Any advice appreciated


Regards,

Andy

How to format tooltip & legend?

$
0
0
Hi All,

I am using a Line chart and Matric line chart.

I am using 5 parameters, At a time user can select two. These selected parameters are dimensions.
Let's say ABC (mg/l), ACB (kg)...
I am getting the correct values, but in chart I am getting "ABC \(mg/l\)" as tooltip and legend. I am getting extra "\".

I tried this, but my dimension labels are coming dynamically, so it is no use.

function(scene){
var fix = def.html.escape;
var vars = scene.vars;
return "<div style='text-align:left'>" +
"<b>Series</b>: " + fix(vars.series.label) + "<br/>" +
"<b>Category</b>: " + fix(vars.category.label) + "<br/>" +
"<b>Value</b>: " + fix(vars.value.label) +
"</div>";
}


Is there any way to format tooltip and legend dynamically?


Thanks,
Ravik

Pentaho DI could not create the java virtual machine

$
0
0
Hello!

I'm new to Pentaho DI.
Every time, I'm trying to start spoon.bat on Windows 7 Home edition x32, I get following error message:

Screen.jpg.

This error occures on following Pentaho versions:
Pdi-ce-7.0.0.0-25;
Pdi-ce-6.1.0.1-196.


SpoonDebug log from Pdi-ce-7.0.0.0-25:
Code:

DEBUG: Using PENTAHO_JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files\Java\jre7
DEBUG: _PENTAHO_JAVA=C:\Program Files\Java\jre7\bin\java.exe

D:\Pentaho data-integration>"C:\Program Files\Java\jre7\bin\java.exe"  "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2" "-Djava.library.path=libswt\win32" "-DKETTLE_HOME=" "-DKETTLE_REPOSITORY=" "-DKETTLE_USER=" "-DKETTLE_PASSWORD=" "-DKETTLE_PLUGIN_PACKAGES=" "-DKETTLE_LOG_SIZE_LIMIT=" "-DKETTLE_JNDI_ROOT=" -jar launcher\pentaho-application-launcher-7.0.0.0-25.jar -lib ..\libswt\win32  /level:Debug
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.



After changing PENTAHO_DI_JAVA_OPTIONS parametres in to "-Xmx512m" "-XX:MaxPermSize=256m" from defaults, I've got no error and no Pentaho start.

So, I hope for your kindly help with this issue.
Attached Images

How to run the report from outside of the designer ?

$
0
0
Hi all, I created a report with Pentaho Report Designer. I want to know how to run the report in PHP and Spring. Thank you very much

Sinalize rows that balance sum total to Zero

$
0
0
I have these data about a bookkepping that was imported and transformed, so I need to sinalize or identify the rows where balance values sum can be zero, like image below:

Issue_pentaho_zero.jpg

But I just can sort or group the values by supplier because the data doesn't matter the order or the date.

Is it possible to do this?

Thanks.
Attached Images

Unlock the password protected PDF using itextpdf and bcprov

$
0
0
Hi Guys,

I am trying to unlock the password protected PDF using bcprov-jdk15on-1.56.jar and itextpdf-5.5.10.jar but I am getting following exception. I am using 'User Defined Java Class' task of transformation.

Exception: class "org.bouncycastle.asn1.ASN1Primitive"'s signer information does not match signer information of other classes in the same package

Here is the lines of code I wrote,

String pdfFilePath = get(Fields.In, "PDFFilePath").getString(r);
String dest = pdfFilePath +"_unlocked.pdf";


try
{
PdfReader reader = new PdfReader(pdfFilePath,owner_password.getBytes());
PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(dest));

stamper.close();
reader.close();
}
catch(Exception e)
{
logBasic("EXCEPTION WHILE UNLOCKING PDF = " + e.getMessage());
}


Any idea, what's wrong with this?

Thanks,
Nilesh
Viewing all 16689 articles
Browse latest View live


Latest Images

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