kiwijules0505
Registered User.
- Local time
- Tomorrow, 01:25
- Joined
- Nov 27, 2007
- Messages
- 10
Hi All,
I have a table containing raw data customer which is at an individual customer level. Some of these customers have multiple individual accounts with us, but belong to the same group of companies. I want to create a summary table which shows the consolidated totals per group, but in the case of the one field, "SUSPENSIONFLAG", I want to combine any values that appear in the individual accounts into one field, separated by commas.
Note that if the "SUSPENSIONFLAG" field of the raw data table is blank, then nothing should be added in the "SUSPENSIONFLAG" field of the consolidated table
See example below.
Thanks for any advice you may have.
Raw data:
NameGroupCONSUMERIDBalanceSUSPENSIONFLAGBillingMonthBS PRINT (Wellington)BS PRINT2900641501104.68 B.SUSPMay-08BS PRINT (Auckland)BS PRINT290096100126.04 CREDITMay-08BS PRINT (Dunedin)BS PRINT290055100157.98May-08
Output required:
NameGroupCONSUMERIDBalance SUSPENSIONFLAGBillingMonthBS PRINT188.70 B.SUSP, CREDITMay-08
I have a table containing raw data customer which is at an individual customer level. Some of these customers have multiple individual accounts with us, but belong to the same group of companies. I want to create a summary table which shows the consolidated totals per group, but in the case of the one field, "SUSPENSIONFLAG", I want to combine any values that appear in the individual accounts into one field, separated by commas.
Note that if the "SUSPENSIONFLAG" field of the raw data table is blank, then nothing should be added in the "SUSPENSIONFLAG" field of the consolidated table
See example below.
Thanks for any advice you may have.
Raw data:
NameGroupCONSUMERIDBalanceSUSPENSIONFLAGBillingMonthBS PRINT (Wellington)BS PRINT2900641501104.68 B.SUSPMay-08BS PRINT (Auckland)BS PRINT290096100126.04 CREDITMay-08BS PRINT (Dunedin)BS PRINT290055100157.98May-08
Output required:
NameGroupCONSUMERIDBalance SUSPENSIONFLAGBillingMonthBS PRINT188.70 B.SUSP, CREDITMay-08