I have the below simple query:-
SELECT *
FROM dbo.vwPAProjects_Summary_New_2
which generates data in the following output:-

can anyone advise as to the best way to code in that when the ‘PACONTNUMBER’ and ‘Project Type’ is the same perform a sum to provide an overall total for each numerical value.
Example:-

Try this:
And then add any other fields you would like to SUM to the select list.