I have this query below that works quite well generating a report like this:[code="other"]Jimmy | Sword | 3Jimmy | Axe | 0Jimmy | Bow | 7Alex | Sword | 1Alex | Axe | 11Alex | Bow | 0Kate | Sword | 4Kate | Axe | 6Kate | Bow | 1[/code] However, the powers-at-be want the PartName data across the top as columns, and then the worker and 'Total Made' count as rows for each part.So it would look something like this:[code="other"] Sword | Axe | BowJimmy 3 0 7Alex 1 11 0Kate 4 6 1[/code]Here is my fairly simple query that produces the first/original report:[code="sql"]SELECT WorkerName, PartName, Count(PartName) AS 'Total Made' FROM Parts_ListWHERE userID IN (select userID from warehouse1)GROUP BY PartName, WorkerName[/code]I figured out how to get the PartName as columns by creating a matrix and then adding a Dataset with a query like this:[code="sql"]select PartName From Parts_List[/code]However, I can't figure out how to get the rows of workers and their Count(PartName) to line up with the columns.Does SSRS even support this?Thanks!
↧