Not sure how best to ask as a subject line.
col Box has additional line level details (using color to demonstrate scenario) thus repeating size. I need to only count size one time for each unique box. So my total for size would be 11; avg size 2.2. Effectively remove duplicates.
Typically, I would use two pivots tables to solve. However, I believe there should be a better route via pivot calculation or power pivot. I'm new to power pivot and cannot find a solution that works.
I was thinking if average of distinct box then sum average. Or to state another way: sum distinct box size average.
col Box has additional line level details (using color to demonstrate scenario) thus repeating size. I need to only count size one time for each unique box. So my total for size would be 11; avg size 2.2. Effectively remove duplicates.
Typically, I would use two pivots tables to solve. However, I believe there should be a better route via pivot calculation or power pivot. I'm new to power pivot and cannot find a solution that works.
I was thinking if average of distinct box then sum average. Or to state another way: sum distinct box size average.
Box | Size | Color |
A | 2 | Red |
A | 2 | Green |
A | 2 | Blue |
B | 1 | Green |
B | 1 | Blue |
C | 3 | Red |
C | 3 | Blue |
D | 2 | Red |
D | 2 | Green |
D | 2 | Blue |
E | 3 | Red |