I have something that works but don't like all the unions to make it work.Is it possible to turn this into a single query without unions?Basically first union gives Rolling value for July - May.Second Union gives Rolling value for June - April.Declare @StartDate as datetime;Declare @SelectedCompany as varchar(100);set @Startdate = '7/1/2014';set @SelectedCompany = 'Company';select max(a.[Month_Year__Date_]) as "Month_Year__Date_",(sum([Chat___Total_Time_To_Live_Agent__Avg_]*[Chat_____of_Successful_Interactions])/sum([Chat_____of_Successful_Interactions])) as Peer_ResponseSpeed_3MOfrom [ChatMetricsMonthly] a,[ChatCustomMetricsMonthly] b,[PeerMapping] cwhere a.[Month_Year__Date_] between dateadd(month, -2, @StartDate) and @StartDate and a.[Company] = c.[competitor]and a.company = b.companyand c.[subjectcompany] = @SelectedCompanyand a.[Month_Year__Date_] = b.month_year__date_union select dateadd(month, -1, @StartDate),(sum([Chat___Total_Time_To_Live_Agent__Avg_]*[Chat_____of_Successful_Interactions])/sum([Chat_____of_Successful_Interactions])) as Peer_ResponseSpeed_3MOfrom [ChatMetricsMonthly] a,[ChatCustomMetricsMonthly] b,[PeerMapping] cwhere a.[Month_Year__Date_] between dateadd(month, -3, @StartDate) and dateadd(month, -1, @StartDate) and a.[Company] = c.[competitor]and a.company = b.companyand c.[subjectcompany] = @SelectedCompanyand a.[Month_Year__Date_] = b.month_year__date_