G
Guest
I have a table that has Site, Part, Acutual sales, Normalized sales, Month,
Year layed out in this format. I'm using the sum function to get my last 12
months of sales. In the query I; group by site and part, sum both sales, and
where month is 11 or 12 where year is 2005 and where months are 1 or 2 or
....10 where year is 2006.
This works just fine as is. What I would also like to do is get the 2nd 12
months of sales. Is this possible and if so how? I tried 2 more lines like
above after, where month is 11 or 12 and where year is 2005, and where months
1 or 2...0r 10 and where year is 2004 but the totals did not equal what they
should have.
Any solutions?
Year layed out in this format. I'm using the sum function to get my last 12
months of sales. In the query I; group by site and part, sum both sales, and
where month is 11 or 12 where year is 2005 and where months are 1 or 2 or
....10 where year is 2006.
This works just fine as is. What I would also like to do is get the 2nd 12
months of sales. Is this possible and if so how? I tried 2 more lines like
above after, where month is 11 or 12 and where year is 2005, and where months
1 or 2...0r 10 and where year is 2004 but the totals did not equal what they
should have.
Any solutions?