Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213916

Calculation - filtering one column while getting total SUM on another column

$
0
0

I would like to find the number of part rejects for specific rejects per million parts produced for a specific set of months by the location where the parts were build. 

 

My data is set up like this: PPM.png

Unfortunately not every month has every reject type, but I'd still like to get the total PPM of reject over the designated timeframe (lets say 3 months). 

 

Currently what I do is I take the Sum All Cnt column and divide it by the Monthly Volume and then multiply it by 1000000 to get PPM per reject type per month per build location. I then use a slicer to pick which months I would like to see and use a filter to only see the build locations that I want to represent. But this is only accurate when I only want to view one month because as stated earlier some months do not have certain rejects although they have build volume. Records for rejects are only recorded when there is a reject of that type, never when there is not a reject of that type. Volume is always recorded. 

 

Example:

Feb - 3 Assist rejects - build volume is 10000

March -                      - build volume is 12000

April -                        - build volume is 10000

 

 

When I use my slicer for Feb, March, and April it will only give me the PPM for the 3 rejects, making my PPM 300 (3/10000*1000000) but I want the PPM for the 3 month period which would make my PPM for that period 93.78 (3/32000*1000000).

 


Viewing all articles
Browse latest Browse all 213916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>