I have a table with information on sales. I want to generate a table showing:
- total sales per customer
- sales per customer in the last 18 months
The following code (which doesn't sum up anything) works:
SELECT usdsales, iif(table1.orderdate>dateadd("d", -548, date()), usdsales) as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.