{"id":84406,"date":"2019-05-30T15:19:48","date_gmt":"2019-05-30T15:19:48","guid":{"rendered":"https:\/\/www.red-gate.com\/simple-talk\/?p=84406"},"modified":"2022-04-24T21:35:37","modified_gmt":"2022-04-24T21:35:37","slug":"reporting-services-basics-creating-your-first-report","status":"publish","type":"post","link":"https:\/\/www.red-gate.com\/simple-talk\/databases\/sql-server\/bi-sql-server\/reporting-services-basics-creating-your-first-report\/","title":{"rendered":"Reporting Services Basics: Creating Your First Report"},"content":{"rendered":"<h4>The series so far:<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.red-gate.com\/simple-talk\/sql\/bi\/reporting-services-basics-overview-and-installation\/\">Reporting Services Basics: Overview and Installation<\/a><\/li>\n<li><a href=\"https:\/\/www.red-gate.com\/simple-talk\/sql\/bi\/reporting-services-basics-creating-your-first-report\/\">Reporting Services Basics: Creating Your First Report<\/a><\/li>\n<li><a href=\"https:\/\/www.red-gate.com\/simple-talk\/sql\/bi\/reporting-services-basics-understanding-data-sources-and-datasets\/\">Reporting Services Basics: Data Sources and Datasets<\/a><\/li>\n<li><a href=\"https:\/\/www.red-gate.com\/simple-talk\/sql\/bi\/reporting-services-basics-parameters\/\">Reporting Services Basics: Parameters<\/a><\/li>\n<li><a href=\"https:\/\/www.red-gate.com\/simple-talk\/sql\/bi\/reporting-services-basics-adding-groups-to-reports\/\">Reporting Services Basics: Adding Groups to Reports<\/a><\/li>\n<\/ol>\n\n<p>In the previous article in the series, I explained a bit about the history and architecture of SSRS and helped you get a development environment set up. Now it\u2019s time to start building your first report. The reports in this article are based on the AdventureWorks2017 database, which you should have restored if you followed along with the earlier article.<\/p>\n<h2>Solutions and Projects<\/h2>\n<p>For those of you familiar with working in Visual Studio, you will already understand the concept of solutions and projects. A solution contains one or more project, and the projects may be of all the same or different project types. For example, I was working on a business intelligence project a few years ago and had four different types of projects in my solution, one of which was an SSRS project. Figure 1 shows what my solution looked like.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"440\" class=\"wp-image-84407\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-47.png\" \/><\/p>\n<p class=\"caption\">Figure 1: My BI project organization<\/p>\n<p>In theory, you could have one solution and one project for all the work you do for years developing reports, but that is not very practical. Typically, you might have a project for one topic area, project, or department. It\u2019s up to you (or your manager) how you organize you work.<\/p>\n<p>There are two ways to create an SSRS project, either manually or with a wizard. I will show you the wizard method in this article, which sets up the project as you create a report.<\/p>\n<h2>Using the Report Wizard<\/h2>\n<p>The report wizard is not the best way to create a report, but it is a nice way for beginners to SSRS to get started. Generally, the reports you create through the wizard won\u2019t meet any but the most basic development requirements, but do not discount it entirely. It will allow you to get a report up and running with zero code and zero property setting, and the resulting report often makes a good starting point for more complicated reports. Once you\u2019ve created a report with the Report Wizard, you are free to modify it further as you wish, just as for a report you create from scratch, manually.<\/p>\n<p>Your very first report project, <em>MyFirstProject<\/em>, demonstrates how to create a report with grouping levels, including one of the dynamic features, collapsing and expanding sections. The result is not perfect, but it is a good start.<\/p>\n<p>To create a report project with the wizard, follow these steps:<\/p>\n<ol>\n<li>Search for and launch Visual Studio (SSDT). If this is the first time you have run Visual Studio, you\u2019ll be greeted by this screen. You will be prompted to sign in to the online developer services. For now, just click <em>Not now, maybe later<\/em>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"465\" height=\"571\" class=\"wp-image-84408\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-48.png\" \/><\/p>\n<ol>\n<li>You can select which color theme you would like to use. Select one and click <em>Start Visual Studio<\/em>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"464\" height=\"570\" class=\"wp-image-84409\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-49.png\" \/><\/p>\n<ol>\n<li>When Visual Studio opens, you\u2019ll see a screen that looks like this:<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"1042\" class=\"wp-image-84410\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-50.png\" \/><\/p>\n<ol>\n<li>To create the project, select <em>File New Project\u2026<\/em><\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"415\" class=\"wp-image-84411\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-51.png\" \/><\/p>\n<ol>\n<li>Look for the <em>Reporting Services<\/em> templates in the <em>Business Intelligence<\/em> section and select <em>Report Server Project Wizard<\/em>. (You may have to look around; when I recently installed SSRS, Reporting Services didn\u2019t end up in that section.)<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"229\" class=\"wp-image-84412\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-52.png\" \/><\/p>\n<ol>\n<li>Fill in a name for the project and location. Notice that the <em>Solution name<\/em> will automatically be the same as the project name. You can override that if you wish.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"652\" class=\"wp-image-84413\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-53.png\" \/><\/p>\n<ol>\n<li>Click <em>OK,<\/em> which will launch the wizard. Click <em>Next<\/em> on the introduction page.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"631\" class=\"wp-image-84414\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-54.png\" \/><\/p>\n<ol>\n<li>On the Select the <em>Data Source<\/em> page, you will set up a new data source. You\u2019ll learn more about data sources and datasets in the next article in this series. Click the <em>Edit<\/em> button.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"631\" class=\"wp-image-84415\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-55.png\" \/><\/p>\n<ol>\n<li>This brings up the <em>Connection<\/em> <em>Properties<\/em> window. Enter the SQL Server name, and, if local, you can type in localhost. If you have a named instance, you will need to use this syntax: [computername]\\[instancename].<\/li>\n<li>Leave the <em>Authentication<\/em> setting at <em>Windows Authentication<\/em>.<\/li>\n<li>Click the dropdown to find the <em>AdventureWorks2017<\/em> database.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"630\" class=\"wp-image-84416\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-56.png\" \/><\/p>\n<ol>\n<li>Click <em>OK <\/em>to save the connection properties. You\u2019ll now see the <em>Connection string<\/em> in the dialog.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"630\" class=\"wp-image-84417\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-57.png\" \/><\/p>\n<ol>\n<li>Click <em>Next<\/em> to move to the <em>Design the Query<\/em> page. There is a <em>Query Builder<\/em> which you can use, or just write your query in SSMS to make sure it runs as expected. In this case, I\u2019m providing a query for you. Paste this query into the <em>Query string<\/em> window:<\/li>\n<\/ol>\n<pre class=\"lang:tsql theme:ssms2012-simple-talk\">SELECT Ter.[Group] AS WorldRegion, \r\n    CountryRegionCode, \r\n    Name as Territory, \r\n    SalesOrderID, \r\n    OrderDate, \r\n    TotalDue \r\nFROM Sales.SalesOrderHeader AS SOD\r\nJOIN Sales.SalesTerritory AS Ter \r\n    ON SOD.TerritoryID = Ter.TerritoryID;<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"631\" class=\"wp-image-84418\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-58.png\" \/><\/p>\n<ol>\n<li>Click <em>Next<\/em> to move to the next screen where you can select either a <em>Tabular<\/em> or <em>Matrix<\/em> report. A <em>Matrix<\/em> report is like a pivot table in Excel. For now, select <em>Tabular<\/em>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"633\" class=\"wp-image-84419\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-59.png\" \/><\/p>\n<ol>\n<li>Click <em>Next<\/em> to move to the <em>Design the Table<\/em> screen. I\u2019ll tell you what to do here, but when you are creating a real report, you will need to figure out how the grouping levels, if any, need to be arranged before you start working on the report. Select the fields and move them to the proper areas.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"630\" class=\"wp-image-84420\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-60.png\" \/><\/p>\n<p>&nbsp;<\/p>\n<ol>\n<li>Click <em>Next<\/em> to move to the <em>Choose the Table Layout<\/em> page. You have the choice of <em>Stepped<\/em> or <em>Block<\/em>. Click each to see how the report layout will look. For this example, choose <em>Stepped<\/em> and also select <em>Include subtotals <\/em>and<em> Enable drilldown<\/em>.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"630\" class=\"wp-image-84421\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-61.png\" \/><\/p>\n<ol>\n<li>Click Next to move to the <em>Completing the Wizard<\/em> page. Here you should add a <em>Report name <\/em>and click <em>Finish<\/em> to build the report.<\/li>\n<\/ol>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"630\" class=\"wp-image-84422\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-62.png\" \/><\/p>\n<h2>Viewing the Wizard Report<\/h2>\n<p>Once the wizard creates the report, you\u2019ll see the definition and the report listed in the Solution Explorer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1422\" height=\"554\" class=\"wp-image-84423\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-63.png\" \/><\/p>\n<p>To view how the report looks when it\u2019s run, click the <em>Preview<\/em> tab at the top.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"885\" height=\"554\" class=\"wp-image-84424\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-64.png\" \/><\/p>\n<p>When previewing, SSRS will combine the report definition with the actual data. The interesting thing about this report is that you selected <em>Enable drilldown,<\/em> so the sections are collapsed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"341\" class=\"wp-image-84425\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-65.png\" \/><\/p>\n<p>Click the first plus sign to expand the section. You\u2019ll see that there is another section that can be expanded to see the details.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"779\" height=\"516\" class=\"wp-image-84426\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-66.png\" \/><\/p>\n<h2>Cleaning up the Wizard Report<\/h2>\n<p>The wizard successfully created a report, but there are some things to clean up. For example, wouldn\u2019t it be nice to format the currency fields? You might also want to add some color to the report.<\/p>\n<p>Here is a list of items that must be cleaned up before the report is useful:<\/p>\n<ul>\n<li>Remove totals and subtotals from <em>Sales Order ID<\/em> fields<\/li>\n<li>Format date fields<\/li>\n<li>Format currency fields<\/li>\n<li>Adjust widths<\/li>\n<\/ul>\n<p>Selecting the cell you wish to modify is one of the trickiest things about formatting reports. You can select the cell, the contents of the cell, or even a portion of contents of the cell. I\u2019ve had good luck by clicking the edge of the cell when I want to select it for formatting. It might take some practice, but don\u2019t give up!<\/p>\n<p>You need to remove all the total and subtotals from the <em>Sales Order ID<\/em> column. In addition to the header, the only one you should keep is the one in the <em>Detail<\/em> row, which is at the bottom of the report. You may be able to see that the two to be removed are formulas which start with <code>[SUM<\/code>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"280\" class=\"wp-image-84427\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-67.png\" \/><\/p>\n<p>Select each cell and click <em>Delete<\/em> to remove the two formulas.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"285\" class=\"wp-image-84428\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-68.png\" \/><\/p>\n<p>The next item in the list is to format the dates. All the dates in the AdventureWorks database are the old DateTime data type and has 12:00 am for each time. There is no reason to show these times. The easiest way to format is to right-click on the cell so that the context menu pops up. Select <em>Text Box Properties\u2026<\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"782\" height=\"536\" class=\"wp-image-84429\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-69.png\" \/><\/p>\n<p>The Text Box Properties dialog has quite a few options. You\u2019ll learn more about them as you read through the series, but for now select <em>Number Date<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"438\" height=\"482\" class=\"wp-image-84430\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-70.png\" \/><\/p>\n<p>You\u2019ll see a list of many date formats. Select one of them that displays only the date and click <em>OK<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"398\" class=\"wp-image-84431\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-71.png\" \/><\/p>\n<p>It\u2019s a good idea to preview the report as you go, so take a look now by clicking the <em>Preview<\/em> tab. You\u2019ll need to also expand the plus signs to see the all the changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"474\" class=\"wp-image-84432\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-72.png\" \/><\/p>\n<p>Back in design view, it\u2019s now time to format the three currency cells. The only way to use the <em>Text Box Property<\/em> dialog is to format each of them separately. I\u2019ll show you a trick that will save you some time, especially if you have several of them to format.<\/p>\n<p>Right-click on one of the <em>Total Due<\/em> cells and select <em>Text Box Properties\u2026<\/em> Navigate to <em>Number Currency<\/em>. If you just click <em>OK <\/em>at this point, it will format the cell to your local currency, but you might want to change the <em>Decimal Places<\/em> to 0 and select <em>Use 1000 separator <\/em>or make some other changes. You\u2019ll see a sample of the format at the top.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"362\" class=\"wp-image-84433\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-73.png\" \/><\/p>\n<p>Click <em>OK<\/em> to save the format. In order to save time, you will copy the format to the other currency cells. While the cell you formatted is selected, bring up the <em>Properties<\/em> window by clicking <em>F4<\/em>. Note that this is not the same as the <em>Text Box Properties<\/em>. The cell\u2019s name is shown at the top of the window.<\/p>\n<p>Scroll down until you find the <em>Format<\/em> property. Select the text and copy to the Clipboard.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"367\" height=\"406\" class=\"wp-image-84434\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-74.png\" \/><\/p>\n<p>Now select the other currency cells. You can select multiple cells by holding down the <em>CTRL<\/em> key. You can also select entire columns if that is helpful. In this case, select the <em>Total<\/em> <em>Due<\/em> column by clicking the column handle.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"316\" class=\"wp-image-84435\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-75.png\" \/><\/p>\n<p>Open the Properties window again and paste the formula into the <em>Format<\/em> property. Since multiple cells are selected, the name is blank.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"446\" height=\"338\" class=\"wp-image-84436\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-76.png\" \/><\/p>\n<p>Preview the report to view the currency cell formatting.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"746\" height=\"555\" class=\"wp-image-84437\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-77.png\" \/><\/p>\n<p>Switch back to design view. The last thing on the list is to adjust widths. You will probably want to expand the <em>Sales Order ID<\/em> column. Select the column and then drag the right side of it over to expand the cell slightly.<\/p>\n<h2>Changing Fonts and Colors<\/h2>\n<p>It\u2019s simple to change font properties and background colors, and SSRS gives you three ways to do it. You can use the <em>Text Box Property<\/em> dialog box, the <em>Properties<\/em> window, or menu items at above the design window.<\/p>\n<p>Select the report name text box at the top of the report. Select a different font name and size.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"56\" class=\"wp-image-84438\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-78.png\" \/><\/p>\n<p>Select the background icon, highlighted above, and choose a different color. Click <em>OK<\/em>. You can also format entire rows or columns by selecting a handle. Select the row handle for the header row and then format with <em>Italics<\/em>. Format any other items as desired and then preview the report.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"419\" class=\"wp-image-84439\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-79.png\" \/><\/p>\n<p>Try formatting a single cell with the <em>Text Box Properties<\/em> dialog or the <em>Properties<\/em> window. You may find that the menu items are the easiest when it comes to formatting the fonts and colors.<\/p>\n<h2>Print Layout Mode<\/h2>\n<p>One of the most frustrating things about previewing the report is that you can\u2019t really tell how the report will look when printed or exported to PDF. To solve this issue, you can switch to <em>Print Layout<\/em> mode while viewing the report in preview.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"752\" height=\"337\" class=\"wp-image-84440\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-80.png\" \/><\/p>\n<p>It\u2019s critical that you view the report this way and even scroll to the next page in order to make sure that the report width fits properly on the page, and that it doesn\u2019t leave strange blank pages between populated pages.<\/p>\n<p>This report fits perfectly on the page, so to see the problem, switch back to design view. Grab the right edge of the report and pull it several inches to the right, leaving quite a bit of white space.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1277\" height=\"337\" class=\"wp-image-84441\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-81.png\" \/><\/p>\n<p>Go back into preview mode. Make sure that <em>Print<\/em> <em>Layout<\/em> is toggled off so that you can expand the <em>DE<\/em> and <em>Germany<\/em> sections. Switch to <em>Print<\/em> <em>Layout<\/em> and scroll a few pages. You\u2019ll see that every other page is blank! This is due to width of the page even though the right side is not populated with any data.<\/p>\n<p>Another thing that you may need to do from time to time is to change the print layout. If the report is fairly wide, you can change to landscape or even switch to a different size paper, such as legal, if your company uses that size. Switch back to design view and select <em>Report Report Properties<\/em> from the menu. Here you can switch the <em>Orientation<\/em> between <em>Portrait<\/em> and <em>Landscape<\/em>, change the paper size, and modify the report margins.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"980\" class=\"wp-image-84442\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-82.png\" \/><\/p>\n<p>One more tool at your disposal is the ruler which you can turn on from <em>Report View Ruler<\/em>. Make sure that your report width plus the <em>Left<\/em> and <em>Right<\/em> margins do not exceed the width of your paper.<\/p>\n<p>It may take some trial and error, but don\u2019t stop working until you are sure that the report will print properly.<\/p>\n<h2>Launching the Wizard from the Solution Explorer<\/h2>\n<p>Now that you\u2019ve created a report with the wizard, you should be able to see it in the <em>Solution Explorer<\/em>, typically on the right of the screen.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"460\" height=\"206\" class=\"wp-image-84443\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-83.png\" \/><\/p>\n<p>If you close the report definition, you can open it by double-clicking the name here. Another thing you might want to do is to create another report. If you would like to launch the wizard again, all you have to do is to right-click the <em>Reports<\/em> folder and select <em>Add new report<\/em>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"556\" height=\"337\" class=\"wp-image-84444\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-84.png\" \/><\/p>\n<p>Instead, if you would like to create a report manually, choose <em>Reports Add New Item Report<\/em>. Creating a new report this way will be covered in the next article.<\/p>\n<p>What if you close the project and want to open it again later? There are several ways to do that.<\/p>\n<p>Open Visual Studio\u2026<\/p>\n<ul>\n<li>Click the name of the project on the <em>Start Page<\/em> under <em>Recent<\/em><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"722\" class=\"wp-image-84445\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-85.png\" \/><\/p>\n<ul>\n<li>From the menu, select <em>File Open<\/em> and then navigate to the solution on your hard drive.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"984\" height=\"394\" class=\"wp-image-84446\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-86.png\" \/><\/p>\n<ul>\n<li>From the menu, select <em>File Recent Projects and Solutions <\/em>and then select it from the list.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1348\" height=\"628\" class=\"wp-image-84447\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-87.png\" \/><\/p>\n<p>You could also navigate using the file explorer and double-click the <em>sln<\/em> file which will also launch Visual Studio, but this is more difficult than the other methods.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"408\" height=\"152\" class=\"wp-image-84448\" src=\"https:\/\/www.red-gate.com\/simple-talk\/wp-content\/uploads\/2019\/05\/word-image-88.png\" \/><\/p>\n<p>Be sure to save your solution once you are done working.<\/p>\n<h2>Conclusion<\/h2>\n<p>In this article, you created a report using the wizard, learned about formatting and how to make sure that your report fits properly on the page when printed. The Report Wizard is a nice way to get started, but you will probably realize that there are many limitations soon enough and not become dependent upon it.<\/p>\n<p>In the next article, you\u2019ll learn about data sources, datasets, and create a report from scratch without using the wizard.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, Kathi Kellenberger demonstrates how to create a project and report using the SSRS Report Wizard. The wizard is fine for getting started, but you\u2019ll soon learn about its many limitations. She also explains how reports fit in projects and solutions.&hellip;<\/p>\n","protected":false},"author":110218,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[143528],"tags":[],"coauthors":[11292],"class_list":["post-84406","post","type-post","status-publish","format-standard","hentry","category-bi-sql-server"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/84406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/users\/110218"}],"replies":[{"embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/comments?post=84406"}],"version-history":[{"count":5,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/84406\/revisions"}],"predecessor-version":[{"id":84455,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/posts\/84406\/revisions\/84455"}],"wp:attachment":[{"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/media?parent=84406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/categories?post=84406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/tags?post=84406"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.red-gate.com\/simple-talk\/wp-json\/wp\/v2\/coauthors?post=84406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}