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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Computed Group

Status
Not open for further replies.

PhilMyWallet

Technical User
Feb 20, 2002
84
GB
I have a report with 10 teams. Each team has different roles.
E.g

A01 = Sales
A02 = Marketing
A03 = Finance
A04 = Sales
A05 = Finance
A06 = Marketing
A07 = Sales
A08 = Sales
A09 = Marketing
A10 = Finance

How do I create a column (computed item) which will identify which group each team belongs to?
 
You can create a group in the Results section by using the Decode function. Add a computed item, and then use a formula like this:

Decode ( Team, 'A01', 'Sales', 'A02', 'Marketing', 'A03', 'Finance', 'A04', 'Sales', 'A05', 'Finance', 'Other' )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top