It works perfect until I go to Group By. I'll go ahead and past my actual code since I may be simplifying it in my examples:USE [My DB]GOWITH myCTE (a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t)as(SELECT mls_data.mlssource, mls_data.county, mls_data.schooldistrict, mls_data.new,isnull(sum(case when status.status = 'Active' and dateaddedmonth = month('7/1/2011') and dateaddedyear = year('7/31/2011') then 1end), 0) as Active,isnull(sum(case when status.status = 'Pending' and dateaddedmonth = month('7/1/2011') and dateaddedyear = year('7/31/2011') then 1end), 0) as Pending,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2011') and sellingdatemonth = month('6/1/2011') then 1end), 0) as CurrMthClose,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2011') and sellingdatemonth <= month('6/1/2011') then 1end), 0) as YTDClose,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2010') then 1end), 0) as Year1Closed,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2009') then 1end), 0) as Year2Closed,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2008') then 1end), 0) as Year3Closed,isnull(sum(case when status.status <> 'Sold' and dateaddedmonth = month('7/1/2011') and dateaddedyear = year('7/31/2011') then 1end), 0) as CurrentMonthActive,isnull(sum(case when status.sellingdate >= '7/1/2010' and status.sellingdate < '7/1/2011' then 1end), 0) as Prev12MonthsSold,isnull(sum(case when status.status = 'Active' and dateaddedmonth = month('7/1/2011') and dateaddedyear = year('7/31/2011') then status.listingpriceend), 0) as Active$,isnull(sum(case when status.status = 'Pending' and dateaddedmonth = month('7/1/2011') and dateaddedyear = year('7/31/2011') then status.listingpriceend), 0) as Pending$,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2011') and sellingdatemonth = month('6/1/2011') then status.sellingpriceend), 0) as CurrMthClose$,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2011') and sellingdatemonth <= month('6/1/2011') then status.sellingpriceend), 0) as YTDClosing$,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2010') then status.sellingpriceend), 0) as Year1$,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2009') then status.sellingpriceend), 0) as Year2$,isnull(sum(case when status.status = 'Sold' and sellingdateyear = year('6/1/2008') then status.sellingpriceend), 0) as Year3$FROM mls_data INNER JOIN Status ON mls_data.listingnumber = Status.listingnumber AND mls_data.mlssource = Status.mlssourcewhere status.dateadded between '1/1/2008' and '7/31/2011' and mls_data.county = 'Butler' and mls_data.mlssource = 'Cincy'group by mls_data.new,mls_data.mlssource, mls_data.county, mls_data.schooldistrict)select a, b, case when e+f+g+h+i+j+k+l+m < 10 then 'Other' else c end as c, d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,tfrom myCTEgroup by d,a,b,corder by d,a,b,cIf I take out the Group By it works. And I sort of get why the group by won't work, I'm just not sure the solution.If you notice, the only columns I want to see if add up to less than 10 are the ones that I'm using "Sum Then 1" to count up. The other ones are Summing prices.Thanks,Jeff