I need to create an invoice report with the sum of SalesAmt for 3 separate months from the Date when user run the report. So the months will be varies depend when the user run the report. I have to group by 3 different Categories. The group byVendor Categories is my puzzle for the total salesamt for 3 separate month
Below is my example
1st Group by SalesPerson
John
Peter
James
2nd Group by customer
Publix
Walmart
Bi-LO
3rd Group by Vendors Jan Feb March
SONY SalesAmt SalesAmt SalesAmt
RCA SalesAmt SalesAmt SalesAmt
HITACHI SalesAmt SalesAmt SalesAmt
Subtotal $50,000 $150,000 $100,000
--so how can get the sum of SalesAmt from the last 3 month month separately by different vendors form the month that user run the report.This is what I am trying to do in the Formula editor by creating a formula but there is an error
@totalSaleMonth1
sum{tek_sp_rpt_SLIPandGAIN;1.totalsale}DateAdd("m",-3,{?@MonthStart})
--?@MonthStart is the parameter that user enter the date
Thanks if someone can help.
Below is my example
1st Group by SalesPerson
John
Peter
James
2nd Group by customer
Publix
Walmart
Bi-LO
3rd Group by Vendors Jan Feb March
SONY SalesAmt SalesAmt SalesAmt
RCA SalesAmt SalesAmt SalesAmt
HITACHI SalesAmt SalesAmt SalesAmt
Subtotal $50,000 $150,000 $100,000
--so how can get the sum of SalesAmt from the last 3 month month separately by different vendors form the month that user run the report.This is what I am trying to do in the Formula editor by creating a formula but there is an error
@totalSaleMonth1
sum{tek_sp_rpt_SLIPandGAIN;1.totalsale}DateAdd("m",-3,{?@MonthStart})
--?@MonthStart is the parameter that user enter the date
Thanks if someone can help.