ssrs subreport example. 3) Now, Click File, Add, New Project (ctrl+shift+N) from the top-level menu –. ssrs subreport example

 
 3) Now, Click File, Add, New Project (ctrl+shift+N) from the top-level menu –ssrs subreport example  For the default value of the parameter in the subreport, no matter whether we set Available Values for the parameter (no NULL check

NET Core app and cannot find a solution for displaying SSRS reports. I'm new to SQL Server Reporting Services, and was wondering the best way to do the following:. But more likely you'd like to hide it based on some logical conditionIt looks like this: where @pNomActif is a report parameter: =Parameters!pNomActif. Optionally, format the textbox and make it look more like a button. e. Enter '1' as the value. Data source : random sample data Data set for the Sub report: SELECT Year([OrderDate]) SaleDate ,[Region] ,[Representant] ,[Category]. The first step in the process is to create a parameter; in the below example the parameter called Pick_a_Value is created. Let's first write two new report templates, one being subreport and the other Master report. We will start with a simple sub-report example. Create a New SSRS Project Create a Shared DataSource in SSRS. SELECT User. Hide the parameters. Right-click on the Reports folder and choose Add-->New Item. Find and view reports in Report Builder. End users who work with the data, first send the Report Request to the SSRS server. The example is there is a table holding sales header data and a table holding sales line data. This article will show you how to add Report parameters in SSRS or SQL Server Reporting Services with an example. Right click on Tablix's row. The unbound main report contains two subreports. was to add a subquery/CTE to my main report query that got a count of the number of rows that would be present in the sub-report data. When I try to print reports the current page is only printing even though the report viewer has many. toggle switches. 1 Answer. After this, you need to click on the Business Intelligence . It also has another textbox which will be visible only if the dataset Items has rows. Some tips on Analytic Charts. A subreport is attached into the detail group in the tablix. com💬 For Learners Post queries and Interact. With the absents of "Microsoft. 4. Select the first subreport item in the design surface and open the properties panel. This expression can be used to control the Hidden property of an image report item. This is not the same as Master/Detail in the way that you are understanding it. II. Here's the Microsoft reference and a link for referencing older versions of SSRS. Try and select a name from the dropdown (it's empty). The example uses the Report Parameter to filter the detail report by a product category. Steps Used for Call SSRS Report are : -You don't need a subreport. Also, a cool feature, if the SubReport returns no. Value it breaks. [@Month1]In the web portal, navigate to the desired report, right-click on it and select Manage from the drop down menu. NOTE I rarely use subreports in standard scenarios to produce master/detail reports. I wanted a third choice: Just run it like SSRS does, but without installing the SSRS server. only one dataset is required (as in the example above) the report requires two reports: MainReport and SubReport; MainReport: references a shared dataset consuming the stored procedure with the data. For example, if the sub-report should print the text "My Name is Joe", the second page. The solution is to create a dummy parameter in the subreport, which you then need to bind to a field in the tablix dataset. In Reporting Services web portal, click Home, and navigate to the folder containing the Sales Orders report. Subreport Item with Properties. 5. Trigger example in sql (2) Trigger on delete with Example in SQL (1) Trigger on Insert with Example in SQL (1) triggers with example in sql (2) Try and Catch in SQL (1) two column in stack in SSRS (1) two values after decimal in sql (1) U. I'm basically doing tthe same exact thing for both subreports. And also we have seen. Enter 'Likelihood' as the name. Customize sets of parameters for multiple users. Set it to 'Hidden'. SSRS passing parameter to subreport Ask Question Asked 10 years, 3 months ago Modified 10 years, 3 months ago Viewed 28k times 2 I have 2 tables which. Add an extra parameter @SelectedCustID in main report and set Allow Null to true. I created a subreport that gets me that data. OnFormat event is fired. In this example, we will show you how to create or Enable Document Map Labels in SSRS or SQL Server Reporting Services with an example. Lesson 1: Creating a Report Server Project (Reporting Services) Lesson 2: Specifying Connection Information (Reporting Services) Lesson 3: Defining a Dataset for the Table Report (Reporting Services) Lesson 4: Adding a Table to the Report (Reporting Services) Lesson 5: Formatting a Report (Reporting Services)Border properties are used to add or customize the border around a subreport item to visually separate items in the report design. I am totally stuck here. Then the second one, “groupTotal”, is an aggregated (Group By) query with the groups and the sum of quantities that will be used in a sub report, and in a chart. Setting the main property then in turn sets the subreport property. You can add a footer to any group and merge all the cells to create room for the sub report. After this, you need to click on the Business Intelligence . Multi – value. I would like to create an SSRS report that has one row per record in Table A, but then displays a sub-table for each Table B and Table C in one of the columns. 3)Insert a Rectangle object into the List object. Typically the subreport is parameterized . Where A is the names of the parameters the subreport expects and B is the name of the values we want to pass (in this case the parameters from the master report) Second subreport. Configure permissions. Choose a data source and create a query for employeedataset as in Figure 6. In the detail row you will see all the detailed data (like you first example table). 2. SSRS Subreports Example In this example, we will show you how to create SSRS Subreports inside the Table Reports with an example. First make the subreport in SSRS. Learn some basics on sql server, at least Select Statements, and it helps you to understand this SSRS reporting services tutorial. For example: Subreport 1: Record A on 1/5/2011, record B on 1/8/2011, record C on 2/4/2011. If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link A single Reporting Services paginated report can have characteristics from more than one type; for example, a report can be, at the same time, a stand-alone report, a subreport referenced by a main report, the target of a drillthrough report in a different main report, and a linked report. In this tutorial, we will learn "How to create a Dashboard Report" in SSRS. In this example I am running a SELECT statement to assign the first day of the current year to startdate and the current date to enddate. To relate the reports through data values (for example, to have multiple reports show data for the same customer), you must design a parameterized report (for example, a report that shows the details for a specific customer) as the subreport. there could be 4 parameters which represent the names of 4 reports. Firstly, will create a table that relates to the query from the first dataset. contaiting inserted Subreport, which needs to be hidden, "Row Visibility. For more information, see Drillthrough Reports (Report Builder and SSRS), Subreports (Report Builder and SSRS), and Create a Linked Report. Every row contains a SubReport reference and passes current Col1 value to it. Group by id or name. Using a subreport is the easiest method when it works. Here goes: 1)Insert a List object. #PowerBI #PowerBIDesktop #PowerBITutorials Business Queries / Analytics Consulting : analyticswithnags@gmail. 3) Deploy the report and view the report using report manager. I'm trying to implement an SSRS report without showing repeated subreport headers in each subreport shown in the top-level report, when it runs. 3- Still in the main report . E. Right-click the subpeort to open the Subreport Properties, and select the subreport name in the drop-down list. For example, the parent report has a column for the department names. StreetNumber, Address. I am working on ASP. Drill Through Reports in SSRS ExampleVerify that the subreport has been published and that the name is correct. In the Name text box, type the name of a parameter in the subreport or choose it from the list box. . In the Row Groups pane, right-click the Details group and choose Group Properties. In Report Builder, you can use a table to display detail data or grouped data, or a combination of both in a paginated report. Click on the Variables option and then select the Add button. Finally, I’ll link the child report to the main report’s subreport items. Add Dummy RowGroup. I don't know it's good as performance wise or not but I have created Sub-Report's DataSet on Main Report and then on Row-Visibility I have used below Expression =IIF(CountRows("SubReportDatasetName") > 0 ,False,True) 1. When E10 makes a dataset (with the GUID), the data is fixed and never changes. In the main report, right-click to insert a subreport in the child row. Under the Subreport. However there is a workaround, it will work with any version higher than 2008 R2 (include 2008 R2). Moreover, it can be executed independently. If a required parameter is missing, the subreport is not displayed correctly in the main report. To select a different folder for the report, select the ellipsis button (. Name, Address. If you either move the SQL server to a new box, or change the DB name, then the sub report will have to be updated with new data source connection info. I would pass that value to a multi-valued parameter in the sub report, using the SSRS Split function in the Subreport. For example, if you want the sr to render for each line item then place a footer or another row in the detail group and pass the values using Fields!BillToID. the code you posted seems correct but you have to previously set subreport parameters in Design View > right click on subreport object > Subreport properties > Parameters; set Parameters value using Expressions or using this syntax: i. Add alternate row background color Parameters in SSRS. Step-by-step process: SSRS 2008 R2. Set the shared datasource properties as in Figure 5. rdlc report with Visual Studio 2013, let's called it Main. Hi. 1= Poor, 2 = Satisfactory etc. To do this, right-click on the subreport and select "Subreport Properties". When you are working in Report Builder, you must be connected to a report server to view the drillthrough report that opens when you click the drillthrough link in the main report. Generate ssrs report (. so only the Name column. (Optional) On the Home tab, in the Number group, click the Decrease Decimals button twice to display dollar figures with no cents. 1 Answer. If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link single Reporting Services paginated report can have characteristics from more than one type; for example, a report can be, at the same time, a stand-alone report, a subreport referenced by a main report, the target of a drillthrough report in a different main report, and a linked report. I would consider reworking the main dataset to contain the subreport data, and group by the main fields. RDL file, insert the Sub Report. Step 2 - The Data Source. 1. A subreport can be linked to the main report using a correlated parameter and field reference so that it can be used like a data region, but this is not essential. Please check the log files for more information. Name. To find a report that you want to work with or to select a shared data source, image, or subreport to use in a report, browse your computer, folders on a report server, or SharePoint site. To get started, see Create a Basic Table Report (SSRS Tutorial) or Tables (Report Builder and SSRS). I'd like to generate sub-report for each of these values (passing the value as single. I set the subreport path on the code behind with this code:Now in dataset2 I have add one calculated field called TotalCount and used the Lookup Function the function is like this. The report contains 4 reports, and the name of each sub report should be taken from. The sub report is called from detail rows in my parent report. In SSDT, click on "New Project", then choose new "Project Report Server": Go to the right pane "Solution Explorer. Document Map in SSRS Example. When selecting this, you will see the BackgroundColor option. An SSRS report subscription is a request to deliver the subscribed one to an Email or File System location at a specific time. We look at passing parameters from a main report to a sub-reportDynamic subreport in SSRS 2008. The sub-report’s datasource will be “hard coded” with the server and DB name. A subreport is processed as part of the main report. Figure 6. Hi. TimeCard. Cascading parameters. Copy and paste the dynamic SQL query into the dataset query textbox as shown below: Set the timeout value to a reasonable number, for example 600 seconds. If you want to display Report test project to get you started, you can type Report test in Name. The sub-report’s datasource will be “hard coded” with the server and DB name. Creating Sub Report in SSRS, filtering SubReport using MainReport Parameters in SSRS, How to create sub Report in SSRS,. 2- In the main report . rss Script . A subreport is a report that is included in another report (the main report). The user can filter parameters based on the previous parameter. 20. On a client file system, report definitions have the file extension . One example I remember quite well involved a sub-report that, on the Report Manager site, was located in a different folder than the main report. The Subreport will take the Client and Period for that particular Row as params. 2. Execute each report and they should function as configured, with the default parameter values. I. 6) Shows how subreport could be used to create complex document layouts. 5. Main Features in This Sample. Here you can select the Drive, or Folder (Location) to save this CSV file. Using reporting services, How to get the value from Sub report to the Main report? I am calling sub report, based on main report's tablix data. " The sub-report is using ds6 and ds7. This video is part 1 of How to create RDLC Sub Report and display in main report. well reports are running slow. Download Northwind Database. For a practical example of how to use Subreports, take a look at the tip Create Centralized Report Headers Using Subreports in Reporting Services. . Right click on. May 20th, 2021. Add a subreport and parameters to a paginated report (Report Builder) [!INCLUDEssrs-appliesto] [!INCLUDE ssrs-appliesto-ssrs-rb] [!INCLUDE ssrs-appliesto-pbi-rb] [!INCLUDE ssrb-applies-to-ssdt-yes] . Open the main report and drag & drop the CoverPage report into the report header (to make a report header, just drag the data region down a bit; the space above it is the report header). How to create subreport and pass report parameters to subreport in SSRS How to Create a Dynamic Subreport in SSRS by Passing Report ParametersLearn how to cr. Also, a cool feature, if the SubReport returns no rows of data, the. Click + New Subscription. We look at passing parameters from a main report to a sub-reportDynamic subreport in SSRS 2008. If you still have any problem, please feel free to ask. Note. Here is a working example of making an SSRS Texbox visible or hidden based on the number of rows present in a dataset. Merge the cells of newly created row: X. Subreport 2: Record D on 1/7/2011, record E on 3/8/2011, record F on 3/16/2011Cascaded Parameters help the user when a parameter has a long list of values. Choose "Show or hide based on an expression" then click expression builder button (fx) and enter a formula similar to: =IIf (Parameters!ShowReport. In addition, subreport control has an implicit KeepTogether property. Drag the subreport control onto the new report. now create formula in main report to show grand total with name {@showTotal} and place following lines in it. For example right-click the Management Studio icon and click 'Run as administrator'. /. Using a subreport is the easiest method when it works. Right-click on sub report, select properties. The Custom element can be read by custom rendering extensions, but is ignored by the rendering extensions provided with Reporting Services. Use subreports to nest groups of data from different data sources within a single data region, reuse a subreport in multiple parent reports, or display a standalone report inside of another report. You might wonder what could be so bad in a dashboard as to make me cringe. I am creating a cover page (first page) by having a subreport on the top of the report body. I believe that I can do this by creating a sub-report for Table B. You can simply drag and drop a subreport onto a table cell, and it will fill that cell's content area. You cannot specify a relative folder. To work around the issue, we can change the data type of the parameter to XML type. Step 3 is the core of the data driven subscription. In Report Builder, you can open a report from a report server that includes references to custom assemblies. Create a new report by right clicking Reports in the Solution Explorer - Click Add New Item and click on Report. My questions are: How can I retrieve the data in the sub-report? Where I can find the log files?Steps to export SSRS data into multiple Excel Sheets. We will show the sub-report design using both Report Designer and report developer. Click on the File menu, find New and then Project. In Section 1, we create a data source for a report. In the Dataset dropdown of the Data tab, choose <New Dataset. ( for example , group on character (A,B,C), pass the value A,B,C ) Then ,in sub report ,do the filter according to the parameter. Sub1 width +Sub2 width+ sum of all the other column with=Tablix width<=Body width<=page width. Start SQL Server Management Studio with administrative privileges. Follow the steps below to pass parameters into subreports: Create main report parameter, such as DATE_PARAM. CustName or CustID) 2) Create the sub report. just like the main report. RDL file, subreport properties, set the parameters needed to be passed from the main report to the subreport. The custom report is a standard Reporting Services report. Next, Merge the empty columns below the product name and color by right-clicking and choosing the Merge Cells option. Yes you can do this. Over the past 16+ years, many articles and blog posts have been written about passing multi-value parameters between reports using a combination of the JOIN and SPLIT. This solution has the advantage that the subreport can be used as main report and is "simply" pass the actual record as subreport datasource (using groovy as report lang):I would derive new columns in the Dataset to hold the concatenated parameter strings you want to pass. Data sample and dataset query : Report structure. Drillthrough reports are standard reports that are accessed through a hyperlink on a text box in the original report. option, a new window will be opened to configure the Group Properties. As you know we want to implement a tab navigational structure in SSRS, so we have to hide these two parameters. To. To specify drillthrough reports, include the URL in an expression. Next, we define a second sales total variable, although this one will be within the scope of the OrderYear column group. This. It is part of Microsoft SQL Server Services suite. I want each subreport's data to be housed on a separate tab when the user exports the report as Excel. I am dealing learning SSRS 2008. Then in the main report add a subreport item and set its ReportName property to the name of the. Applies to: Microsoft Report Builder (SSRS) Power BI Report Builder Report Designer in SQL Server Data Tools You specify paths in paginated report item properties to reference items such as drillthrough reports, subreports, and image files that are external to the report definition file and are stored on a report server. Step 2: Below is the dataset used for the MainReport. 2) SQL Server Data Tools will open as –. Drill Through Action can define on Matrix, Table, Charts, Data bars, Pie Charts, gauges, and so on. If someone clicks on one of the department name values, that value is passed as the parameter to the subreport, and the subreport would then show a graph against that department value. As described in the SSRS tutorial with examples, the SSRS allows the creation of structured reports with tables containing graphs, data, charts, and images. In the Subreport Properties dialog box, click Parameters. For example, you can import a query from a Transact-SQL (. int[] parameters = new int[1]; parameters[0] = 10; //Create Parameter Collection Array Microsoft. We need to follow the following steps to implement our first Subreport into main SSRS Report: 1) On the start window, All Programs list chose SQL Server Data tools from Microsoft SQL Server 2012. I can put Parameters!ClientID. In SSRS Builder, File → New, blank report. For this SSRS subreports example, we are going to use the below-shown report. To add a subreport first design the subreport separately. YOU CAN set the main property in code as follows: Suppose you have a ReportViewer name rv, then we would code: var rp = new ReportParameter ("MainReportParamName", Properties. 0. Data. The subreport has a page break after. Create a Shared DataSet in SSRS. For example, if a subreport that displays order detail information is added to a table cell in the detail row, the subreport is processed once per row of the table and rendered as part of the main report. Set the shared datasource properties as in Figure 5. Step-by-step process: SSRS 2008 R2. A subreport is processed as part of the main report. Reporting. 4. This is the file that will be used as the Subreport. I have a main report which internally calls three sub report. A subreport is a completely separate report but is linked to the master report using the standard report parameter mechanism. Within subreport I print in a textbox the value of the parameter passed from main report (rowcount("DataSet1")) but it always prints value of 1 instead of print 1, 2 or 3 depending on the case. Reference: SSRS-Self Referencing Reports or Drill through to same report. Value = 2,False,True) And so on. Generally, there are lots of reasons for that issue. The report contains 4 reports, and the name of each sub report should be taken. It works fine in the Builder, but when running i I am getting this error: System. For example: Subreport 1: Record A on 1/5/2011, record B on 1/8/2011, record C on 2/4/2011. A report within another report is a sub report. It also has another textbox which will be visible only if the dataset Items has rows. It is used to embed a report within a report. 2. You should make a getParameterName(int) method to get the names for the rv. Create a Subreport. In this issue, to modify the rendering size of the subreports in the main report, you need to rearrange the original subreports individually. Your 2 datasets need to have the same data format but with different column names (use alias's): Create a new table with DataSet1 as the datasource and add the date field into the first column then put in the following formula into the other fields you wish to sum:So, my plan is to build a main SSRS report that would have the header &amp; footer information and a placeholder for the body of the invoice. HTML 1. Value = "Development", "EmployeeReport", Nothing) Test if a field value is null. (Note: A subreport also need to define its datasource in the main report's page. For example, if the RDL for the subreport states that the subreport body is 5 inches wide, then the subreport will be 5 inches wide within the parent report. Reports can be used as stand-alone reports, subreports, or the targets for drillthrough actions from main reports. 4. There are three lookup functions in SQL Server Reporting Services: Lookup, LookupSet and MultiLookup. The event handler adds a data source instance to this subreport before it is rendered in the. From the below screenshot, you can see that we are selecting the REPORT folder in our E. Street, Address. For more information, see Subreports (Report Builder and SSRS). In the Subreport Properties dialog box, click Parameters. By definition, nested data regions are based on the same report dataset. Combining all the report elements into one report would work, but the users also need to be able to view them as individual reports as well. For what you require to work, SSRS would have to be capable of refreshing the subreport independently. In Connection Props: image 401×536 10. RDL and setup the parameters passed from the main report. Subreports are commonly used to implement master-detail reports. For example, you can use the Custom element to store comments in the report. When trying to render it, it provides weird behavior: By rendering the report with different dataset (number of records), sometimes it rendered properly as: Group A Header Group B Header & content Group Detail - subreport Group B Footer & content Group A Footer. SQL Server Reporting Services - Example for Subreport and Drill-down report In this post,let us see simple example for subreport & drill-down report What is. YOU CAN set the main property in code as follows: Suppose you have a ReportViewer name rv, then we would code: var rp = new ReportParameter ("MainReportParamName", Properties. Technique #3 - Conditional Initial Visibility. 4. Value = 2,False,True) And so on. Pass a multi-value parameter directly from the main report to the subreport. Only rows where Date = "Date 3" will have their Value included in the SUM () function. Grouping in SSRS Table Reports. 7 Answers. 1. Drag a SubReport control into the detail cell for the column labeled Address. ". e. 20. rdl, with a single Parm: T9_FK) Set the Subreport properties => Parameters: Name: T9_PK Value: [T9_PK] NOTE: the Parameter for this sub-report is the one that is coming from the dataset for the Main report. I want to do a report that is a little bit more complex. You don't have to do anything with the. I want to know which of these reports are using subreports. Create a parameter 'invoicenumber' in the existing report. For embedding a report in a main report, Right clcik on the report layout of Main Report and select SubReport: III. These reports are hosted on a server that can be executed any time using parameters defined by the users. RDL and setup the parameters passed from the main report. Building SSRS Reports without Visual Studio. For instance, you can use the Visible property of SubReport control in the Detail's. Then go to " Group Properties -> Page Breaks -> and check Between each instance of a group ". Document Map in SSRS at Tablix level. a subreport could do, or you could group on ID, property1, property2 and show the items from your other table as detail items (assuming you want to show more than just count). sub report contains header and footer. To display data from different datasets, consider using drillthrough reports or subreports. Their reporting needs range from simple, tabular ad-hoc reports, to parameterized, linked or snapshot reports, to complex. In this tip I will review each function and provide a simple report to show how it is used. public void SetSubDataSource (object sender, SubreportProcessingEventArgs e) { // Reload the data required SqlConnection conn = null; SqlCommand cmd. If you need to perform date operations to create three different values for your report, you will have to convert. In Design view, right-click the subreport and then click Subreport Properties. DataSources. Right-click the server name and click Properties. Once you have a working URL example, create a textbox in your report that spits out the URL string you are trying create. For more information, see Drillthrough, Drilldown, Subreports, and Nested Data Regions (Report Builder and SSRS). Also I have tried to create another dataset2 which contains the same query as dataset1 but returning SELECT COUNT(*) AS rc. rdlc file. By default, it is No Color, which means that there is no color for the background and use can. In Design view, right-click the subreport and then click Subreport Properties. Create the new report's Data Source using the Shared Data Source created in step 2: Add Dataset using the Data Source from step 3: Use the query below to get SQL Server names registered in CMS (or use the query to your own data source with SQL Server names): SELECT s. In your scenario, you can use the query below to get a list of reports that reference subreports, including the path of those subreports:. Subreports must reside in the same folder as the main report. Pass the ProjectID as the Parameter to the Sub Report . For the example i have added two DataSet with the name Customers and Orders and two Reports with name CustomerReport and OrdersReport and configured as in the above article. Choose parameter. 1 Answer. SQL Server Reporting Services (SSRS) 2012 includes many drilldown / drillthrough features. WebForm" no longer works. (This object will fill in the. "CLERK 1 Scott" Is just on the Sub Report, this was added to each sub report so i could identify if it was aligning up correctly The subreports are a MasterData to a query, Each sub report is using a different query (Although the column responses are the same. If you pass a val4 from main report to call the sub report, it will prompt the Error: Subreport could not be shown. Merge the new row, and the drap your subreport into this merged textbox. For example, change the color to blue and the effect to underline in the Font section in the Home tab of the Ribbon. there could be 4 parameters which represent the names of 4 reports. (A) Creating a SubReport in SSRS. Overview. . sysmanagement_shared_registered_servers s. Share. The subreport can use different data sources than the main report. 46. And if you click a row you want to run a subquery with this id as parameter. In the Value field, select a value from drop-down or provide static value or expression to pass to the subreport. There are two ways to add a subreport. 2. SqlException (0x80131904): Must declare the scalar variable "@pNomActif". Create new Table 2. Challenges/Solutions. e. The arguments passed to the SubreportProcessing event handler include an object encapsulating the subreport. Over the past 16+ years, many articles and blog posts have been written about passing multi-value parameters between reports using a combination of the JOIN and SPLIT. 2. The example is there is a table holding sales header data and a table holding sales line data. First we need to create a new Report Server Project. I have spent tons of time trying to figure out how to open hyperlinks from SSRS reports into new tabs without Javascript. The Parameters will be passed to Local SSRS Report using object of the ReportParameter class in ASP. Example of a main report and a subreport that are bound to related record sources A main report can contain data common to one or more subreports. rdl reports for showing reports. I suggest the following: In your subreport make the report parameter a multi-value parameter. On the Manage <reportname> page, select Create linked report. For that matter always right your expressions in SSRS using type conversion so your expression can be on safer side. From the Layout tab, add the six fields to a new data table. The first step is to open SQL Server Data Tools. In this video of SSRS Tutorial, You will be learning How to add a Sub-report and Parameters in the main report in SSRS to organise and summarise your data in. Under the name. In the Subreport Properties dialog choose AddressSubReport from the subreport dropdown. These are in the same project and same folder.