I have a C# crystal report presenting employee salaries. A cross-tab table is showing these data. Earnings and Deductions are grouped by earn_deduct category (Here E & D). Column is showing the employee number and the row shows the earn/deduct type
Now I want to calculate the Net Salary where I have to subtract the deductions from the earnings and display in same format .This is easy if I can extract the totals from each groups(Total deductions and Total Earnings)
Earnings
Deductions
Eg:- For Employee 219
Total Earnigs=66325.00
Total Deductions=12659.00
Net Salary=66325.00-12659.00
=53666.00
Please give me a way to extract those two Totals from the relative cross tab table or any idea to get this total.