Report

  • Thread starter aggregate sum over the periods
  • Start date
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top