here is one way...
(note:You cannot use a traditional grouping or crosstab here because you have one row data that needs to be counted in more than one grouping.)
group on the salesman name. Suppress the group header and details.
place the salesman name in the group footer
create running totals to evaluate eacjh of your month year needs and palce these in the group footer as your 'columns'.
You can then also use the RTs in formulas to get your %differences (also palced in the group footer).
RT samples:
name=Lastmonth
field to summarize= invoicetotal
type=sum
evaluate = use a formula
ARInvoice.InvoiceDate in lastfullmonth
reset= on change of group (select sales person group)
name=LastmonthLastYear
field to summarize= invoicetotal
type=sum
evaluate = use a formula
year(ARInvoice.InvoiceDate) in dateserial(year(currentdate)-1,month(currentdate)-1,1) to dateserial(year(currentdate)-1,month(currentdate),1-1)
reset= on change of group (select sales person group)
formula sample is
{#Lastmonth}%{#LastmonthLastYear}
Edited by DBlank - 25 Aug 2011 at 11:25am