D
DALLASDAN
I have a table that contains transaction records. I need to summarize
revenue of transactions by transactions source. I can do this creating a
Report from a Crosstab Query which works fine. Now each Transaction is
either a "Buy" or "Sale" transaction. Now I would like to summerize each
transaction source but have the revenue totals broken out for "Buy" and
"Sale".
Sample Input data:
SOURCE/ TRANS TYPE / REVENUE
phone / buy / 1000
phone / sale / 500
newspaper / buy / 300
newpaper / buy / 500
newpaper /sale / 100
Desired Report:
SOURCE / # TRANSACTIONS / BUY REVENUE / SALE REVENUE
Phone / 2 / 1000 / 500
Newspaper / 3 / 800 / 100
revenue of transactions by transactions source. I can do this creating a
Report from a Crosstab Query which works fine. Now each Transaction is
either a "Buy" or "Sale" transaction. Now I would like to summerize each
transaction source but have the revenue totals broken out for "Buy" and
"Sale".
Sample Input data:
SOURCE/ TRANS TYPE / REVENUE
phone / buy / 1000
phone / sale / 500
newspaper / buy / 300
newpaper / buy / 500
newpaper /sale / 100
Desired Report:
SOURCE / # TRANSACTIONS / BUY REVENUE / SALE REVENUE
Phone / 2 / 1000 / 500
Newspaper / 3 / 800 / 100