In my database there is only one LoanAmount Value associated with a LoanID but there can be multiple PaymentAmount values associated with the same LoanID.
In Report Builder, my groups are CustomerID, LoanID and PaymentID. When I sum LoanAmount it is summing the LoanAmount by the number of payment rows - example: LoanAmount of $1000.00 with 2 payments, therefore the report is returning the LoanAmount of $2000.00. The PaymentAmount totals are correct. How can I get the correct LoanAmt Total? thanks!
I entered by script via Query Designer.