Hello, Here is an example of my data structure: ProjectName ExpenseType AccountType Amount A Revenue Revenue 1,200,000 A One-Time Expense Operations 10,000 A One-Time Expense Technnology 10,000 A Ongoing Expense Operations - Production 100,000 A Ongoing Expense Operations - NonProduction 50,000 A Ongoing Expense Operations - ProjectManagement 25,000 A Ongoing Expense Technology 500,000 A Ongoing Expense Depreciation 15,000 A Ongoing Expense Maintenance 75,000 I would like to use the query builder in SAS EG to generate this resultant table. The Ongoing Expense for Operations are summed together. Not sure if this is possible. ProjectName ExpenseType AccountType Amount A Revenue Revenue 1,200,000 A One-Time Expense Operations 10,000 A One Time Expense Technology 10,000 A Ongoing Expense Operations 175,000 A Ongoing Expense Technology 500,000 A Ongoing Expense Depreciation 15,000 A Outgoing Expense Maintenance 75,000 A Total Total 1,985,000 All advice are greatly appreciated! Thanks!
... View more