I am un-sure what is going on here, when I generate the report the boxed section is bringing up all of the values for all of the results. how do I make it so these are separate.
This image is showing the report
this image is showing the table links
this image is showing the code in the sub report.
If you require any other information, please just ask.
Many thanks,
Daniel
So you want to restrict the values in the subreport to be the values in the main report? You are probably looking for a feature called "Subreport Linking". Try here: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d05ad954-f8a2-2e10-db9f-bb0f13a7cb1c?QuickLink=index&overridelayout=true&51887500358899
Related
I am not an expert at SSRS but have played around with it to know my basic way around it but I am stuck on this one. This is for Project Server 2010. I am working on a task to create two reports, and combine them at the end. First report, reportA is for a single project, pulling all of it's information. reportB is for a "Portfolio" of the projects on the server.
I am being asked to create a report of them merged. I guess we will call this reportC. reportC will have reportB at the very top, listing all of the projects and other basic information. If reportB has 10 projects listed, 10 reportAs (having information for every single project listed) and all their information, will be aggregated to the bottom of the report.
I tried looking into subreports but do not think this is what I am looking for because it doesn't look as if subreports can be added dynamically, unless I'm wrong. Any ideas on how to easily complete this? I appreciate any help I can get.
EDIT: Here is an example. No it wont be aligned like that. They gave me their example in Excel. It does not necessarily mean that reportC has to be through Excel. Could this be possible running a script of some kind or similar?
Basic Example
I recently did something very similar myself.
What you could do, is in report A, place a table at the bottom where each row is a sub-report (report B). This would allow for all the passed data (name, report id, etc.) to generate visible sub-reports beneath the origin report.
Then, if you want each sub-report on its own page, you can go under group properties and add a page-break after each group.
So, I have a report to make, and I need some help to clear up some doubts.
The report has to show information about 2 tables related in a one-to-many
fashion, like, a "post has many comments" kind of thing. So, in the detail
section data about "the post" and "the comments" related to it should be
printed, if any. My question is: is it possible to create such a report
with jasper?
Initially I thought of using a subreport to fill in the comments in the detail
section for each post, but couldn't figure out how could I use the ID of the
post to get the comments and fill the report, if it's possible at all that is,
and the tests made so far to try to use such ID haven't succeeded yet. Any
help or pointer to the answer (if it already exists at SO) will be appreciated.
Of course you can do that. You might try with Jasper Groups, but it will require a query extracting data from a joint of the two tables. And as you're already trying with Sub-Reports, you should take a look at this post. It's quite straightforward: Master-Detail JasperReports
I have encountered same problem 'Document Has No Pages' issue as described in Jasper Reports And IReport Issue. I applied the solution provided in the given link and it started working. I am stuck behind the concept. My main point of concern is, when we are using detail band and we don't give a data query it gives Document has No Pages error. As soon as we give a dummy query in data query, it starts working. Kindly note that, i am using a subDataSet for a table component. That's where IReport generates this issue. Any pointers would be helpful.
Keep in mind that This is not an error but this is how it is configured to do.
This happens when you don't have results to display in the report from the database. But still you can set option what to do in this situation.
In Jaspersoft iReport 5.6.0
1. right click the report
2. Go to properties
3. Find **When No Data**
4. Select one from the options
There you'll see some options as No Section, No Detail, Blank Page, No Data Section, No pages.
Choose the one suits you. -_(--)-_
I have report with 21 column and thousands rows.
Question is: Can I display 1-10 column on first page and 11-21 column on second page.
I'm not sure it can be done. There are some options you could try, like a cross-tab report, but usually when I run into this issue I simply set my report page up to display in landscape and then format it accordingly.
Hope that helps,
Chris
EDIT:
SAP came through again. I knew if it could be done at all it needed to be with the use of a subreport. Please see this post which has step-by-step instructions on how to achieve what you are after.
I'm currently using CR 2008 for design and running my reports in InfoView. I have a fairly standard report with about 6 groupings and 2 details sections. The groupings are all hierarchichal and can be drilled into. The report contains 5 parameters that the user has access to edit in Infoview.
My problem occurs only when users change any parameter on the report and then attempt to drill down in the report. The result always ends up that the drill down will display the very first Group, with drill down, in the report rather than the one they selected to drill into. If a user enters the report and drills into any group without changing the parameters, everything works as expected.
Has anyone ever seen this kind of behavior or know of a reason that this might be happening? Please help.
Thank You,
Patrick Johnson
This is a bit of a reach, but when you change the parameters, are you refreshing the data (ie. don't use the saved data that was pulled originally). I believe something may be going wrong because of that.
Always, always, always choose to refresh your data.