Jump to content
Server Maintenance This Week. ×

SubSummaries


Oldfogey

This topic is 7352 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I know this is easy!

I have a file of employee weekly attendance/time records, sorted by Week within Employee name. There can be multiple records for the same employee in a week (Annual Leave, Sick Leave, actual work, etc.)

I have a report summarised by Week and then Employee.

Now to the easy bit. For Annual Leave, an employee accrues a certain amount each week, might or might not take some of it, leaving a balance.

Each Week subsummary shows Total Accrued, Total Taken, Balance. Problem is these figures apply only for the week. I want the same figures for year to date.

Running Total doesn't work nor do the other weird and shonky thngs I've tried.

In a nutshell, I want an intermediate subsummary by employee.

Anu suggestions?

Link to comment
Share on other sites

Thanks to CyborgSam setting me off on self-joins, I've solved this.

The key (pun intended) is to use a value list of weekending dates, based on a self-join. Then set another field (NewList) to only the dates less than or equal to the current record's W/E date. Set up another self-join using NewList and then collect the Annual Leave, Sick Leave, etc. figures.

I knew it was easy!

Link to comment
Share on other sites

This topic is 7352 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.