accessfever
Registered User.
- Local time
- Today, 13:06
- Joined
- Feb 7, 2010
- Messages
- 101
Hi,
I have a database which has product lines, product code, ship qty, sales price 1 and sales price 2. I tried to create a query to summarize the data at the product line's level to look at the change % between (sales price 1 * ship qty) and (sales price2 * ship qty) . The initial calculation of the change % column in the query is not good though. I want the change column to look at the final sum of price 1 * qty and price 2 * qty and the formula like this:
(((sum of price1 * shipqty) - (sum of price 2 * shipqty) )/ (sum of price2 * shipqty) ) * 100
Any idea?
I have a database which has product lines, product code, ship qty, sales price 1 and sales price 2. I tried to create a query to summarize the data at the product line's level to look at the change % between (sales price 1 * ship qty) and (sales price2 * ship qty) . The initial calculation of the change % column in the query is not good though. I want the change column to look at the final sum of price 1 * qty and price 2 * qty and the formula like this:
(((sum of price1 * shipqty) - (sum of price 2 * shipqty) )/ (sum of price2 * shipqty) ) * 100
Any idea?