If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
wish to tabulate service counts as monthly totals per employee
This is probably so easy, I'm going to be embarressed to post... but I'm
going around in circles and not getting anywhere. Thanks if you can help. Here's the data I have in my linked CSV file ServiceCode (this is number which could be counted) Begin Date (date which I should be able to group by month) Emp # EmpName So the end result of having a report which shows each empolyee per page with Months as column headers and total counts beneath. Thanks for any pointers you may be willing to share. -- Rocky''''''''s Curious Coding |
#2
|
|||
|
|||
wish to tabulate service counts as monthly totals per employee
Try this --
TRANSFORM Count([ServiceCode]) AS CountOfServiceCode SELECT EmpName FROM [Linked CSV] GROUP BY EmpName PIVOT Format([Begin Date], "yyyy mm"); -- Build a little, test a little. "Rocky" wrote: This is probably so easy, I'm going to be embarressed to post... but I'm going around in circles and not getting anywhere. Thanks if you can help. Here's the data I have in my linked CSV file ServiceCode (this is number which could be counted) Begin Date (date which I should be able to group by month) Emp # EmpName So the end result of having a report which shows each empolyee per page with Months as column headers and total counts beneath. Thanks for any pointers you may be willing to share. -- Rocky''''''''s Curious Coding |
#3
|
|||
|
|||
wish to tabulate service counts as monthly totals per employee
Karl,
Thanks a million. That worked like a charm. I REALLY APPRECIATE IT! Hopefully one day I'll get proficient enough to help others here. -- Rocky''''''''s Curious Coding |
Thread Tools | |
Display Modes | |
|
|