Creating a custom group on a report

K

Karen

Hello -

I have a report that has three fields "#of Years", "People in school",
"People applied"

The number of years range from 0 (less than 1 year) to 35. I want to group
the records so # of years = 0 thru 6 show as is, and 7+ all other years are
added together under one group and summed together for the "People in School"
and "People applied"

Do you know how I can do this? Should I do this in the report?
Thanks
 
S

steveh

I would use a query, but I suppose you could get the same results in a
report.

Group by [#of Years] and Sum [People in school] and [People applied].
For the [#of Years], you would have something like this:

NumYears: IIf([#of Years] >= 7, "7+", [#of Years])


Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top