I have a table that contains a column called posting period. I want to run a query, that will find a report that shows a YTD trend by month by vendor. I know this can be done using a crosstab query, but I need to present it in a formal report. I have created a query that says this:
Jan: Sum(IIf([Posting Period]=1,[Amt in GRP],Null))
for every month, then I use that in a report to show the monthly trend. The problem I have now is it will list the same vendor 9 times because the expense amount is in a different column. It looks like this:
JAN FEB MAR
Vendor X 10
Vendor X 15
Vendor X 12
I need it to look like this:
JAN FEB MAR
Vendor X 10 15 12
Any help would be appreciated!!