SSRS – Grouping – How to group the some particular fields in SSRS Reporting Services - Part 6


SSRS – Grouping – How to group the some particular fields in SSRS Reporting Services. Last few weeks i have been working with SSRS Reporting Services, moreover i shared some topices with you. It will be my success if any one reader uses my article.

SSRS – Grouping – How to group the some particular fields in SSRS Reporting Services




Open SQL Server Business Intelligence Development Studio

1

Add a new report names grouping_report.rdl

2

Set the Connection Properties ( If not familiar, look up previous sessions )

Select AdventureWorks Database

3

Paste the following query in Data Tab and execute it and find the output in the same screen

Select A.FirstName,A.LastName,B.Title,B.BirthDate,
C.AddressLine1,C.City
from Person.Contact A inner join HumanResources.Employee B on A.ContactID=B.ContactID
inner join HumanResources.EmployeeAddress D on B.EmployeeID = D.EmployeeID
inner join Person.Address C on C.AddressID=D.AddressID
order by C.City


4

In Layout tab, Design the reports as like below

5

Click Preview and find the report output

6

Grouping



Select the Header Fields row and right click

Select Insert Group

7


In Grouping and Sorting Properties, do the changes like below


8

After grouping, screen looks like below

9

Click preview ( Note : There is no changes, because we should hide city field )

10

Select the City(Grouping) Field and right click and select Properties


11

In Properties Window, Select Hide duplicates option and select group name in the dropdown listbox

12

Now click preview and find the difference

13

Tree View Grouping



If you want to see the grouping fields in tree view format, select Edit Group

14

In Grouping and Sorting Properties Window, Select our grouping field(City) value in
dropdown listbox near Document map label:

15


Click Preview

Here, you can find separate explorer window named your grouping name (which mentioned while creating this report)

16

Click that + button, you can find lot of groups(City)

Select a particular city and find their corresponding values


17

18

Conclusion



Do the above steps properly and enjoy grouping



Reference: http://www.dotnetspider.com/resources/42873-SSRS-SQL-Server-Reporting-Services-Create.aspx


Article by Prabu Thangavelu
Prabu Thangavelu Follow me: http://prabuthangavelu.blog.com/ or https://twitter.com/prabuthangavelu

Follow Prabu Thangavelu or read 25 articles authored by Prabu Thangavelu

Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: