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

comma in numeric values in report output(excel)

$
0
0
Hi All,

I have a report which is been published in Pentaho Biserver-5.0.1 CE developed by prd-5.0.1 CE.

The problem In the report is that it doesnt shows comma in numeric values

like it shows 5768926 instead of showing it 5,768,926.

Can someone please guide me how to achieve this.

Thanks,
Malibu

Extract Tags from XML based on Lookup

$
0
0
Hello,

How do i remove Certain tags from the XML based on a Lookup ??

To give more insight into the problem,

I have a complex XML, the data of which i have already loaded in a DB table. (This table contain all the data..with no filters applied.)

Now i have to do a lookup on this table (The query here has a filter applied), based on the matching ID's ..i need to fetch the whole tag from the XML and dump it in a new XML.

If it was only that tag..i would have used the Add XML component and XML output to generate it. But the tag has many sub tags ..hence the reason that i just want to push the matching ID's tags into a new XML.

PDI 4.4 CE

pentaho ce 5.0.1 stable a error was depolyed when i creating a datasource

$
0
0
hello anybody:
when i creat a datasource use a CSV file a error was appeared.
the error log is here
pentaho.log
Attached Files

Output steps metrics

$
0
0
Hi,

Any hints as to how this works?

There's no sample, I tried a few ways to make it work in current trunk build and both times:

1) I can never get the step names to appear in the dropdown
2) it causes the transformation to hang/never finishes.

Thanks!
Dan

repository connection exception

Pentaho Schema Workbench 3.6.1 not getting tables from Impala/Hive

$
0
0
I have installed Penatho 5.0.1 and Pentaho Schema Workbench 3.6.1. When I am trying create cube in Schema Workbench, it is not getting tables from Impala/Hive.

Pentaho Schema Workbench 3.6.1 not getting tables from Impala/Hive

$
0
0
I have installed Penatho 5.0.1 and Pentaho Schema Workbench 3.6.1. When I am trying create cube in Schema Workbench, it is not getting tables from Impala/Hive.

Pentaho Schema Workbench 3.6.1 not getting tables from Impala/Hive

$
0
0
I have installed Penatho 5.0.1 and Pentaho Schema Workbench 3.6.1. When I am trying create cube in Schema Workbench, it is not getting tables from Impala/Hive.

Pentaho Schema Workbench 3.6.1 not getting tables from Impala/Hive

$
0
0
I have installed Penatho 5.0.1 and Pentaho Schema Workbench 3.6.1. When I am trying create cube in Schema Workbench, it is not getting tables from Impala/Hive.

Format date column dd-mm-yyyy while sorting on yyyy-mm-dd in table component

$
0
0
Hi all,

I have a question about the table component in cde.

I have a date column in my table formatted like "dd-mm-yyyy", however how does one implement proper sorting so that the column is not sorted by dd-mm-yyyy but instead by yyyymmdd?

I've tried fixing it via sql: concat('<!-- ',t.timedate, ' -->', date_format(t.timedate, '%d-%m-%Y')) as 'Date' but the actual <-- ... --> ugliness is of course exported with the xls export of this table as well.

I can only find solutions for numbers for "Column Formats" to alter its format(for example %.2f), but nothing describes howto handle dates.

Your help is much appreciated!

With kind regards, Rogier

Google Analytics Core API 2.4 access via http client

$
0
0
Hello,

I'm getting a bit pissed, because the solution is close, bute the answer from google still

<ins>That’s an error.</ins>
<p>The requested URL <code>/analytics/v2.4/data?ids=ga:xxxx&amp;start-date=2013-11-01&amp;end-date=2013-11-01&amp;metrics=ga:impressions&amp;key=yyyyyyy</code> was not found on this server. <ins>That’s all we know.</ins>
"

how do i really access the google core api 2.4 via a http client step?!

stackoverflow.com/questions/10015282/how-to-get-access-to-google-analytics-data-api-using-pentaho-pdi-kettle-version

this is close, but not properly working.

Can anybody tell me where's the mistake??


Thanks and cheers,

Holger

Javascript y CDE

$
0
0
Hola a todos!

Sigo en mi eterna lucha con los dashboards y no consigo hacerlos funcionar :( No sé si se me escapa algo o hago algo mal, pero no consigo hacer un dashboard interactivo más allá de poner selects y parámetros.

Como comenté en un hilo anterior, quiero hacer gráficas de manera que al clickar sobre un determinado dato de una, se refresquen las demás mostrando la información correspondiente a dicho parámetro.

Por ejemplo, supongamos que tengo dos gráficas:
  • Una que muestra las ventas por país
  • Otra que muestra las ventas de cada producto vendido


Al clickar sobre un país determinado en la primera gráfica, quiero que en la segunda se muestren las ventas de cada producto realizadas para el país seleccionado.

Para ello estoy incluyendo funciones en javascript, pero no consigo extraer el valor del país que estoy seleccionando. La función que tengo es la siguiente

Code:

function clicked(s, clicked, v)
{
    var current = Dashboards.getParameterValue('country_param');
   
    alert("Clicked: " + clicked);
    alert("Current: " + current);
   
    if (current != clicked) {
        alert("Changing Country");
        Dashboards.fireChange('country_param', clicked);
    }
}

Suponiendo que country_param está definicdo como parámetro y están añadidos los listener correspondientes a cada gráfica.

Os agradecería si pudiérais ayudarme
  • A extraer el país seleccionado (no sé si es con Dashboards.getParameterValue o si está bien puesto)
  • Cómo hacer que éste pase a la otra gráfica (con Dashboards.fireChange sólamente, o en la gráfica de las ventas de cada producto debería incluir algo?)
  • Los parámetros que recibe la función, son correctos?


Llevo tiempo buscando y no he encontrado nada, no sé por dónde más buscar :(

Gracias de antemano.

Feliz Año!
Saludos!!

NullPointerException error help please

$
0
0
Hi

I have the following log printout [KStar - numeric prediction]
***********************************************************
at weka.classifiers.Evaluation.confusionMatrix(Evaluation.java:350)
at weka.classifiers.evaluation.Evaluation.confusionMatrix(Evaluation.java:710)
java.lang.NullPointerException
Weka exception occurred: java.lang.NullPointerException
Total Number of Instances 100
Root relative squared error 100.4958 %
Relative absolute error 100.2418 %
Root mean squared error 0.2609
Mean absolute error 0.18
Correlation coefficient -0.003
results:
Options: [-B, 35, -M, a, ]
ClassIndex: RETURN_PREDICTED
************************************************************
How do I track down what is wrong here ?

Bob M

Report Performance issues during initial load

$
0
0
Hi All,

We have deployed a set of PRPT reports, which have a number of prompts. These prompts have a lot of data (about 10k+ records each),which are used for type ahead / search ahead lookups.

When the report is opened, the data for the prompts are built for caching in each session.This increases initial load time and also causes performance issues as the user base increases. Can you please provide inputs regarding:
- Are there any configurations which can be set for the cache or engine, by which we can control this behaviour
- What are the best practices we can follow in this scenario (PRPT development,deployment, engine configuration)

Our environment is as below. All other settings are default (cache, etc)
- OS: RHEL 6.3
- BA Server:4.8.1
- JVM Allocated:4 GB

Thanks,
Vinod

Repository Synchronizer

$
0
0
I have installed Repository Syncronizer on Pentaho 5 ( windows platform ) .
I then tried to access the page Tolls -> Repository Syncronizer but I get the error :

The repository Synchronizer was not able to read the following repositories:
- File System: The given path doesn't correspond to any existent folder
Please check your settings on prs.xml file and refresh the dashboard after the changes

the contents of the file prs.xml is as follows :

<?xml version="1.0" encoding="UTF-8"?>
<prs>
<locations>
<location path="jcr-solution:http://admin:password@localhost:8080/pentaho!/public" name="JCR"/>
<location path="${cpk.solution.system.dir}/../repositorySynchronizer" name="File System"/>
</locations>
<last_synch>0</last_synch>
</prs>



it seems to me correct .
thanks for any help

BTable Analyzer Bugs

$
0
0
as you can see from the examples below ,
the first example shows the territory column properly ,
the second example ( for me ) is wrong ( EMEA should be reported for each individual customer )


Customer Territory Fact Count
AV Stores, Co. EMEA 51
Alpha Cognac EMEA 20
Amica Models & Co. EMEA 26






Customer Territory Country Fact Count
AV Stores, Co. EMEA UK 51
Alpha Cognac France 20
Amica Models & Co. Italy 26


Thanks for any suggestion or help
P.S.
It would be very nice if i could save a btable report ( I have not found a way )

BTable is now available for Pentaho 5.0 !

$
0
0
A new version of BTable plugin (http://www.biztech.it/btable) has been released on the Marketplace for both Pentaho 4.x and Pentaho 5.x.

In this new release (v. 1.5):
  • minor bug fixes
  • support for internationalization of the component UI (English, Italian and German already supported)
  • BTable Analyzer


If you want to translate the component UI in your language:
  1. go to pentaho-solutions/system/BTable/resources/components/BTable/lang
  2. make a copy of messages.properties and rename it as messages_xx.properties (where xx is your language code)
  3. edit this file translating the values of properties


If you also want to contribute to BTable project providing your translation, make a pull request to https://github.com/biztech-it/BTable or send me your file.

BTable Analyzer is a convenient tool to use BTable and make your analysis without building a dashboard. Currently it doesn't allow you to save your own analysis.

Mondrian 2.4.2: AggTable/AggMeasure vs CalculatedMember

$
0
0
Hi,

I'm trying to set up custom aggregated tables in our mondrian data warehouse.
I defined the custom aggregated table like this:

<Table>
<AggName name="..." ...>
<AggFactCount ...></AggFactCount>
<AggMeasure name="[Measures].[Example]" column="..."> </AggMeasureName>
</AggName>
</Table>

As long as [Measures].[Example] points to a <Measure name="Example" column="..." .../> item it works fine.
When it points to a <CalculatedMember name="Example" formula="..." ... /> then I get the following error message:
"Failed to find measure 'Example' for Cube 'ExampleCube'".

As far as I checked it online, this thing should be working for recent versions. We're using mondrian 2.4.2 which supports only Measures.
Do you know any workaround, sg. like defining a cache-table?

Thanks,
Tamas

Formulas’ modification

$
0
0
Issue:
There is text-field within report layout (Design mode)

For this field “Structure – Attribute – common – field” has value (for example) “C1”
Within this text-field the numerous formulas define width, text-color, bg-color, etc
The formulas use “[C1]” to define it
For example for bg-color:
=IF([C1]="FAILED";"red";IF([C1]="PASSED";"green";"yellow"))

As soon as is needed to copy-paste this C1 field into C2, C3, … C50 – ALL formulas should be modified within new fields.

Of course it is possible to do it manually or unzip *prpt file and edit corresponding xml file by script but it is not convenient.

Question: is it possible to use some kind of the field name (something like “common.field”) instead of [C1] within formulas?

It allows modifying only one place while copy-paste this field C1 into C2, C3, … C50

A question re retrieving the last instance from a testing set - nominal class predict

$
0
0
Hi

I have the following code................
//retrieve the last instance in the testing set
Instance lastInstance = testing.instance(testing.numInstances() - 1);

myConsole.getOut().println("lastInstance: "+ lastInstance);

// classifyInstance() just returns the index of the predicted label (the one with the highest probability) as a double
double pred = fc.classifyInstance(lastInstance);

myConsole.getOut().println("pred: "+ pred);

For a numeric classifier, pred is a number such as 0.2256 etc

What should I expect from a nominal classifier where the predictive choices are "UP" or "DOWN" ??

Bob M
Viewing all 16689 articles
Browse latest View live


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