INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

3 month rolling count

3 month rolling count

(OP)
I have a report where I want to count users by month and last 3 months. I have grouped by month and by customer. some customers may not have a count in consecutive months, so I don't just want the last three groups total I want the last 3 calendar months total.
When I run the report I want to cut it off for the month end of the month prior to run date.
my date field is a date time so when I group it I am using the group expert "for each month"

Example:

ABC Co last month count last 3 months
1/2015 5 5
2/2015 2 7
3/2015 10 17
5/2015 3 13
6/2015 7 10
7/2015 4 14
8/2015 6 17

XYZ Co last month count last 3 months
1/2015 5 5
2/2015 6 11
3/2015 7 18
4/2015 3 16
6/2015 10 13
9/2015 20 20



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close