bryant1
asked on
Grouping only certain values into a group
I am looking to make an expense report in Crystal. The database has several fields that relate to the same general type of expenses(eg. Salary & Wages - Temp; Salary & Wages - Manager) that i want to sum up under a single Salary Heading, and not show the indivual groups. the database has account numbers and i know what account #'s i want under each heading; however I cannot figure out how to incorparate this logic into CR 11.5.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok that formula that bdreed gave me seems to work, but it will not sum of the total for the group.. any ideas why?
The formula I gave you only allows you to group records, not sum them.
Once you create the group, you should be able to insert a summary on any numeric field that you need a sum for.
Once you create the group, you should be able to insert a summary on any numeric field that you need a sum for.
ASKER
Thanks, Worked like a charm
When you get the Insert Group dialog choose 'In specified order ' from the sort sequence drop down.
This open up a new dialog box which allows to specify a group name - click New and then add all the Account nos that make up that group. Repeat as necessary for each New group.