SQL Server Reporting Service (SSRS) Learning Preliminary

Source: Internet
Author: User

Early know SQL Server comes with the reporting tools SSRS, but has not been used, recently finally need to work in a show of skill, so I specifically in accordance with their own understanding to do the following summary:

1. Install the SOFTWARE structure

SSRS full Name SQL Server Reporting Service, for service side, as a component of SQL Server, we can choose to install Reporting service in SQL Server installation;

For the client, because I'm using VS2015, I need to install SSDT (SQL Server Data Tools) because it already includes the related features of BI (business Intelligence) as follows:

2. My first example of a reportingservice

Visio Studio has removed support for the report model since 2008, so there is no too much explanation for the report model here.

Purpose: Manually Complete your first demo: You can filter the employee's behavior operationlist and display the results through the Employee Name list employeelist. Before starting this example the required software has been completed software installation (SQLServer2014 with Reporting server+visio Studio + SQL Server Data Tools).

The first step: New Project Myfirstreportingproject;

Step Two: Create a new report page and configure the data source operationlist for the employee details:

To add a column to the details:

The third step: New Employee List dataset:employeelist;

Fourth step: Set the dropdown dataset as: EmployeeList;

Fifth step: Format the column with an expression

In fact, after the first four steps, the entire report function has been completed, in order to be beautiful, I adjusted the appearance of the report, before using the expression to set the date format:

The date format looks strange, and the last column of data is not well handled, so I started working with the startdate/enddate/isdeleted using an expression:

Switch to design mode, right-startdate detail, select Expression, and in the pop-up window, startdate the column, as shown below:

Next, the EndDate and isdeleted are processed in turn, and the expression for isdeleted processing is "=IIF (fields! Isdeleted.value=0,false,true) "

Sixth step: Publish

Right-click on the project Myfirstreportingproject, tap deploy, until the following message is displayed, indicating that the report has been successfully posted to the SQL Server Reporting service and we can

Http://localhost/reportserver Direct access to the report just completed by the report, the final realistic effect is as follows:

At this point, a report is done!

SQL Server Reporting Service (SSRS) Learning Preliminary

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.