Hello,
I have a problem and from what I find on the internet I'm wondering if I want to do something that cant be done in Access.
I am pulling data into a table from our AS 400 (curently monthly). This table has fields for date, department, Part number, Decription, quantity, and a code telling me if the entry was scrap or production. So far so good. I can get daily totals for each by department by using the aggregate function 'sum'.
I need to take this a step further and do a "Parts Per Million" calculation or PPM. The PPM is simply the scrap divided by the production multiplied by 1 million. This is where the problem comes in for me. Every combination of query that i have tried results in the query timing out or I get my procution data and then the same scrap total repeated for the entire month. Is there a way to use the aggregate functions in my PPM calculation? I can't figgure out how to make the query work so that I can graph all three, production, scrap and PPM all on one graph.
I have a problem and from what I find on the internet I'm wondering if I want to do something that cant be done in Access.
I am pulling data into a table from our AS 400 (curently monthly). This table has fields for date, department, Part number, Decription, quantity, and a code telling me if the entry was scrap or production. So far so good. I can get daily totals for each by department by using the aggregate function 'sum'.
I need to take this a step further and do a "Parts Per Million" calculation or PPM. The PPM is simply the scrap divided by the production multiplied by 1 million. This is where the problem comes in for me. Every combination of query that i have tried results in the query timing out or I get my procution data and then the same scrap total repeated for the entire month. Is there a way to use the aggregate functions in my PPM calculation? I can't figgure out how to make the query work so that I can graph all three, production, scrap and PPM all on one graph.