Creating Drill down
Posted on July 20, 2009 at 5:51am
I had created main report and sub report , i can pass a value from main report and display the value in the sub report.
Now i am getting as
Main report
A
B
C
Subreport.
A1
A2
I need to display as shown below,assuming i had clicked A
A
A1
A2
B
C
Is there any other approach to do achieve this drill down instead of using master report and subreport.
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 20, 2009 at 6:24am
If the subreport is simple enough, you can use the List element (JR 3.5.2 and greater).
It is a kind of light subreport, but it does not require a separated jrxml.
Giulio
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 6 days ago
Posted on July 21, 2009 at 5:47am
Downloaded JR 3.5.2 found the List element, i tried to use the same in the ireport to obtain as mentioned below
A
A1
A2
A3
B
B1
B2
C
I am getting as follows
A
null
null
null
B
null
null
C
Attached the jrml file.
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 21, 2009 at 6:28am
You missed to set the connection expression:
1. Right click the List element and select Edit List Datasource
2. In the Datasource/Connection expression box set Use Connection Expression and accept the default expression set (which is $P{REPORT_CONNECTION}
Giulio
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 6 days ago
Posted on July 21, 2009 at 8:30am
When i try to deploy in the server, i am getting
The selected Jrxml could not be parsed, as a error message.
I am using the following
Ireport - 3.5.2
Server - 3.5.0
Attached the jrxml file
Post Edited by kumarsrs at 07/21/2009 15:34
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 21, 2009 at 2:22pm
You need to update the jasperreports jar in JasperServer to 3.5.2. As said List are supported starting from JasperReports 3.5.2
Giulio
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 6 days ago
Posted on July 21, 2009 at 9:40pm
Guilio,
Can you get me the link to downloaded JR 3.5.2. Am also need to implement drilldown in one of the report.
Madhan!!!!
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 21, 2009 at 10:27pm
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 21, 2009 at 10:31pm
Thanks kumar. Can you please attach your drilldown jrxml which will be useful for me. Also if you have any other document for creating drilldown report please attach it too. Its very urgent. It is of high priority work to be done from my side. So please send me as soon as possible.
Madhan
Post Edited by mhanspmk at 07/22/2009 06:12
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 22, 2009 at 1:50am
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 6 days ago
Posted on July 22, 2009 at 4:39am
I had created jrxml to generate a output as attachment (drilldown.JPG)
Please let me now how to generate a drill down report, i had provided the hyperlink
Anchor Name Expression as $F{Name}
Bookmark level as 0
Hyperlink target as self
Hyperlink type as Localpage
Link Parameter as
Parameter name Expression
Name $F{Name}
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 22, 2009 at 5:08am
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 22, 2009 at 5:12am
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 22, 2009 at 5:17am
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 22, 2009 at 5:25am
No. I need the server installer for jasperserver-3.5.2
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 22, 2009 at 6:45am
Joined: Jan 2 2007 - 4:15pm
Last seen: 1 week 6 days ago
Posted on July 22, 2009 at 9:24pm
Kumar,
Did you get solution for drilldown?. If you get the solution for drilldown then please post it.
Madhan
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 22, 2009 at 9:33pm
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 23, 2009 at 1:20am
what happened kumar. can you able to do drilldown now?
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 23, 2009 at 1:39am
Downloaded Workbench
working on OLAP Schema prepartion.
Post Edited by kumarsrs at 07/23/2009 08:46
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 23, 2009 at 1:42am
what is that workbench. is that related to drilldown? where can i download it?
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 23, 2009 at 1:53am
These drill down comes under analysis for that we need OLAP Schema, manually creating is not a easy stuff, for that I had had download this workbench.
Once it is successful , we can move the schema and the query to jasperserver.
Post Edited by kumarsrs at 07/23/2009 10:52
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 23, 2009 at 2:20am
ok. once drilldown is done please let me know and send the files. it will be helpful for me. tell me from where can i download that workbench so that before getting the solution from you i will go through what is there in the workbench,etc....
Joined: Jun 18 2009 - 3:56am
Last seen: 13 years 9 months ago
Posted on July 23, 2009 at 2:30am
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on July 23, 2009 at 3:44am
Create OLAP Schema and obtained the desired result,
SELECT
[Measures].AllMembers ON COLUMNS,
Hierarchize([New Dimension 0].[New Level 0].Members) ON ROWS
FROM [cube];
when i try to use the same in jasperserver, i am getting error as
"The following is not a valid MDX Query: Internal error: Virtual file is not readable: repo:/analysis/views/ttt"
Attached the screen shot.
Please let me know, why i am getting the above error.
Post Edited by kumarsrs at 07/23/2009 10:46
Joined: Jun 28 2009 - 11:51pm
Last seen: 13 years 8 months ago
Posted on September 3, 2009 at 10:47am
I try creating a drill-through report using the list concept linking the an attribute to the list, and cannot seem to get the list to show when I click on the hyperlink.
Any help is appreciated.
Joined: Aug 24 2009 - 2:24pm
Last seen: 13 years 7 months ago
Posted on September 4, 2009 at 11:57am
What do you specify as the Hyperlink Anchor Expression for creating a drill-to list. I assume you would need to use a Local Anchor for this. I have attached a jrxml report below.
Joined: Aug 24 2009 - 2:24pm
Last seen: 13 years 7 months ago
Posted on September 4, 2009 at 4:01pm
An interactive drill down could also be done with Jasper Analysis. However this seems to be mind bogglingly complicated for a layman to set up as far as I can see.
Joined: Apr 7 2009 - 12:43am
Last seen: 13 years 11 months ago
Posted on September 8, 2009 at 12:25pm
Thanks for your reply. I agree, this seems like it should be more simple that it is. I am in the process of installing Jasper Analysis to try this out. However, I have a specific reporting requirement that requires only two levels with the same measures. Alternatively, I could have two different reports with the same data at both levels, but I would like to keep as simple as possible for the user. OLAP is more intended for those data diggers, where the reports i need to write are more for the primitive users.
Joined: Aug 24 2009 - 2:24pm
Last seen: 13 years 7 months ago
Posted on August 12, 2010 at 9:09pm
Hi,
I have to create drill down jasper report. I followed the steps given in this forum for creating drill down report. But I am not able to see the listview contents when I click the Hyperlink.(Attached the .jrxml created.)
I am using iRpeort 3.7.4 with compatibility for jasper report 3.6.0. Please guide me regarding creating the drill down report.
Thanks,
SriPrasanna
Joined: Aug 8 2010 - 11:08pm
Last seen: 12 years 7 months ago
Posted on August 22, 2010 at 11:11pm
me too iam not able to see the listview
Joined: Aug 17 2010 - 2:01am
Last seen: 12 years 7 months ago