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

Line Chart Font & Size

$
0
0
How do you change the font size and type for a line chart that's time series? I've selected label-font, x-font, and y-font, which seem to be the right once to select, but anytime I make a change nothing happens. The font stays the same. No change. Is this a bug or I'm I missing something?

Thanks,
Rocky

Number abbreviations

$
0
0
Does anyone know how to do number abbreviations? Not sure if that's the best wording, but basically, if I have a number the enters the thousands, say 30,000, I'd like it to be displayed as 30K. If it enters the millions, 30M.

Step Metrics documentation

$
0
0
Is there any documentation on "Step Metrics" in Execution Results section of Spoon? I haven't found anything online.

Cascading parameter bug?

$
0
0
I've got two DropDown parameter fields - par_month and par_year, which are each populated by simply queries. I have another query, StringBuilder, which takes the $(par_month) and $(par_year) parameters to build a specialized search string, the results of which I make available in a third parameter, par_SearchString. I then pass $(par_SearchString) as a parameter to the report's main MDX query. This works great, most of the time. However, if the user selects the month and year parameters, then changes his/her mind and clicks a different month or year, the originally selected parameters are still those passed to the third query and into the master report.

To figure out what was going on, I set the par_SearchString to a visible DropDown. What I ran the query, and selected my month and year, the par_SearchString populated correctly, and was "highlighted" as it someone had clicked on it. However, if I then clicked on the month or year and made a change, the par_SearchString showed the updated string, but not as the "highlighted" option - I had to click on the DropDown to select the new value to get it to "take".

Any ideas how I could get my dependent third parameter to update correctly when the "parent" parameters are modified?

Thanks in advance for any answers!

ImageMap functionality?

$
0
0
How do I create a simple imagemap in PRD? I see an attribute called "image-map" but not sure how to use it. In regular HTML, we'd do something like this:

<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">

<map name="planetmap">

<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>

How do I do this in PRD? I'd like to create a few "hotspots" on a image and hyperlink those to a report, passing in a parameter. Is there documentation anywhere or an example I could look at to do this? Thanks!

ESAPI.properties could not be found - WARNING: A HTTP GET method

$
0
0
I hope someone could help me. I downloaded Pentaho 5.0.1 CE, set all variables paths, update web.xml, and start it for the first time (no changes to databases, no plug in installed, etc) but I get a message error: ESAPI.properties could not be found.
When I log in (default user/password) everything seems ok but dialog box doesn’t disappear and user console doesn’t load.
Looking at Catalina log I find a lot of “WARNING: A HTTP GET method, public void org….” Has someone got any suggestion? (I use a windows 7 X64, Java 1.7.0_51 X64, Firefox/Chrome).

apr 14, 2014 6:21:03 AM org.apache.catalina.startup.Catalina start
Informazioni: Server startup in 79677 ms
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, xcdf, of type org.pentaho.cdf.CdfContentGenerator as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, xcdf.mobile, of type org.pentaho.cdf.CdfContentGenerator as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, storage, of type org.pentaho.cdf.storage.StorageApi as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, comments, of type org.pentaho.cdf.comments.CommentsApi as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, settings, of type org.pentaho.cdf.settings.SettingsApi as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, views, of type org.pentaho.cdf.views.ViewsApi as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, xcdf.GetCDFResource, of type org.pentaho.cdf.CdfContentGenerator as a root resource class
apr 14, 2014 6:21:48 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
Informazioni: Initiating Jersey application, version 'Jersey: 1.16 11/28/2012 03:18 PM'
apr 14, 2014 6:21:51 AM com.sun.jersey.spi.inject.Errors processErrorMessages
Avvertenza: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.getResource(java.lang.String,java.lang.String,javax.servlet.http.HttpServletResponse) throws java.lang.Exception, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.clearCache(javax.servlet.http.HttpServletResponse), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.callAction(java.lang.String,java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.viewAction(java.lang.String,java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.export(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Exception, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.CdfContentGenerator.getJSONSolution(java.lang.String,java.lang.String,java.lang.String,int,boolean,java.lang.String,javax.servlet.http.HttpServletResponse) throws org.pentaho.cdf.InvalidCdfOperationException, MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.comments.CommentsApi.add(java.lang.String,java.lang.String,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.comments.CommentsApi.list(java.lang.String,int,int,boolean,boolean,boolean,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.comments.CommentsApi.delete(int,boolean,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.comments.CommentsApi.archive(int,boolean,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.settings.SettingsApi.get(java.lang.String,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.settings.SettingsApi.set(java.lang.String,java.lang.String,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.views.ViewsApi.listViews(javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.views.ViewsApi.saveView(java.lang.String,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
WARNING: A HTTP GET method, public void org.pentaho.cdf.views.ViewsApi.deleteView(java.lang.String,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
apr 14, 2014 6:21:51 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans
Informazioni: Registering Spring bean, pt.webdetails.cgg.CggService#0, of type pt.webdetails.cgg.CggService as a root resource class
apr 14, 2014 6:21:51 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
Informazioni: Initiating Jersey application, version 'Jersey: 1.16 11/28/2012 03:18 PM'
apr 14, 2014 6:21:52 AM com.sun.jersey.spi.inject.Errors processErrorMessages
Avvertenza: The following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public void pt.webdetails.cgg.CggService.draw(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.Long,java.lang.Long,javax.servlet.http.HttpServletResponse,javax.servlet.http.HttpServletRequest), MUST return a non-void type.
apr 14, 2014 6:21:52 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory registerSpringBeans

Thanks in advance.

DI 5.0.1 Jackrabbit Repository Bug on Oracle Database

$
0
0
Pentaho Data Integration v5.0.1 Community Edition

When creating the "Jackrabbit Repository" running "DI SQL Script" on Oracle Database 11g into JCR_USER Schema of PENTAHO Tablespace the index name IDX_R_JOBENTRY_ATTRIBUTE_LOOKUP has more the 30 characters. This is the limit of length of object names on Oracle Databases.

STEPS TO ERROR:

1. Run Spoon.bat
2. Config the Database Connection of Oracle
Connection Name: PentahoRepository
Host Name: localhost
Database Name: XE
Port Number: 1521
Tablespace for Data: <blank>
Tablespace for Index: <blank>
User Name: JCR_USER
Password: *********
3. Enter the Repository Information
Database Connection: PentahoRepository
ID: JCR_USER
Name: PentahoRepository
4. Click on [Create or Upgrade] button and ran the SQL Script

RESULT:

All objects are created fine, except that index.

SOLUTION:

1. Open the Oracle SQL Developer app or SQL*Plus console
2. Connect to JCR_USER schema
3. Open the SQL Script and edit the this line:
-- Index name greater then 30 characters.
-- CREATE UNIQUE INDEX IDX_R_JOBENTRY_ATTRIBUTE_LOOKUP ON R_JOBENTRY_ATTRIBUTE(ID_JOBENTRY_ATTRIBUTE, CODE, NR);
CREATE UNIQUE INDEX IDX_R_JOBENTRY_ATTRIBUTELOOKUP ON R_JOBENTRY_ATTRIBUTE(ID_JOBENTRY_ATTRIBUTE, CODE, NR);
4. Execute this code chunk.

I wait that Data Integration Developer Team tailor this script to Oracle Database rules.

Enjoy!

Bar Sizing & Proportions

$
0
0
I've got an odd sizing issue with my bar charts.
I have a chart with a bar for two months (current and past month). Current has the larger value, however, the chart's choose step in the y-axis makes the current month seem way bigger than it actually is, the proportions are way off. It kind of fools you into believe the increase is great. It's good, but not that good!

When I manually set the y-max value, to some figure higher than the max value, the chart looks good, the proportions appear right. However, is there either away to dynamically set the y-max value or is there a better setting to use?

I've uploaded to images to illustrate what I mean.

GOOD:
bar-chart-good.jpg

NOT SO GOOD:
bar-chart-less-good.jpg
Attached Images

Is there any way to embedd GEO Maps in Pentaho Report Designer

$
0
0
Is there any way to embedd GEO Maps in Pentaho Report Designer... ???

Anyway Pentaho Report Designer support GEO maps ?

$
0
0
Hi All,

I am new to pentaho EE and i am using ver-5 EE. My requirement is embed prpt reports to another web application.
However I could not find how to generate geo maps in report designer.
Is there any plugin to achieve or why report designer does not support geo maps ?

Thank in advance, if i get some light on my query.

Calculated Member by partly shared Dimension

$
0
0
Hello folks.

Assume I have a calculated Member in a virtual Cube which consists of two virtual Measures. The two virtual Measures come from two different cubes. These cubes have a time dimension in common. One of the cubes has a degenerated dimension. Now I want to see the calculated Member in depence of that degenerated dimension. But I do not get a result, even in theory the calculation should be possible.

Pseudo-Schema:

Code:

<Time Dimension>

<Cube 1>
<Dimension Usage: "Time Dimension">
<Degenerated Dimension>
<Measure 1>
</Cube1>

<Cube 2>
<Dimension Usage: "Time Dimension">
<Measure 2>
</Cube 2>

<Virtual Cube>
<Virtual Measure "Cube 1 Measure 1">
<Virtual Measure "Cube 2 Measure 2">
<Virtual Dimension "Time Dimension">
<Virtual Dimension "Cube 1 Degenerated Dimension"
<Calculated Member: [Virtual Measure "Cube 1 Measure 1"] / [Virtual Measure "Cube 2 Measure 2"]
</Virtual Cube>

In saiku I get results for the virtual and calculated measures as long as I do not use the "Cube 1 Degenerated Dimension". If I use it on Rows/Colums or as a filter, only <Virtual Measure "Cube 1 Measure 1"> values are shown.

Is there a way / workaround how I can achieve that? Because in theory Mondrian could do the following:

1. Get Virtual Measure "Cube 1 Measure 1" in dependence of "Cube 1 Degenerated Dimension" and the Time Dimension and finally aggregate the values.
2. Get Virtual Measure "Cube 2 Measure 2" in dependence of the Time Dimension only.
3. Do the calculation

Thanks in advance!

Perspective API documentation

$
0
0
Chaps,

Is there any documentation regarding building PDI perspectives? or is it look at the code and figure it out?

Thanks

Tom

a error appeared when i call firechange in a click handle

$
0
0
Hi everyone
i am a novice to use CDE,i defined a CCCPieChart
set clickable:true,
set clickaction:click=function(se){
var category=se.atoms.category;
alert(category)
Dashboards.fireChange("orgname",category);
}

when i click a part of the Pie chart a error appeared :Error: [pvChart ERROR]: cyclic object value
anybody can help me Thanks

A couple of doubts about tracking executions

$
0
0
Good afternoon!

Maybe it is a silly thing, but I tried to follow job execution order when running the job and there are a couple of behaviours where I think I am missing something.

- Why are green/red checks not cleared and redrawn from the beginning when reexecuting a job? Is it a bug or am I missing something?

- Is there any way to force the execution pane for every transformation to work as if the transformation was run alone when executing a job? I checked job/transform menu and no option seems to activate it
Or maybe a way to execute transformation as if it's parent job was executed instead of the transformation alone. I also saw this which is a kind of preview tab in runtime: http://www.ibridge.be/?p=179, but Job drill-down is not working and Sniff data during execution never gets enabled in the contextual menu.

Thanks again for your help.

Ways of executing a Job Entry/Transf twice

$
0
0
What are the considerations and differences in PDI on these four ways of executing twice a transformation?

1.- Drag and drop it twice
2.- Create a Shallow copy
3.- Pointing both control flows to the same box
4.- Copy ktr file if possible and import it again

Which ones are exactly the same?


Thank!

[ I M P O R T A N T ] [ read that ] Bugfix for commons-vfs (ver. 20100924-pentaho)

$
0
0
I'm writing here because sources of commons-vfs library are not in github and i can't make pull request.
I was trying to run my transformations from jar file. Something like that:
Code:

KettleEnvironment.init();
EnvUtil.environmentInit();
JobMeta jobMeta = new JobMeta("jar:file:///D:/MavenRepo/ru/company/integration/0.0.6/integration-0.0.6.jar!Catalog/Catalog create.kjb", null);
Job job = new Job(null, jobMeta);
job.run();

And i recieve a crash. Faster way to fix something - it's made it by yourself. So, i've decompile library and found a bug in your sources. Here is patch:
Code:

--- c:\temp\thg.16ryzj\Patches.5.33\commons-vfs\20100924-pentaho-patched\src\main\java\org\apache\commons\vfs\provider\zip\ZipFileSystem.java
+++ c:\temp\thg.16ryzj\Patches.5.43\commons-vfs\20100924-pentaho-patched\src\main\java\org\apache\commons\vfs\provider\zip\ZipFileSystem.java
@@ -103,12 +103,15 @@
        paramCollection.addAll(ZipFileProvider.capabilities);
    }


+    @Override
    public FileObject createFile(FileName paramFileName) throws FileSystemException {
-        return new ZipFileObject(paramFileName, null, this, false);
+        String baseName = UriParser.encode(paramFileName.getPath());
+        if (baseName.startsWith("/"))
+            baseName = baseName.substring(1);
+        ZipEntry zipEntry = new ZipEntry(baseName);
+        FileName rootName = getFileSystemManager().resolveName(getRootName(), baseName);
+        return new ZipFileObject(rootName, zipEntry, this, true);
    }


 }

In color:
http://forumbgz.ru/user/upload/file30115.png

I hope it will be usefull for someone.
Attached Images

Incrementing a Date on Canvas of a report designer

$
0
0
Hello everyone,

I want to display 7 message fields Like this
Code:


15Apr2014 16Apr2014 17Apr2014 18Apr2014 19Apr2014 20Apr2014 21Apr2014
Tuesday    Wednesday Thursday  Friday    Saturday  Sunday    Monday

I am able to get the first column with the help of a message field
Code:

$(VWEEKDAYSTART, date, DDMonYYYY)
$(VWEEKDAYSTART, date, EEEE)

${VWEEKDAYSTART} is a date picker value which a user can select.

My question is how can I increment the date which user selected by 1 day for the rest 6 days in my message field

ignoring previous step values

$
0
0
I have a simple transformation that uses a xml input and produces a csv file. After the csv file gets generated I would like to check for the existing of the file. I added a "file exist" step, but I can't figure it out how to type the file name since in the "Filename field" I get a drop down with the names of the columns of the previous step. I'm sure I'm missing something trivial but I do not know what that is.

regards, Hugo

Not Able to see Model and Visualize perspective

$
0
0
Hi,

I just started using Kettle CE 5.0.1 recently, not able to see Model and Visualize perspective as in 4.4
and also tried installing Data cleaner pulgin from market place after restart kettle just don't start if i delete the pulgin it works fine

does this had something to do with java version

MY Java Version 1.6_0.45
Windows 7 32 bit

Regards
babu

Pentaho Analytics with MongoDB

$
0
0
I love technology partnerships. They make our lives as technologists easier by introducing the cross sections of functionality that lie just under the surface of the products, easily missed by the casual observer. When companies partner to bring whole solutions to the market, ideally consumers get more power, less maintenance, better support and lower TCO.

Pentaho recognizes these benefits, and works hard to partner with technology companies that understand the value proposition of business analytics and big data. The folks over at MongoDB are rock stars with great vision in these spaces, so it was natural for Pentaho and MongoDB to partner up.

My colleague Bo Borland has written Pentaho Analytics with MongoDB, a book that fast tracks the reader to all the goodness at your fingertips when partnering Pentaho Analytics and MongoDB for your analytics solutions. He gets right to the point, so be ready to roll up your sleeves and dig into the products right from page 1 (or nearly so). This book is designed for technology ninjas that may have a bit of MongoDB and/or Pentaho background. In a nutshell, reading the book is a straight shot to trying out all of the integration points between the MongoDB database and the Pentaho suite of products.

You can get a copy of Pentaho Analytics with MongoDB here. Also continue to visit the Pentaho wiki, as these products move fast.

More...
Viewing all 16689 articles
Browse latest View live


Latest Images

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