Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

crosstab query + matrix control

Status
Not open for further replies.

zerkat

Programmer
Jul 12, 2007
103
US
I am trying to create a cross tab query with the matrix control in sql reporting services 2005. I am using the below query to populate the matrix. I want the matrix to detail task hours by position. It is working but I don't know how to keep it from repeating the columns (i.e. positions) and it is not listing all the projects:

SELECT Employee.PositionName, Project.ProjectName, SUM(ProjectHours.HoursByProject)
FROM Employee
inner joins to necessary tables here
where clause
Group By Employee.PositionName, Project.ProjectName

Can any one help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top