I need to run a report that will pick up the last date a customer was contacted, and then group the report by categories (i.e. 0-30 days, 31-60 days, etc.)
the data looks like this
Customer id Date visited
001 20040101
002 20041231
002 20050903
003 20050403
003 20050915
The final report should list somthing like this
Customers seen in the
last 30 days
Customer id Last Seen
002 20050903
003 20050915
ast 180 days
Customer id Last Seen
001 20040101
I am attempting to identify the max date for each account, and then create a formula field that will categorize the account by days since last visited - basically, subtracting the max date from the current date.
My problem is that, when I attempt to group by the calculated field, I don't get my calculated field as an available field to group on.
Any ideas on what I might be doing wrong or how better to approach this?
Any help is appreciated.
the data looks like this
Customer id Date visited
001 20040101
002 20041231
002 20050903
003 20050403
003 20050915
The final report should list somthing like this
Customers seen in the
last 30 days
Customer id Last Seen
002 20050903
003 20050915
ast 180 days
Customer id Last Seen
001 20040101
I am attempting to identify the max date for each account, and then create a formula field that will categorize the account by days since last visited - basically, subtracting the max date from the current date.
My problem is that, when I attempt to group by the calculated field, I don't get my calculated field as an available field to group on.
Any ideas on what I might be doing wrong or how better to approach this?
Any help is appreciated.