Subreports Or Data Regions? Other?

Dec 11, 2007



I'm looking for advice on how to approach a reporting task I've been given. The report needs to be grouped by one of the fields in a view. The view contains patient data. Within each group, the report has to show the results when the view is processed for patients under 18 and another set of results when processed for patients 18 or older. Should I create a subreport for each age group? How would I show both age group sections under the same group? I've heard that subreports are resource-intensive. Is there a better way? Data regions? How would that work?

Thanks!

View 1 Replies


ADVERTISEMENT

Collapsing/Expanding Group Data In Table And Matrix Data Regions

May 30, 2007

Hi,



Is it possible to create Expand/Collapse functionality for the grouped data in Table and Matrix data regions? Essentially, the idea is for the user to be able to see the group/subgroup data if she wishes to by clicking on (+/-) symbols, as is usually the case in Tree View style data grid control in web apps. Any ideas how to accomplish the same in reporting services?



Thanks.

View 1 Replies View Related

Data Regions Within Table/matrix Cells Are Ignored

Dec 7, 2007

My Report consists of a matrix and table . I Kept the matrix inside the table because i need to calculate subgroups total as well as Grand Total using the group i provided inside the table . The issue when i tried to render the report to Excel it shows "Data Regions within table/matrix cells are ignored." I dont know how to solve it . When i google it . It says that its a Microsoft SSRS limitation . Anyway i could solve it any help will be appreciated

Regards
Praveen John
+91-9895074288
"Frankly, my dear, I don’t give a damn"

View 1 Replies View Related

Data Regions Within Table/matrix Cells Are Ignored

Dec 7, 2007

My Report consists of a matrix and table . I Kept the matrix inside the table because i need to calculate subgroups total as well as Grand Total using the group i provided inside the table . The issue when i tried to render the report to Excel it shows "Data Regions within table/matrix cells are ignored." I dont know how to solve it . When i google it . It says that its a Microsoft SSRS limitation . Anyway i could solve it any help will be appreciated

View 1 Replies View Related

Computing And Assigning A Value To A Textbox From Other Data Regions

May 18, 2007

I am new to SSRS, so perhaps its a trivial question. I was wondering that since all controls have names in the report, is it possible to programatically access values of different textboxes, do some computation and then assign to another text box? I know how to do it using the Aggregate functions and operators, but am not sure if I can access values from textboxes within two different tables and assign the computed value to a third text box on the page (not belonging to any table or other control).



somethig like.... txtTotal.Value = FormatCurrency(txtSalesTotal.Value) - txtDiscount.Value));



Any ideas??



DNG.

View 6 Replies View Related

Nested Data Regions - Reporting Services

Jan 15, 2008

Is it possible to nest list items that use different datasets? I am currently working on a report that consumes information from several different tables. Is there a way to achieve this using nested data regions?

Here are some of the items from the report-

IT Plan
----------
IT Plan Headers 1-10


IT Plan Projects
-------------------
Project Headers


IT Plan Project Sponsors
-------------------------
Sponsors 1-n

IT Plan Project consumers
---------------------------

IT Plan Project Survey

------------------
Survey Qs and Responses...


IT Plan Project Alignments to Intiatives
-----------------------

Alignments 1-n

..... several other such subsections.

and then the information gets repeated for the next IT plan.

I thought it might be possible to nest data regions. After placing nested lists on my reports, when I try to associate data from other datasets onto to the nested list, the report designer UI only exposes aggregate functions like Count or First in the expression editor --> Fields collection. It does not let me associate other datasets.

If anybody can provide some details on the best approach to tackle a huge report like this, I would really apprecaite it. I am currently going with the Sub reports approach.

Thanks
Kaushal

View 4 Replies View Related

Error Data Regions Within Table/matrix Cells Are Ignored

Mar 13, 2008



When we try to export to excel a SQL client report containing tables that were grouped based on some data in two tables of a dataset I am receiving the following error

"Data Regions within table/matrix cells are ignored".

View 8 Replies View Related

MDX Filtering And Grouping Data Within Subreports (help)

Aug 28, 2007

I have what at first site should be a simple reporting services issue but cannot resolve:-

I have a complex report comprising over 90 pages of various sections but when analysed in detail , 80% of it follows a simple pattern i.e. it comprises around 100 instances of the same sub-report bound to the same data source BUT grouped and filtered on different groupings and filter values.

The pattern is as follows:-


Each sub-report instance is bound to an SSAS cube which has fields L1, L2...L7

Each sub-report instance groups the data dynamically by one or more groups G1,G2..G7, the actual fields to be used being defined by the parent report (i.e. one instance may group by fields L7, L3, L4, another by L2,L3 etc)

Each sub-report instance has up to 7 filters defined (F1..F7) may filter the data i.e. the parent may pass a filter stipulating that L7="A", L3="B". To do this, the parent sets filter parameters F7="A" and F3="B"


The approach I have adopted is to set up parameters in the sub-report for dynamically grouping the data i.e. the
sub-report has 7 parameters defined G1..G7 and the parent report populates G1..G7 with the grouping breakdown required for any given instance. This works fine!!!!

However what I am trying to do is prevent each sub-report performing major round trips to the underlying cube for each sub-report instance by specifying the filter as part of the MDX query by defining the 7 filter parameters as query parameters. (I could of course not filter the query and place the filter in the report but this would almost certainly lead to performance issues). Instead what I am struggling to do is to create the MDX query in such a way that when a filter is not supplied by the parent, the MDX query does not filter the data.

Can anyone advise on this. I guess my question is more of an MDX question than a reporting services one.

View 1 Replies View Related

Report With Subreports And Data-Driven Subscriptions?

Feb 7, 2008

I have problem with using a data-driven subscription on a report with subreports. It works fine when I remove the subreport and generates error even when I add a subreport which only consists of one textbox.

I just was curious to know if using data-driven subscription on a report with subreports is supposed to work?

Thanks,

View 3 Replies View Related

Way To Hide Subreports Based On Item Existing In A Data Set.

Feb 22, 2008

My current report has around 40 subreports corresponding to tests executed by the user. There is a different sub report for each of the tests executed. I first developed the report by just putting the subreports directly on the main report. The problem is if some of my tests are not executed by the user I would like the subreports to not appear in the report.

I have tried doing this two different ways. First I tried creating a table and attaching that table to a dataset that I created that returns all the tests that were executed by the user. I then set up a filter that specified that the name for a specific subreport had to equal the test name. I then dropped the sub report for that particular test into the table. The idea is there would only be one row when data is available and no rows when no data is available so the subreport would not appear. When the data is available the subreport appears great. When it is not available and there is no item in the dataset for that test I get an error from SQL that states there was an internal reporting error and to check the SQL server log for more information. I know my table is set up correctly because when I replace the subreport with text the text will appear only if data is available for that test and the text does not appear if no data is available. I get no errors until I add the subreport and remove the data from the database so the filter does not return any items. Is there a reason why I would be getting this error? I am still pretty green using reporting services so I do not even understand how to get the log from the server to determine why this error is occuring.

Secondly I have tried to use an expression to hide the subreport using the visibility tab for the report. I was able to get this to work by creating a dataset that returns 1 if a specific test has been executed and no rows if not. I then created an expression that would return true if the dataset returned 1. This worked okay in hiding my subreport but I would then have to create 40 datasets, one for each test. Is there anyway to write an expression that would return true if a dataset contained a row with a specific test name? I have not been able to figure this out.

Can someone either help me fix the problem I am having with the table approach or write an expression that would work in the visibility setting for each sub report that did not require 40 datasets? Or is there another approach that I am not even thinking of that might work?

Thanks so much,
Josh

View 6 Replies View Related

Side-by-side Data Regions

Jul 31, 2007

I was using a single data table to contain my assortment of fields, but one of the text boxes often has to grow vertically, skewing the layout on the fields to the right of it. So, I moved those other fields to a data list right beside the table. It seemed to work perfectly, so I deployed it to our development server and tested it. When rendered from the server, the list gets bumped down to below the table.

So, after doing some research, I stuck the list into a rectangle and tried different things, like making sure the top of the rectangle was above the top of the table, etc. However, one or the other data region always gets bumped down to below the other--I can't get them to stay side-by-side when run from the SSRS server.

The final frustration is that when I print from the malformed 'preview' on the server, it comes out correctly on the printer! In other words, it looks different on the printer (correct) from how it looked when I hit print (incorrect) in the browser.

Apologies if this is a newbie question, but I'm stuck.

Browser is IE7, server is SQL 2005 SP1.

Thanks,
Joel

View 1 Replies View Related

Subreports: Parameter Value Dropdown Shows Sum And Count Fields But Not The Actual Data Fields.

Jan 28, 2008


I have just started using SQL Server reporting services and am stuck with creating subreports.

I have a added a sub report to the main report. When I right click on the sub report, go to properties -> Parameters, and click on the dropdown for Parameter Value, I see all Sum and Count fields but not the data fields.

For example, In the dropdownlist for the Parameter value, I see Sum(Fields!TASK_ID.Value, "AppTest"), Count(Fields!TASK_NAME.Value, "CammpTest") but not Fields!TASK_NAME.Value, Fields!TASK_ID.Value which are the fields retrieved from the dataset assigned to the subreport.

When I manually change the parameter value to Fields!TASK_ID.Value, and try to preview the report, I get Error: Subreport could not be shown. I have no idea what the underlying issue is but am guessing that it's because the field - Fields!TASK_ID.Value is not in the dropdown but am trying to link the main report and sub report with this field.

Am I missing something here? Any help is appreciated.

Thanks,
Sirisha

View 3 Replies View Related

Subreports

Dec 27, 2007



Hi

I have a subreport to which I am passing values. Now my requirement is only if there are records to be displayed the

report should be displayed or else the report should not be displayed. Is there anyway I can do this. I know

that there are expression for the visibilty tab in sub reports properties. But how do I set it up.

Thanks

Sai

View 1 Replies View Related

(SubReports) Is It Possible To...

Feb 21, 2007

Here's my dilema. Our organization has two db servers. One is Oracle and the other is SQL Server. Oracle contains our HR information on all employees and SQL Server contains information on various projects that we are undertaking. The HR system (Oracle) contains Employee ID's, Names, addresses, phone numbers, etc. SQL Server has information about the varous projects and Employee ID's of who is assigned to those projects. I have a report that has two data sources (one to each server) and two datasets (each populated from the two datasources). I would like to have a single table that displays the project and the name of the person who's assigned to that project. This would be achieved by linking the tables on similar information, which is the Employee ID. I've received responses in various news groups etc. saying this can be done by using subreports and query parameters but it's never explained how to go about it. Kind of like, I can tell you what you use to fly to the moon, but I can't tell you how to actually go about building the rocket that gets you there. :)



Is the functionality that I'm looking for possible in SSRS 2005??



Thanks,

James

View 3 Replies View Related

Subreports Problem

Jun 4, 2007

Hi,



I have a strange problem.

I have developed a report with 2 subreports in the main report.

I am talking about a visual studio environment.

when i test the report and run it local the report works fine. I see my report (multiple pages) with on each page

my subreports included.



When i deploy the report to my reportserver, all goes well and i don't get any error.



When i access the report on my reportserver and i run it, all goes well.

But, on my second and third page of my report, the subreports don't show (Error: Subreport could not be shown).



Does anybody has a explanation for this ?



Greetings

Vincent

View 1 Replies View Related

Subreports Programatically

Dec 27, 2007



Hi

I have a main report and sub report. The subreport has some fields like SYS, LOC, MSG etc.

But the report should display the values filtered basis on system. i.e. I must have a sub report

for SYS1 , SYS2 , SYS3 and so on. I can create a sub report for each system. But I want to create only subreport and

call them from the main report. How do I do this?

Thanks

Sai

View 5 Replies View Related

SubReports Not Working

May 25, 2007

I have a main report and I plan to use a drop-down box to select one of four different sub-reports, at a time, based on the selection. These subreports are all based on their different data-sets, due to too complicated conditions which could not be accomodated in a single SQL select. In addition, there are about 9 different filters which are common to all the four sub-reports. These data filters are in drop-down boxes and get populated through their own datasets. I have created and tested the subreports.

My problem is bringing these subreports together in the main report and making them visible based on their selection or otherwise in the main report. Can I use the same parameter I am using to select the subreports, in the drop-down box in the main report, to be passed down to the subreports ? HOW (could someone provide sample code of the lif or IIF statements) ? How does the main report know which dataset to switch to ? And how do I make visible or invisible the individual reports ?

Any help, suggestions and code samples explaining things would be appreciated.

View 4 Replies View Related

Dynamic Subreports

Jul 10, 2007

Hi all!



I need to create a report with a number of subreports. The problem is that those subreports might be different for each datarow.



Is it possible to set the report name for the subreport in some dynamic manner, e.g. extract it from the data?

View 7 Replies View Related

Nested Subreports

Jun 18, 2007

Hi!



I have a report (A) that has a list where a subreport (B) is displayed. This subreport includes nested sub-reports (C) which have other nested subreports (D) (globally there are 3 levels of subreports). When I try to preview report A in Visual Studio I get the "Object not set to an instance of an object" but when I try to preview report B everything is ok. I have RS SP1 installed and I have already tried to include a dummy query in the subreports so that they always have a result....

Does any one had a similar error?



Thank you in advance

csr

View 1 Replies View Related

Trying Subreports - Does Not Work

Feb 12, 2007

Hello colleagues,

I have the following issue:

I am trying to create a report with subreport this way:

1) create report

2) create subreport. Set parameter @AccountName in the SQL query (...WHERE account.name = @AccountName) and in the parameters collection - AccountName, data type string

3) place the subreport into the report and set parameters AcountID = =Fields!name.Value, so that the WHERE clause in the subreport should filter the content according to the field Fields!name.Value.

So far, I suppose this should work. Nevertheless, I get this result in Visual Studio .net:

An error occurred while executing the subreport €˜subreppp€™: An error has occurred during report processing.

Cannot read the next data row for the data set DatasetXYZ.

When I publish the reports into our CRM, I get the main report but the subreports shows: "#Error: The subreport could not be shown".

What can I do to make this work properly?

Any help would be VERY appreciated as I have already wasted several hours with this issue.

Thank you a lot!

Ravie.

View 6 Replies View Related

Master And SubReports

Feb 15, 2007

Hi All,

I am new to Rs2005. I have 4 seperate reports, r1, r2, r3, r4,.....etc. I want these reports to be called in sequence in a Master report. I want to make all 4 reports 1 big report. Can this be done, and if so can somebody please point me in the correct direction. Many Thanks in advance.

Kenny

 

View 20 Replies View Related

SSRS SubReports

Aug 21, 2007

Hi,

1. Can we acess Datasets from main report to sub report in SSRS 2005?

2. While i preview the report main report and navigate to the sub report the "Back to Parent Report" icon is displayed in the toolbar of the sub report but when i deployed and viewed in Internet explorer it cannot see the "Back to Parent Report" icon. Whether i have do any settings while deployment?

Any help would be appreciated

Thanks
Dinesh

View 1 Replies View Related

Dynamic Subreports... Is It Possible?

Feb 6, 2007

Is it possible to set up a subreport so that I can determine which report it displays based on parameters?  From what I've seen, the report that a subreport displays must be hardcoded...  Anyone got any workarounds?

View 1 Replies View Related

Subreports And Stored Procedures

Nov 30, 2004

Hi everybody,
I've got a quick question.....hopefully :)
I have two reports based on two different stored procedures, they both need the user to enter a begining and end date as parameters.
I would like to have one main report and add my two other reports as subreports.
The problem I have by doing that is it asks for the parameters for the first subreport and then for the second and these parameters are the same for each subreport.

Could someone tell me how to have the parameters asked only once ?

Thank you all any help will be greatly appreciated.

Seb

View 1 Replies View Related

Page Break And Subreports

Aug 21, 2007

I have a main report that calls subreports. When a subreport has enough data such that it will not fit into the remaining area of the current page the renderer inserts a page break leaving alot of ugly white space. Is there any way to sop this behaviour? This seems like a very basic thing.

View 17 Replies View Related

Interactive Dashboard With Subreports

Sep 14, 2007

I am trying to create a dashboard that is split into the five main focus areas of Customer, Finance, Management, People and Innovation. Each focus area has a main report and a series of subreports (within a panel). I use the €˜Jump to report:€™ property at the domain level €“ which works well.

My problems arise when dealing with the subreports. For example, in the €˜People€™ focus area €“ the panel contains 4 subreports covering; contractor vs. fte trends, gender balance trends, compliance trends and investment trends.

Ideally I would like to have four €˜tabs€™ which when clicked would show the relevant subreport. I know this can be done via a full report refresh, but it looks clumsy and is more complex and costly to maintain.

I am happy for any method that might change the €˜Subreport€™ property dynamically or set the visibility of the objects. I want to avoid using the toggle capability as this could result in two or more subreports conflicting and being visible at the same time.

View 2 Replies View Related

Can SubReports Be From SubProjects In The Same Solution

Jun 8, 2007

We have a bunch of small single pupose reports (individual charts, tables, etc.) that we used as subreports across several larger reports. I want to sperate the subreports into their own folder on the Reporting Server and I tried to tdo this by creating a solution with subprojects and specifying different publishing folders. That seems to be going well, but when I want to add a subreport from one project to a report in another project Visual Studio doesn't seem to like this at all. It won't let me drag them to the layout surface.



Shoudl this work? Is there something different I need to be doing since I'm working with multiple projects now?



Thanks,

-p

View 15 Replies View Related

Subreports Are Not Exported Into Excel

Feb 4, 2008



hai,

i was created report with 6 sub reports for muliple columns driil down as based on client requirements, and also iam using one subreport with in the all 6 sub reports,when run the report i got the correct data. my report output having total 11 fields. with in the 6 fields iam using the 6 sub reports, with in the 6 sub reports iam calling the another sub report.


while exportin my report into excel sub reports are not shown, in the place of sub reports i got the error that is "
subreports within a table or matrix cells are ignored"

my client must need report output in excel format, so how to solve this problem. in my analysis excel is not support sub report feature, is there any diffrent method or is there or any third party control is there


please give me solution how to solve this probelm.


Thanks in advance

jacks v

View 3 Replies View Related

Parameters To Subreports Within A Matrix

Jun 18, 2007

We have a recurring project status report that uses a matrix (each matrix group is for an individual project). The name of the project renders fine and displays in the group, but when we try to pass this same value as a parameter to a subreport (a graph) which we also want to display in the matrix the subreport is only renderd for the last instance of the matrix group (i.e. 4 of 4 has it but 1-3 show a blank field in the matrix).



I assume this has something to do with using parameters within the matrix control, but didn't find any posts about that.



I should add another way we've tried to do this is with a list instead of a matrix and it also fails in the same way (doesn't render all of the subreports).



Thanks for the help,

-p

View 3 Replies View Related

Using RunningValue In Charts With Subreports

Jul 3, 2007

Hi,
I am creating some earned value reports that display project budget, actual cost to date, projected cost, and earned value. I have all of the data stored by month so I am using the Running Value function to display the data on a graph such that at any given point on the graph, it is showing total dollars as of that date. This works great for a single project or a summation of projects.

I also want the ability to create a batch set of reports for a series of projects, basically they input a list of project numbers, and a new graph is generated for each one. To do this, I created a "batch report" that has a subreport in a table's group with project id being the grouped on field, it passes that project id to the subreport as input.

I get exactly what I want - a new report for each project, but the problem is, running value on the graphs is not working across the projects. It's fine for the first project, but all subsequent projects are getting messed up. For instance, one project with a max budget of 200K is showing with a max budget of 400K, actuals are getting nulled out, etc. It's as if for some reason, the RunningValue isn't getting reset across the subreport....

An example of my value field on one of the lines (not copy and pasted so forgive any syntax errors - I'm not on my development box):





Code Snippet= Iif(MAX(Fields!actual_de.Value + Fields!actual_work.Value) >0, RunningValue(Fields!actual_de.Value + Fields!actual_work.Value, Sum, FakeSeries), Nothing)



(The point of the max is so that the graph stops on months without actuals - that is months that haven't occured yet)

My FakeSeries is just on projectID and is just for the purpose of resetting the Running Value (or so I thought).

Does anyone have any input or advice on how to get this working? Why is RunningValue getting messed up across subreports? If I only give the batch report one project ID, the data is great. (I know it's the running value because if I take out running value and just graph the SUM - all the values are correct). If anyone has an alternate way of doing this sort of batch report I'm all ears as well!

Thanks much!
Jen

View 1 Replies View Related

BackgroundColor For Table Row With Subreports

Apr 23, 2008

One of the columns within a table on my parent page contains data that increases the height of the row, (a 'comments' field). Unfortunately a subreport within that table does not expand to fill the entire height of the cell it is in because of the expanded row height, therefore leaving "white space" below it. Some rows have a different background color depending on a certain fields' value but in the column where the subreport is, I can't set the background color in the properties window because that attribute has been removed.

Everything with my report works correctly but I just can't seem to get that white space to change to the correct color.



I've tried the following so far with no luck:

1. Setting the background color of the table row. This option is not available within the properties dialog box. I assume because the row has a subreport nested in it. (Can I set the background color somewhere else?)

2. I passed the row color variable as a parameter to the subreport but obviously that only colors the subreport and not the whitespace underneath it within the table row.


My report looks goofy with a whole row one color except for the whitespace under my subreport in each row so if anyone could point me in the right direction I'd appreciate it.

Thanks.

View 5 Replies View Related

Render Lag With Subreports In List

Feb 19, 2008

Hi everyone,

For a project I'm working on right now we issue a bunch of 2-4 page PDF reports (a main page and a subreport) for every entity within a retail hierarchy. Our client would like to have some of those reports rolled up into a single file so that starting in the second level of the hierarchy there is one file for each member and all its ascendants/descendants. In order to do this, I'm putting the existing report into a list on a new template (as a subreport) and creating a dataset for the list to pass the parameters into the subreport. I initially had to do this for 1000+ stores and realized that it was going to take a LONG time (the main page report can take as long as a minute to run as it's kicking off stored procs that retrieve a ton of data from a cube), so I stopped it and restricted my list's dataset to 3 rows to create a 3-report rollup for testing. When I previewed the report, it showed up after a minute or so and it looked fine - everything was where I expected it to be, pages were breaking properly, etc. However, when I tried to export that into PDF it hung forever. I cut the dataset back to 2 records and had the same problem, so then I cut it back to 1 record and it exported just as quickly as it always does. Does anyone have any information on why this is happening and what I can do to get around it? It's going to be a pretty critical component of this project for us.

Thanks in advance,
Adam

View 1 Replies View Related

Subreports Within Table/matrix Cells Are Ignored.

Apr 25, 2007

I have Report with subReport,

in the designer its looked well, but when I export the report to excell format

I get this error,

is it poosible export report with sub report to excell?

thanks!

View 33 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved