Sql Server 2005The result of a tsql is tmtr aMtr bMtrpercentage years months----------------------------------------------4431 4380 51 0.988490 2010 78946 8946 0 1.000000 2010 81179 1083 96 0.918575 2010 10---- ----- ----14556 14409 147----- ----- -----1. Total of Tmtr is 145562. Total of Amtr is 14409So the Percentage of Amtr is calculated as 14409/14556 = 98.99%But why this do not reconcile with (0.9884+1.00+0.9185)/3 = 96.89%The percentage difference is 2.10 Why is there difference?
You have to do the percentage of your totals, not the average of the partial amounts.
Cheers