A
aggregate sum over the periods
Hi,
I made a cross tab query that showed for ProductID with sales amount in
individual month and the YTD sales amount. I had to present a monthly report
just showing the latest three months with YTD amount, not same as that made
under above query.
I tried to use DatePart i.e.
DATEPART("[SalesAmount]","ProductSales","[SalesDate]between#StartingDate#and#EndingDate#")
to restrict the record in every month column I need. It works but not match
with the individual ProductID
Who can help me?
I made a cross tab query that showed for ProductID with sales amount in
individual month and the YTD sales amount. I had to present a monthly report
just showing the latest three months with YTD amount, not same as that made
under above query.
I tried to use DatePart i.e.
DATEPART("[SalesAmount]","ProductSales","[SalesDate]between#StartingDate#and#EndingDate#")
to restrict the record in every month column I need. It works but not match
with the individual ProductID
Who can help me?