I'm working on a custom report that displays the customer sales by month. When the customer runs this report she wants to it display the current sales based on the date she is running the report and 12 months back for each customer. The formula that I created but isn't working and displaying 0.00 dollar amounts for each month even if there is a monthly sales amount. Here is my formula for total sales by month:
if {AR_InvoiceHistoryHeader.OrderDate} in DateSerial (year(CurrentDate),month(CurrentDate) -5,1 ) to
DateSerial (year(CurrentDate),month(CurrentDate)-4 ,1 )-1 then {@InvTotal} else 0
I'm sure it's something simple I'm missing. TIA.
------------------------------
Shannon Stanley
Sage 100 Consultant
Ardent Consulting LLC
704-839-6697
------------------------------