I have a Column which calculates the Percentage , like this
Convert(decimal(5,2),(PatCount*100)/@PatientCount) as Per
Now i want the Total Sum of the above calculated Percentage. So i tried doing this,
,SUM(Convert(decimal(5,2),(PatCount*100)/@PatientCount)) as pa
But i am not geting the Desired Result . For ex
Per %    Total %
6.00     6.00
7.00     7.00
85.00    85.00
I want the total Col to print as 98%. Please can Somebody help me with this.