Giter Site home page Giter Site logo

ssrs-report's Introduction

SSRS-Report

SSRS Report With Grouping of Data having hide and unhide feature in excel of grouped data

Requirements

Your system must have the following components installed:

  1. Microsoft SQL Server database engine.
  2. SQL Server 2016 Reporting Services or later (SSRS).
  3. The AdventureWorks2016 database. https://github.com/Microsoft/sql-server-samples/releases/download/adventureworks/AdventureWorks2016.bak
  4. SQL Server Data Tools for Visual Studio along with the Reporting Services extension installed to enable access to the Report Designer.

create a report server project

  1. From the File menu, select New > Project.
  2. In the left-most column under Installed, select Reporting Services. In some cases, it may be under the group Business Intelligence.
  3. Select the Report Server Project icon in the center column of the New Project dialog box.

Creating a report definition file (RDL)

  1. In the Solution Explorer pane, right-click on the Reports folder. If you don't see the Solution Explorer pane, select View menu > Solution Explorer.
  2. In the Add New Item window, select the Report icon.
  3. Type "Sales Orders.rdl" into the Name text box. Select the Add button on the lower right side of the Add New Item dialog box to complete the process. Report Designer opens and displays the Sales Orders report file in Design view.

To set up a connection

  1. In the Report Data pane, select New > Data Source. If the Report Data pane isn't visible, then select View menu > Report Data.
  2. In the Name text box, type "AdventureWorks2016".
  3. In the Connection string text box, type the following string: Data source=localhost; initial catalog=AdventureWorks2016
  4. Select the Credentials tab, and under the section Change the credentials used to connect to the data source, select the Use Windows Authentication (integrated security) radio button. Select OK to complete the process

Define a Transact-SQL query for report data

  1. In the Report Data pane, select New > Dataset.... The Dataset Properties dialog box opens with the Query section displayed.
  2. In the Name text box, type "AdventureWorksDataset".
  3. From the Data source dropdown box, select AdventureWorks2016.
  4. For the Query type, select the Text radio button.
  5. Type Transact-SQL query into the Query text box.

Preview Reportin Visual Studio and download

Select the Preview tab. Report Designer runs the report and displays it in the Preview view.

ssrs-report's People

Contributors

dotnet-ongraph avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.