Hi,
Cross summation or manipulation in SSRS reports.
Consider the below image has credits and debit, The Balance is calculated by
=Credit - Debit + Balance.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmvG4V9YVIKk2O_Fd_iFKTCPgY_LhC8i7JBESnhs-G3QrM_QEvoKBWXqxNe0QoqUk6NaUYVAp2lX_h6YIYqEuxzjrYY9e1jkV3SGeYPq_8_ORDPByXpMJ0r_ACIDb-_jOP3QLjqRhs0A_r/s400/pic.png)
From my knowledge it is not possible in Visual Studio. Instead we can make this possible by below procedure.
1.Create a field in the temp table as balance.
2. In contract class just in the insert method make this
TmpTableName.Balance = TmpTableName.Balance + TmpTableName.Credit - TmpTableName.Debit ;
3.Refresh the dataset add the fields in to the expected position then observe the application.
Enjoy it
No comments:
Post a Comment