rajan_patil Posted December 9, 2009 Share Posted December 9, 2009 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 More sharing options...
rajan_patil Posted December 9, 2009 Author Share Posted December 9, 2009 rajan_patilWrote: 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now