Jump to content
We've recently updated our Privacy Statement, available here ×

How to pass "MONDRIAN_CONNECTION" to subdataset?


rajan_patil

Recommended Posts

Hi,

 

I am trying to use crosstab with mdx (Using Mondrian-OLAP connection).

I am using subdataset in crosstab. But in JRXML I see the following -

$P{REPORT_CONNECTION}

Since I am using MDX query in subdataset, it seems I should have "MONDRIAN_CONNECTION" parameter in connectionExpression.

 

I have also gone through this link

http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=50644&page=1

 

But I didn't get how to pass MONDRIAN_CONNECTION Parameter to the subdataset.

Can anybody tell me how to deal with this?

 

Thanks in advance.

 

Rajan

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

rajan_patil
Wrote:

Hi, I am trying to use crosstab with mdx (Using Mondrian-OLAP connection). I am using subdataset in crosstab. But in JRXML I see the following - Since I am using MDX query in subdataset, it seems I should have "MONDRIAN_CONNECTION" parameter in connectionExpression. I have also gone through this link http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=50644&page=1 But I didn't get how to pass MONDRIAN_CONNECTION Parameter to the subdataset. Can anybody tell me how to deal with this? Thanks in advance. Rajan
Code:
<crosstabDataset>	<dataset>	<datasetRun subDataset="dataset1">	<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>	</datasetRun>	</dataset></crosstabDataset>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...