M
maya
hallo all,
i have table Transaction(ID,Date,Costumer,product
number,Sale amount). Now i want to make query from that
table base on this criteria;
exclude ONLY the transactions if the total of it BY same
costumer,same product number have Sale amount > $50k
im trying to do it by using crosstab query as Product
number using row heading, Costumer using column heading
and Sale amount using value. later on i sum up all sale
amount on its product number row.
TRANSFORM Sum(Transaction.[Sale Amount]) AS [SumOfSale
Amount]
SELECT Transaction.[Costumer]
FROM [Transaction]
GROUP BY Transaction.[Costumer]
PIVOT Transaction.[Product number];
now how do i exclude it from original table?or is that
any shorter way to deal with it?how would my query be?
please help
THT,
maya
i have table Transaction(ID,Date,Costumer,product
number,Sale amount). Now i want to make query from that
table base on this criteria;
exclude ONLY the transactions if the total of it BY same
costumer,same product number have Sale amount > $50k
im trying to do it by using crosstab query as Product
number using row heading, Costumer using column heading
and Sale amount using value. later on i sum up all sale
amount on its product number row.
TRANSFORM Sum(Transaction.[Sale Amount]) AS [SumOfSale
Amount]
SELECT Transaction.[Costumer]
FROM [Transaction]
GROUP BY Transaction.[Costumer]
PIVOT Transaction.[Product number];
now how do i exclude it from original table?or is that
any shorter way to deal with it?how would my query be?
please help
THT,
maya