Hi,
I am trying to create a weekday report on the sales activity. I have a main sales_table. I am just using two field from the table. SalesDate and CRC (the CRC is the status of that record).
So i have a query that runs the counts of CRC by each sales day with Between [Enter Begin Sales Date] And [Enter End Sales Date]
This is query in SQL view:
SELECT Invoice.sales_date_internal, Count(Invoice.CRC) AS CountOfCRC, Invoice.CRC
FROM Invoice
GROUP BY Invoice.sales_date_internal, Invoice.CRC
HAVING (((Invoice.sales_date_internal) Between [Enter Begin Sales Date] And [Enter End Sales Date]) AND ((Invoice.CRC) Is Not Null));
Now I wanna create report in the following format:
Monday Tuesday Wednesday Thursday Friday Total
Sales 1 2 5 7 2 17
Cancel 3 1 3 2 0 9
Paid 3 1 3 2 1 10
Total 7 4 11 11 3 36
Can anyone please help me how to achieve this.
Thanks so much
I am trying to create a weekday report on the sales activity. I have a main sales_table. I am just using two field from the table. SalesDate and CRC (the CRC is the status of that record).
So i have a query that runs the counts of CRC by each sales day with Between [Enter Begin Sales Date] And [Enter End Sales Date]
This is query in SQL view:
SELECT Invoice.sales_date_internal, Count(Invoice.CRC) AS CountOfCRC, Invoice.CRC
FROM Invoice
GROUP BY Invoice.sales_date_internal, Invoice.CRC
HAVING (((Invoice.sales_date_internal) Between [Enter Begin Sales Date] And [Enter End Sales Date]) AND ((Invoice.CRC) Is Not Null));
Now I wanna create report in the following format:
Monday Tuesday Wednesday Thursday Friday Total
Sales 1 2 5 7 2 17
Cancel 3 1 3 2 0 9
Paid 3 1 3 2 1 10
Total 7 4 11 11 3 36
Can anyone please help me how to achieve this.
Thanks so much