Presentation is loading. Please wait.

Presentation is loading. Please wait.

SSRS – Thinking Outside the Report

Similar presentations


Presentation on theme: "SSRS – Thinking Outside the Report"— Presentation transcript:

1 SSRS – Thinking Outside the Report
Elaena Bakman GitHub: SSRS – Thinking Outside the Report

2 Please Support Our Sponsors

3 Local User Groups Orange County Data Professionals Los Angeles SQL
2nd Thursday of each month 6:30—8:30 PM Irvine BigPASS.pass.org Los Angeles SQL 3rd Thursday of each odd month 7:00—8:30 PM USC Campus Sql.la Orange County Power BI 3rd Thursday of the month 7:00—8:30 PM Irvine Meetup.com LA Data Platform (a.k.a. SQL Malibu) 3rd Wednesday of each month 6:30—9:00 PM San Diego User Groups 1st & 3rd Thursday 6:00—8:30 PM Los Angeles—Korean Every other Tuesday 8:00—9:00 PM El Segundo sqlAngeles.pass.org

4 Creative Use of Reports

5

6 How SSRS Reports are Used
SSRS can be used to prepare and deliver various interactive and printed reports. Create tabular, graphical and free-form reports from relational, multidimensional and XML based data sources. The reports can be published and accessed on demand. SSRS also has a built in scheduling tool to perform basic report deployments via , file share, or SharePoint.

7 SSRS Data source Shared data-source - A shared data-source is published on a report server and can be used by multiple reports. A shared dataset must be based on a shared data source. A shared dataset can be cached and scheduled by creating a cache refresh plan. Embedded data-source-  Embedded data sources are defined in and used by a single report.

8 Datasource Inline SQL 2. Table 3. Stored Procedures

9 What can you do in a stored procedure?
Your imagination is the limit… Run jobs Modify data… Run sp_WhoIsActive Get the status of your SSIS packages… and run your SSIS packages… find out what was wrong with your package or get the list of parameters that were using during execution. Create Audit Reports Find out about any indexes that might be missing Find out about any unused indexes

10 The basics or creating a functional report…
If your report performs more than one function add a parameter to indicate the type of function you expect to perform. … and default to Report Only.  Make sure you default all your other parameters to NULL unless there is a reason to use something else.  If you are making changes through your report consider… Passing in the User ID Recording the any jobs you kick off Add a “refresh” button… If you are running the same process from many different places, create functions, stored procedures or save your code as a template.  Your service account running the reports should have the appropriate permissions to do what you need done.  

11 The main report Stored Procedure
The main procedure that runs the report should have: Action Type parameter User Id Security Input Validation

12 Demo Time

13 Adding buttons There are three ways to create “buttons” in SSRS
Table cells Text boxes Images To make them into a “button”, change the following settings in the Action property: Enable as an action: “Go to report” Specify Report: Select the report name from the drop-down (self) Use the parameters to run the report: set the appropriate parameters based on your design. * Don’t forget to default your values when a specific value is not required.

14 Demo Time

15 Creating a job Separate the logic of triggering your job and running your report. Create a log. What ran Who ran it When what it run What was the outcome What parameters were used Record parameters used. Check if this or dependent job is running. Start job (can start job at different steps). Consider adding a “Starting…” step. Notify users of job status.

16 Demo Time

17 Questions?

18 Follow me… GitHub:


Download ppt "SSRS – Thinking Outside the Report"

Similar presentations


Ads by Google