Hi Thanks,
Can I please send you the query so you modify it for me?
Thanks
The query is as follows
USE [HQRMS]
GO
CREATE PROCEDURE [dbo].[sp_getSummarySalesReport_By_DeptTest]
(@DATEFROM AS DATETIME,@DATETO AS DATETIME,@DEPARTMENT AS NVARCHAR(50))
AS
SELECT DEPARTMENT.NAME AS...