May 6, 2014 at 8:29 am
Hello, sorry for the extreme noob question, but here goes....
I am doing a simple Labor Cost Analysis in the table below. Heres where I am getting tripped up:
My SQL is good, I'm bringing in records for the hours worked for each employee and the amount the labor costs (as you can see in the attached image). I have this report configured to group by the store the hours are charged to and then sum the hours and dollars (you can see the group symbol on the image). This is all working and the report data has been validated.
Now that this is working, it was been requested that the hours/dollars be grouped out by store but also separated by unique department. For instance, the payroll department wants to see all the hours/dollar labor charged to the store, but separate records/lines of summed hours/dollars per department if the labor is not all charged to the same department for each store. How can I group so that it is still grouped by store (like is currently configured) but return separate lines of data for unique departments if they exist (and still group by/sum total hours/dollars for the unique departments).
I know this is reports 101, thanks for your consideration!
May 6, 2014 at 10:31 am
You can add a second group on Department within the Store group so your report would look something like this:
Store|sum of hours|sum of dollars
Department|sum of hours|sum of dollars
Or you could put the store summary in a group footer instead of the header.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
May 6, 2014 at 11:17 am
That was totally it, thank you!
I play the bass, too Jack. Rock on!
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply