I have a database with error codes in it from a production line. Something like this
Code - Line - Date - ErrorQty E1 - Line 2 - 01.01.2001 - 7
E1 - Line 1 - 01.01.2001 - 1
E2 - Line 1 - 01.01.2001 - 2
E2 - Line 2 - 01.01.2001 - 3
E1 - Line 1 - 02.01.2001 - 7
E2 - Line 1 - 02.01.2001 - 4
E1 - Line 2 - 02.01.2001 - 5
E2 - Line 2 - 02.01.2001 - 8
For each Line / Day combination I have a total. Lets say 100 each day.
I need a format where the pivot can calculate the correct percentage even if I group/consolidate the data to say all errors or all lines or months.
At the moment I am only able to have it at the code/line/day configuration, otherwise my totals also sum up and I get a kind of average percentage.
For example line 2 on 02.01.2001 I have 5 and 8 and a total production of 100. So I have E1 = 5% and E2 = 8% -- Total = 13%, but in my current configuration I duplicate the total so I get 6.5%
Any thoughts?
Addition:
So you can see the duplicated Totals. This is the total for the Date/Line
Update
Now I finally have the Rep to add a hyperlink, here is an example file.
In the Pivot for Line 1 it has a total of 0,28% - but this should be 5,01% (the summation of the percentages). I know this needs re-configuring to work but I cannot work out how
So it needs to add up the percentages for the grouping of error codes, but calculate cumulatively for all other factors.