Hello,
I have a xaction that:
1- Gets a dataset with a SQLLookup (OK).
2- Uses the previous data set to ask the user wich parameter he wants with a "Secure Filter". (Seems to be OK too)
3 - Uses the previous selected parameter to execute a parametrized MDX. (Seems to be ok all alone, but doesn't work altogether).
If i set the JPivot component mode to "execute" the output seems to be what i want (it parametrizes the MDX correctly).
This is the output, MERCADO is my parameter:
Code:
model=http://localhost:8080/pentaho/GetMondrianModel?model=SolucionItalfarmaco/EsquemaITF.mondrian.xml
connection=jdbc/ItalfarmacoProgress
mdx=select {[Measures].[Recetas]} ON COLUMNS, {[DimProducto].[Mercado].[DIURETICOS]} ON ROWS from [Recetas]
options=[personal, cube-nav, mdx-edit, sort-conf, spacer, level-style, hide-spans, properties, non-empty, swap-axes, spacer, drill-member, drill-position, drill-replace, drill-thru, spacer, chart, chart-conf, spacer, print-conf, print-pdf, spacer, excel]
title=Consulta OLAP:
Mercado=DIURETICOS
But when I try to use the redirect to JPivot, it fails. It sais something about not finding the OLAP Model, which is not true. I think it has something to do with the output URL from the JPivotComponent, not adding something like " ?Mercado=MYCHOOSE" .
The url ir generates is:
http://localhost:8080/pentaho/Pivot?...sulta1.xaction
Actually, if i add (i have even tried to add it with a JavaScript rule at the end of the xaction) that string to the url manually. Something like this, it works:
http://localhost:8080/pentaho/Pivot?Mercado=EXPECTORANTES&?solution=SolucionItalfarmaco&path=&action=PruebaITFConsulta1.xaction
Maybe this i'm trying is something that cannot be done at the moment with pentaho... hope this is not the case.
I attach my xaction.
Thanks in advance for any answer. Totally lost here. http://forums.pentaho.org/archived_a...sulta1.xaction