Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

3 month rolling count

Status
Not open for further replies.

jchewsmith

Technical User
Nov 20, 2006
161
US
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



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top