Thursday, October 1, 2015

Creating SSRS Table Report using Report Wizard



In this article we will show you, How to create Table Report using report Wizard in SQL Server Reporting Services.

Creating Report using Report Wizard in SSRS 2014

After creating New SSRS Project, We have three folders in the solution explorer such asShared Data SourcesShared Datasets and Reports. Reports folder is enough to design a basic report.
SSRS Report Using Report Wizard 0
When we right-click on Reports folder it provides various options to design reports.
  • Add New Report: Open up the Report wizard to design report.
  • Add: Gives us the choice to choose whether we want to design report using Report Wizard or an empty report.
  • Import Reports: We can import reports from the file system.
Here we are selecting the first option Add New Report. Once you click on this option, it will open the Report wizard as we shown in below screenshot. First page is a Welcome screen, If you don’t want to see this page again, Please tick mark the Don’t show this page againoption.
SSRS Report Using Report Wizard 1
Select the Data Source
This page is used to configure the Data Source. Here we have two options:
  • Shared data Source: If you already created the Shared data Source, Please select the data source name from the drop down list.
  • New data Source: If you haven’t already created the data Source, Please select this option and create New data source.
SSRS Report Using Report Wizard 2
If you select the New data Source then following properties will come into play. Please refer Shared Data Source in SSRS article to understand the properties in detail.
Click on the Edit button to configure the connection string
SSRS Report Using Report Wizard 3
Design Query
This page is used to write the SQL Query to extract the data from the Data Source. If you are not familiar with SQL Queries then click on the Query Builder button. Please refer  SSRS Query Designer article to understand the steps involved in designing SQL Queries
SSRS Report Using Report Wizard 4
In this example we are coping from SQL server Management Studio to Query String empty space
SSRS Report Using Report Wizard 6
SQL Command we used in the above screenshot is:
Select the Report Type: Please select the Report type you wish to design.
  • If you are designing Table report, Please select the Tabular option.
  • If you are designing Matrix report, Please select the Matrix option.
SSRS Report Using Report Wizard 7
Design Table: Properties involved in this page are:
  • Available Fields: List of columns we got it from the SQL Query we designed before
  • Page: If you place anything, it will start new page for every new value
  • Grouping: If you want to perform any grouping operations then place that columns in this place.
  • Details: Columns added to this tab will be shown as output columns in the Table report.
  • Remove: This button will remove column names from Page, Grouping and Details
SSRS Report Using Report Wizard 8
Because it is very basic report, Please don’t bother about grouping just understand the concept. You can visit other articles to understand these things.
SSRS Report Using Report Wizard 9
Choose the Table Style: You can select your own style as per your requirements.
SSRS Report Using Report Wizard 10
Completing the Wizard: Please provide valid name for the report and click on the finish button. Here, We assigned SSRS Report using Report Wizard name as report name
SSRS Report Using Report Wizard 11
If you observe the above screenshot, You can see the SQL Query, Report Type, Data Source and layout Type details.
Click Finish button to finish creating SSRS report using report wizard.
SSRS Report Using Report Wizard 12
Click on the Preview button to see the report preview
SSRS Report Using Report Wizard 13
Thank You for Visiting Our Blog