you mean this?select oe2.OrdSourceID,Count(oe2.OrdSourceID) as TotalOrders,Percentage = Count(oe2.OrdSourceID) * 100.0 / SUM(Count(oe2.OrdSourceID)) OVER () from OeOrders Oe iNNER JOIN OeOrders2 AS oe2ON Oe.OrderID = oe2.OrderIDwhere Oe.ProviderID = 'JOHN' and Oe.OrderDateTime between '10/07/2014' and '10/15/2014' and oe2.OrdSourceID is not nullAND Oe.[Status] NOT IN ( 'CANCEL', 'CANC', 'CNC', 'UNVER', 'UNV' )Group by oe2.OrdSourceID
------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/https://www.facebook.com/VmBlogs