Hi guys,
Newbie here, but hoping to learn lots. I'm currently working on a project where I'm trying to aggregate some data in MS Access and need help with my query. This is my query as it looks now:
Code:
PARAMETERS [Forms]![Dialog - Hours by Resource]!cmbProject.[Value] Text ( 255 );
TRANSFORM Sum([ChangePoint Sample Data].Hours) AS SumOfHours
SELECT [ChangePoint Sample Data].Resource, [Resource List].Role, Sum([ChangePoint Sample Data].Hours) AS [Grand Total]
FROM [ChangePoint Sample Data] INNER JOIN [Resource List] ON [ChangePoint Sample Data].[Resource] = [Resource List].[Resource]
WHERE ((([ChangePoint Sample Data].Project)=[Forms]![Dialog - Hours by Resource]![cmbProject].[Value]))
GROUP BY [ChangePoint Sample Data].Resource, [Resource List].Role
ORDER BY [Resource List].Role
PIVOT [ChangePoint Sample Data].Month;
This is the output, the resource column actually has names but I have changed it for privacy reasons:
[Please see 'Hours by Resource Output' in my attached ZIP]
What I would like to have it look like is this:
[Please see 'Desired Output' in my attached ZIP]
How can I achieve my desired output? Either by modifying my query or using another tool in Access.
Any input is appreciated and excited to be part of the community!