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

Multiple column join

$
0
0
Hi,

I have 2 tables with the following join:

customer.cucomp = sales.stcomp and
customer.cuacno = sales.stacno and
customer.cudels = sales.stdels;

When I select the first join above I can create the join in Business Analytics but when I select the others I get the message that the join already exists.
Is it possible to do a multiple column join in Pentaho Business Analytics 5.0 using the data source wizard?

Thanks.

Faeez

BUG : CCC Bar Chart values are NOT visible from distant Computers(clients)

$
0
0
Hi Guys,
I got an issue with CCC Bar Chart. The values are not shown when we access the server by distant PC's(clients). The values are only shown in "Internet Explorer 8" BUT Mozilla-FireFox, Chrome, and IE(upper than 8) don't show the values of Bar Charts. they are only shown (in all navigators) in the localhost access but distant machines don't show these values.

Help please.

Login form in a Dashboard

$
0
0
Good evening,
I'm creating a dashboard with data coming from sql querys over Mysql database. I've a table with user data (user name, password etc..) and I whould like that only registered users could see the dashbord, so I whould make a login form.
How could I do that?
May be there's a component for CDE that I could use to make this possible?

Thanks and sorry for my english :)

Kudos - DataCleaner and PDI-CMIS-PLUGIN (alfresco migration)

$
0
0
Converting a legacy MS Access storage with file system locators to PDFs and TIFFs to Alfresco (not exactly traditional ETL...).

Fabulous success using the DataCleaner plugin to review outliers of the current content datapoints (attributes of documents that have been mistyped, format of attribute contents that are outliers, controlled list reviews, and other data to be cleaned up prior to populating the new storage location).

And great success using the PDI-CMIS-PLUGIN for injection into Alfresco (https://code.google.com/p/pdi-cmis-plugin/). Not as fast as a Bulk Filesystem Injection approach, but a standard and repeatable approach that was really easy to setup and support.

So...Kudos!

-D

how to convert seconds to Time in format hh:mm:ss using MDX

$
0
0
I have a measure as Integer (it is seconds) and i would like convert this second in the format hh:mm:ss
it works with function Sec_to_time in query of mysql but MDX???

Tips for optimizing transformation throughput in embedded Kettle

$
0
0
Does anyone have any tips or links on methods by which I can optimize the throughput of repeatedly running a transformation over small input sets (through an embedded instance)?

Using the example embedded Java documentation I've been able to setup a simple transformation and inject the input record / collect the results but performance on calling this 'loop' isn't what I'd hoped. I'm currently seeing 11-12 seconds on calling the transformation 50 times with 2 input records per iteration. Calling the same transformation once with 100 input records yields a processing time of 2.5-3.5 seconds.

I've tried setting the TransMeta.setTransformationType to SerialSingleThreaded and this boosted the performance from ~12.5 secs down to ~11.5 secs but was wondering if there was yet more ways i can optimize the internals to get closer the single transformation throughput.

I'm guessing it's something to do with a combination of thread polling and the setup / startup overhead of a transformation but would appreciate any tips that others may have on this subject.

Thanks

Export report with dynamic filename

$
0
0
Hi folks, I'm exporting a report with the follow url:
Code:

http://localhost:8080/pentaho/content/reporting/execute/solution/clients/client_list/ClientReport.xls?solution=solution&path=/clients/client_list&name=ClientReport.prpt&output-target=table/excel;page-mode=flow
There is any way to change the filename dynamically, I need the format ClientReport-YYYYMMDD.xls (ClientReport-20140601.xls) .

Any suggestion?

Please help-- Need to pass database connection details as parameter/variable

$
0
0
Hi All,

I need to pass database connection details (such as host name, user id , pwd etc ) as parameter or variable so that I can change the database for each execution.

I have created a transformation where I am passing these details to set variable step and using these variable in the database connection.
Now this database connection is being used in next transformation. 2.jpg1.jpg

I am getting below error:
Variable_connection - New database connection defined
2014/05/27 21:54:54 - Spoon - Spoon
2014/05/27 21:55:36 - Table input.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : An error occurred, processing will be stopped:
2014/05/27 21:55:36 - Table input.0 - Error occured while trying to connect to the database
2014/05/27 21:55:36 - Table input.0 -
2014/05/27 21:55:36 - Table input.0 - Error connecting to database: (using class oracle.jdbc.driver.OracleDriver)
2014/05/27 21:55:36 - Table input.0 - Io exception: The Network Adapter could not establish the connection
2014/05/27 21:55:36 - Variable_connection - Statement canceled!
2014/05/27 21:55:36 - Variable_connection - Statement canceled!
2014/05/27 21:55:36 - Table input.0 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Error initializing step [Table input]
2014/05/27 21:55:36 - temp - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Step [Table input.0] failed to initialize!
2014/05/27 21:55:36 - temp - Step [Text file output.0] initialized flawlessly.
2014/05/27 21:55:36 - Table input.0 - Finished reading query, closing connection.
2014/05/27 21:55:36 - Text file output.0 - Closing normal file ...
2014/05/27 21:55:36 - Transformation 2 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : Unable to prepare for execution of the transformation
2014/05/27 21:55:36 - Transformation 2 - ERROR (version 5.0.1-stable, build 1 from 2013-11-15_16-08-58 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/05/27 21:55:36 - Transformation 2 - We failed to initialize at least one step. Execution can not begin!
2014/05/27 21:55:36 - Transformation 2 -
2014/05/27 21:55:36 - Transformation 2 -
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1068)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.trans.Trans.execute(Trans.java:578)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:1037)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.Job.execute(Job.java:678)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.Job.execute(Job.java:815)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.Job.execute(Job.java:815)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.Job.execute(Job.java:500)
2014/05/27 21:55:36 - Transformation 2 - at org.pentaho.di.job.Job.run(Job.java:407)
2014/05/27 21:55:36 - temp - Finished job entry [Transformation 2] (result=[false])
2014/05/27 21:55:36 - temp - Finished job entry [Transformation] (result=[false])
2014/05/27 21:55:36 - temp - Job execution finished
Attached Images

Line chart margin control options?

$
0
0
In the advanced properties of the CCC Line Chart, there's the "margins" parameter for the root chart. Is there any way to specify the top/bottom/left/right margins in this parameter? I've tried passing various arrays like [50,0,10,0] but to no avail. Of course I could control the object's css/div margins outside the chart, but the reason I'm trying to manipulate the internal margin is so that I can add a few labels off to the left of my chart.

I added a panel in plotBg_add, then added the labels with a negative offset so they would show to the left of the chart, to the left of the y-axis tick labels. This works ok, but I end up with a huge margin on all sides, when I only need that increased margin on the left. If I don't have a large left margin, the labels are cut off.

For example:
.add(pv.Label)
.text("Mean")
.bottom(function() {return this.parent.meanDef(); })
.left(-50)
.textStyle("green");
Maybe there's a smarter way to accomplish this? Thanks in advance!

Cannot browse files from User Console using Crystal theme. OK using Onyx.

$
0
0
When the Crystal theme is selected for thr Pentaho User Console everything seems to work apart from the Browse Files feature.

On clicking the 'Browse Files' button the files page is presented with no directories, files or hierarchy and just a pinwheel timer turning at the top.

The pinwheel turns and nothing happens. Refreshing the page makes no difference. All other actions on the page are disabled.

There is no timeout - or at least no timeout shorter than the 20 mins I just waited.


This only happens using Crystal. Using Onyx as the theme all is OK, I can browse and select files with no trouble.

The answer would be "Well use Onyx then" except that I find the dark look very uncomfortable to use.

Any ideas?

Thanks in anticipation

"Tree" hierarchy

$
0
0
Hi everybody!
I need to create a "tree" hierarchy. I mean a normal hierarchy where some level have a separate branch that determines a particular characteristic of that level.
I hope I explained it well, can I do that in Mondrian?

Why there is vertical scroll in pentaho login page ? How to remove it ..

$
0
0
Hi Forum,

There we can see a vertical scroll of log-in page ? How to remove and fit the page with out any scrolls ?

Setting up WebEx on Ubuntu 14.04 (64 bits)

$
0
0
This blog entry may seem a bit offtopic. But Pentaho uses webex quite a often, and I'm a linux user. I had multiple problems using it properly, so I figured I should write a blog post on how I set it up for future reference (yeah - I mostly write blog posts so then I can later come back and see it... a public note pad)

Basically, there's a couple of issues with webex on linux 64 bits. Some reported solution involves installing a 32 bits version of firefox and java - which is at best... hum... well, silly!

I took some time to debug it, and found some very interesting info on the internet, that I took as main reference. The rest was mainly trial and error. I used firefox (the latest version, currently 29) and the latest java7 package / mozilla-java-plugin (java-1.7.0-openjdk-amd64)

The problem

From what I could gather, the problem is that webex for linux is dynamically compiled against a 32 bits system. Webex downloads it's dependencies to a folder on the home directory, in ~/.webex/. We can check with:
pedro@arpeggio:~/.webex/1324 $ file libatdv.so
libatdv.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Next step is to find which libs aren't linked, for which I use ldd
pedro@arpeggio:~/.webex/1324 $ ldd *so | grep not
libpangoxft-1.0.so.0 => not found
libpangoxft-1.0.so.0 => not found
libjawt.so => not found
libjawt.so => not found
libpangoxft-1.0.so.0 => not found
libXft.so.2 => not found
apt-file is a good utility to find out where to get those packages:

pedro@arpeggio:~/.webex/1324 $ sudo apt-file find libpangoxft-1.0.so.0
libpango1.0-0-dbg: /usr/lib/debug/usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so.0.3600.3
libpangoxft-1.0-0: /usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so.0
libpangoxft-1.0-0: /usr/lib/x86_64-linux-gnu/libpangoxft-1.0.so.0.3600.3
After that, we need to find the best candidate for this package, and install it. The important bit is that we need the 32 bits version. We need to follow this procedure for all missing deps. In the end, these are the packages that I end up installing (Note: I wasn't able to fix the missing dependency on libjawt.so, but even without it everything seems to work)
sudo apt-get install libxmu6:i386
sudo apt-get install libpangox-1.0-0:i386
sudo apt-get install libpangoxft-1.0-0:i386
And that's it!
Other distributions

This is for ubuntu, specifically for 14.04. For other distributions the method of using ldd to identify the missing deps is the same. Finding which package provides it... it's another story.


-pedro

More...

Decimalformatting for MultiPie chart in PRD

$
0
0
Hi,

We have created Multi Pie chart in PRD. We need to do decimal formatting for the measure values that are displayed for each pie section.
Can anyone pls let me know which class in JFreeChart API is used for this ?
I have tried with StandardPieSectionLabelGenerator class.
But this works fine for Pie Chart but not working for MultiPie chart ..
:(

CANNOT fetch Files from GET A FILE WITH SFTP using kettle 4.1

$
0
0
Hi All,


In my job i have given start and the hop pointing to GET A FILE WITH SFTP, in the edit step of that SFTP i have given the port number,server name and USERname ,password and if i click on test connection it is saying ok. In the files tab also test remote folder says folder exists, but when i give file name and target folder name and save it and run, it says job finished but i dont geet any files from the server. No error also. Please help me to resolve this and get file from sftp.

Differentiate Measures based on constant value in other column

$
0
0
hello,

I designed a cube in which all the different measures in one column, and other column contains a constant value to differentiate which is which.

p1----10----type1

p2----20-----type1


p3------30----type1

p1------25----type2

p3------23----type2

i want measures for cube as type1, type2 is it possible,
rt now i achieved this by creating different views for each type and created a cube for each and created a virtual cube to combine all

GetDataFrom XML

$
0
0
i have xml file like this :
<student>
<Exam>
<name>Bryan</name>
<score>88</score>
</Exam>
</student>

<student>
<Exam>
<name>Joe</name>
<score>90</score>
</Exam>
</student>

i wanna the result become :
name | score
Bryan 88
Joe 90

i got error :
Error on line 169 of document file:///D:/data-integration/UTF-8 : The markup in the document following the root element must be well-formed. Nested exception: The markup in the document following the root element must be well-formed.
when i try to Get XPath Nodes.

can anyone help??thx.

WTS New Apple iPhone 5S 64GB$400USD,Samsung Galaxy S5 32gb$450,HTC ONE M8 16GB$300

$
0
0
Shipping:

We accepted International order. We ship Worldwide.
Shipping time: usually 3~4 Business days
We don't ship to Israel & India,
Free Shipping worldwide
Visit our website to place your order.

5 reasons of why people choose ELECTRONICS OUTLET LTD as a preferred vendor:

1) Ready to Ship
2) Systematic and Professional
3) Strong Sense in Market Trends
4) Strong Sense of Responsibility
5) Efficiency


Contact us below :
Email : info@electronicsoutletltd.com
Email : info.electronicsoutletltd@gmail.com


OUR PRODUCTS LISTS


NIKON

Nikon D3100 14 2MP Digital SLR Camera with 18 55mm@$400
Nikon D3200 24 2 MP CMOS Digital SLR with 18 55mm Black@$400
Nikon D5100 16 2MP CMOS Digital SLR Camera with 18 55mm@$450
Nikon D7000 DX Format CMOS Digital SLR Kit with 18 200mm@$750

CANON

Canon EOS 1D Mark IV 16 1 MP CMOS Digital SLR Camera with 3 Inch LCD@$1,800
Canon EOS 60D 18 MP CMOS Digital SLR Camera with 3 0 Inch LCD and 18 135mm@$700
Canon EOS Rebel T3 12 2 MP CMOS Digital SLR with 18 55mm Black@$350
Canon EOS Rebel T3i 18 MP CMOS Digital SLR Camera and DIGIC 4 Imaging@$500


NOKIA PHONES

Nokia Lumia 1320@$300
Nokia Lumia 1520@$300
Nokia Lumia 2520@$300
Nokia Lumia 525@$350
Nokia Lumia 630@$300
Nokia Asha 501@$300
Nokia Lumia 925@$310
Nokia Lumia 928@$300
Nokia Lumia 625@$300
Nokia 808 PureView@$270


BLACKBERRY PHONES

BlackBerry Porsche Design P 9981 8gb@$650
BlackBerry Porsche Design P 9982 64gb@$900
BlackBerry Z3 8gb@$300
BlackBerry Q5@$200
BlackBerry Q10@$300
BlackBerry Z10@$300
BlackBerry 9720@$320

HTC PHONES

HTC ONE M8 16GB@$300
HTC Butterfly S@$300
HTC Desire 600 dual sim@$310
HTC First@$300
HTC One@$260


SAMSUNG TELEVISION

LED F7450 Series Smart TV - 55 Class@$900
LED F7500 Series Smart TV 60 Class@$1,500
Samsung 65 Class 1080p 240Hz 3D Smart LED HDTV@$1,550
LED F8000 Series Smart TV - 75" Class@$1,800
SAMSUNG UA75ES9000 75" 3D 1080p LED -$1,100USD
SAMSUNG UA65ES9000 65" 3D 1080p LED -$850USD
SAMSUNG UA55ES9000 55" 3D 1080p LED -$750USD
SAMSUNG UE46ES8000 46" 3D 1080p LED -$600USD
Samsung UE42ES8000 42" 3D 1080p LED -$400USD

APPLE IPADS

Apple iPad Air 64GB Wi-Fi Only@$400USD
Apple iPad Air 128GB Wi-Fi Only@$450USD
Apple iPad Air 32GB Wi-Fi + 4G Cellular@$400USD
Apple iPad Air 64GB Wi-Fi + 4G Cellular@$450USD
Apple iPad Air 128GB Wi-Fi + 4G Cellular@$530USD
Apple iPad Air 16GB Wi-Fi + 4G Cellular@$300USD
Apple iPad Air 32GB Wi-Fi Only@$300USD
Apple iPad Air 16GB Wi-Fi Only@$250USD
Apple iPad mini 64GB Wi-Fi@$250USD
Apple iPad mini 16GB, Wi-Fi/ 4G Cellular@$220USD
Apple iPad mini 32GB, Wi-Fi/ 4G Cellular@$250USD
Apple iPad mini 32GB, Wi-Fi/ 4G Cellular@$270USD
Apple iPad mini with Wi-Fi 32GB@$220USD
Apple iPad mini with Wi-Fi 16GB@$180USD


APPLE IPHONES

Apple iPhone 5S 16GB@$300USD
Apple iPhone 5S 32GB@$350USD
Apple iPhone 5S 64GB@$400USD


APPLE IPOD TOUCH

Apple iPod touch 64GB 5th Generation@$200USD
Apple iPod touch 16GB 5th Generation@$90USD
Apple iPod touch 32GB 5th Generation@$100USD

SAMSUNG PHONES

Samsung Galaxy Note 3 16gb@$210
Samsung Galaxy Note 3 32gb@$250
Samsung Galaxy Note 3 64gb@$300
Samsung Galaxy Note II N7100 16gb@$200
Samsung Galaxy Note II N7100 32gb@$250
Samsung Galaxy Note II N7100 64gb@$300
Samsung Galaxy S5 16gb@$400
Samsung Galaxy S5 32gb@$450
Samsung I9300 Galaxy S III 16gb@$200
Samsung I9300 Galaxy S III 32gb@$250
Samsung I9300 Galaxy S III 64gb@$280
Samsung I9500 Galaxy S4 64gb@$350
Samsung I9502 Galaxy S4 16gb@$250
Samsung I9505 Galaxy S4 32gb@$300

SONY ERICCSON

Sony Xperia E1 4gb@$200
Sony Xperia M2 8gb@$220
Sony Xperia T2 Ultra 8gb@$220
Sony Xperia Z Ultra 16gb@$250
Sony Xperia Z2 16gb@$250
Sony Xperia ZL 16gb@$250


Contact us below :
Email : info ( AT ) electronicsoutletltd.com
Email : info.electronicsoutletltd ( AT ) gmail.com

How to put numbers inside the doughnut ? the percentage values or some summation

Bootstrap nav bars + chosen JQuery selects + responsive jQuery selects

$
0
0
Hi Forum,

I am trying to demonstrate a high level interactive dashboard using bootstrap css as shown in below image.
I've found below things..

As I noticed that currently there is no integration of selects of bootstrap available I'm trying to take chosen JQuery selects & bootstrap panels/nav bars and when I take bootstrap nav bar code(below code) and chosen select .. the select component is giving error(shown in image)...

If I remove the nav bar code(below code) then the chosen jQuery select component is appearing on the dashboard.. tested many a times.

1) Is chosen JQuery selects not compatible other bootstrap code ?
2) Or how to take bootstrap dynamic drop downs/calendar picker and other components and map them to chats ? (Will it be a future CDE release or any work around needed now to make as the default components works ?
3) How to make responsive chosen drop downs ( tried to change the width of a select component ?
Tried to give
$("select").chosen({ width: '100%' }); // width in px, %, em, etc (from this site : http://dirtandrust.com/blog/chosen-j...sive-goodness/

All the code written places(java script, PostExe,PreExe and etc of chosen dropdown) but unable to get it solved ..


Your inputs and findings will be helpful for a rich mobile compatible dashboard development.

Thank you...



CODE for nav bars :

I'm writing below code for nav bars
<!DOCTYPE html>
<html lang="en">
<head>

<meta charset="UTF-8">
<title>Example of Twitter Bootstrap 3 Tabs Methods</title>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#myTab li:eq(1) a").tab('show');
});
</script>
<style type="text/css">
.bs-example{
margin: 20px;
}
</style>
</head>

<body>
<div class="panel panel-default">
<div class="panel-body" id="Panel2" >


<div class="bs-example">
<ul class="nav nav-tabs" id="myTab">
<li><a data-toggle="tab" href="#sectionA">Sales Vs Gross Profit</a></li>
<li><a data-toggle="tab" href="#sectionB">Quantity Vs Gross Profit</a></li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a data-toggle="tab" href="#dropdown1">Dropdown1</a></li>
<li><a data-toggle="tab" href="#dropdown2">Dropdown2</a></li>
</ul>
</li>
</ul>
<div class="tab-content">
<div id="sectionA" class="tab-pane fade in active">
<h3>Section A</h3>
</div>
<div id="sectionB" class="tab-pane fade">
<h3>Section B</h3>
</div>
<div id="dropdown1" class="tab-pane fade">
<h3>Dropdown 1</h3>
<p>WInteger convallis, nulla in sollicitudin placerat, ligula enim auctor lectus, in mollis diam dolor at lorem. Sed bibendum nibh sit amet dictum feugiat. Vivamus arcu sem, cursus a feugiat ut, iaculis at erat. Donec vehicula at ligula vitae venenatis. Sed nunc nulla, vehicula non porttitor in, pharetra et dolor. Fusce nec velit velit. Pellentesque consectetur eros.</p>
</div>
<div id="dropdown2" class="tab-pane fade">
<h3>Dropdown 2</h3>
<p>Donec vel placerat quam, ut euismod risus. Sed a mi suscipit, elementum sem a, hendrerit velit. Donec at erat magna. Sed dignissim orci nec eleifend egestas. Donec eget mi consequat massa vestibulum laoreet. Mauris et ultrices nulla, malesuada volutpat ante. Fusce ut orci lorem. Donec molestie libero in tempus imperdiet. Cum sociis natoque penatibus et magnis dis parturient.</p>
</div>
</div>
</div>

</div>

</div>
</body>
</html>


issue.jpg
Attached Images
Viewing all 16689 articles
Browse latest View live


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