I have designed OLAP cube in Jaspersoft OLAP Designer. Now I have imported this Cube in iReport by making OLAP connection.
I am tested my result set using following MDX query
select HealthCheckStatusD.Members ON AXIS(0),
{ChannelD.Members} ON AXIS(1), {HealthCheckDateD.Members } ON AXIS(2) from CubeReport2 where Measures.[Patient]
Also modified version of above query:
select HealthCheckStatusD.Members ON Columns,
CrossJoin(ChannelD.Members,HealthCheckDateD.Members) ON Rows from CubeReport2
As far as I know both queries are logically same.
Logical cube structure is as follows:
--Cube
----HealthCheckDateDimension
----ChannelDimension
----HealthCheckStatusDimension
---------PatientMeasure
Now I want to prepare report in iReport in the way I am getting result from MDX query.
How to do that with iReport? I tried using crosstabs in iReports but when I specify above MDX query I am not getting any way to specify measure in the crosstabs.
Is there any another approach in iReport of designing reports for OLAP views? kindly help