Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS - Grouping Identical Data Values when sorted on other Value

$
0
0

I'm working on a report in SSRS 2008 R2 that is a simple table of employees, sorted by date values of their current contract end dates.  Currently, the dataset is unsorted, but the report uses two sort conditions on the Tablix is sorted so that: 

1. All employees with no current contract are listed first (in descending order by how long they've been without a contract)

2. All employees with current contracts are listed in ascending order of when their contract expires.  

So currently, the report renders like this:

EmployeeContract End
Emp 16/1/2012
Emp 28/1/2012
Emp 33/1/2013
Emp 46/1/2013

The trouble is, some employees have multiple open contracts, and the report shows them like this:

EmployeeContract End
Emp 16/1/2012
Emp 28/1/2012
Emp 33/1/2013
Emp 46/1/2013
Emp 312/31/2013

Is there any way to group the entries for the same employee sequentially, ignoring the existing sort on Contract End Date?  I want the report to render like this:

EmployeeContract End
Emp 16/1/2012
Emp 28/1/2012
Emp 33/1/2013
Emp 312/31/2013
Emp 46/1/2013

Any ideas???


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>