I have a data set of line item payments that typically have 2-3 line items (partial payments) for one ClaimID. I am trying to create a query with a clean output of expected revenue per ClaimID. If the partial payments were added together then subtracted from "aquisition cost" then it would show a positive revenue. I created a subquery to consolidate the ClaimIDs and SUM the total payments but when I add this subquery to my Primary Query and drag the [SumTotalPayments] into the query, it doesnt consolidate the ClaimIDs, only adds the [SumTotalPayments] to each line item. Hoping there is an easy fix. Spent too many hours trying to figure it out. Any help would be greatly appreciated. Happy to make clarifications if my explanation doesn't make sense. Pictures with #1 are my Primary Query and #2 is by subquery and #3 is combined query. Thankyou, Phillip