Unit 9 Seminar
Starting Reporting Services
Reporting Service Started
Determine Web Information
Click Apply to Accept
Click Apply
The URL should now be valid
Open Web Browser Type in your URL assigned
Authenticate to Report Manager
Encryption Error If you get an error that says you have a symmetric key problem and you must either create a new key or delete all encryption. Open Reporting Services Manager and click Encryption Keys If you have a key that you can restore, restore it but you must know the password, otherwise Delete it. Do NOT do this on a server at work. Only do this if you are on your personal machine and confident this is okay.
Delete All Encryption from Report Server
BIDS 1. Open Business Intelligence Development Studio and create a new project. 2. Use steps in IT452 Unit 9 Assignment Deliverables #2 under Doc Sharing to complete Unit 9. The following goes through a Manual creation of a report with query.
Create a Shared Data Source so that maintenance and updates can be made in one place.
Right Click and Choose New Data Source
Add the Properties to the Source
Add Connection Properties and Test
Test the Connection
Adding Blank Report 1. Right Click in blank area under Solution Explorer on right and choose Add then New Item 2. Select Report Template in the top 3. Name the Report and Click Add
Create Report - Right click Report Add New Report
Screen after Data Source and Report
Creating a Dataset 1. In Report Data choose New then DataSource 2. Name the Datasource and Choose the Use Shared Data Source Reference. Choose AdventureWorks (or whatever Shared Data Source you create). Click OK 3. Right Click on DataSource and Choose Add Dataset.
Right Click on DataSet and Choose New Dataset
4. Name the dataset and choose the Data Source. Enter the Dataset via query. You can test this in SSMS first if you like and copy and paste it or import it if you save it as a.sql script. 5. Press Refresh Fields to verify the query. Click OK. You now should see the new dataset and fields under Dataset.
Test Query in SSMS (optional)
Fields from query now available
Mouse over Toolbox and drag table to Report Body Drag Fields to Report
Displaying Data in the Report They can be displayed in the report using either the list, table, or matrix report items. 1. Select the Design Tab on the Report Designer. 2. Add a table to the body of the report by dragging a table report item from the toolbox and dropping it on to the report body. (Mouseover the toolbox on the left and choose table and drag it) 3. Add fields from the dataset by dragging fields from the Report Data pane and dropping them in the details row of the table. Preview the report by clicking the Preview tab.
Preview Report by clicking Preview Tab
Report parameters You can prompt users for data using reports. Query Parameters are specific to a specific dataset and found on the Dataset Properties Dialog Report Parameters are global to the entire report and found in the Report Data pane under the Parameters folder.
Add parameters to Example Following the example generates a report that lists products within a specific category and subcategory. Both of these will be prompted for user entry. This uses a nested parameter.
Add 2 datasets to the ProductList Report via a query –CategoryList –SubcategoryList
CategoryList
SubcategoryList
Update the Products dataset query
Parameters Now in objects
Configure ProductCategoryID Parameter
Configure ProductSubCategoryID Parameter
Reorder the Prompts so that the dependent one comes last
Preview the Report
With a Category and Subcategory Chosen
Configure Target ServerURL in Properties of Reporting Services Project
Build/Deploy Report Build started: Project: Unit9Demo, Configuration: Debug Skipping 'AdventureWorks.rds'. Item is up to date. Building the report, Unit9Demo.rdl, for SQL Server 2008 R2 Reporting Services. Build complete -- 0 errors, 0 warnings Deploy started: Project: Unit9Demo, Configuration: Debug Deploying to Deploying data source '/Data Sources/AdventureWorks'. Deploying report '/Report Project1/Unit9Demo'. Deploy complete -- 0 errors, 0 warnings ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== ========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
Folders on Report Manager
Report Options on Report Manager
Executed and Viewed