Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

Incorrect subtotals in SQL Server Report Builder

$
0
0

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.

Viewing all articles
Browse latest Browse all 4035

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>