hi, I want to get the subtotals of my data using a pivot table after selecting min as the level of aggregation.
However, whenever I do this, the subtotals become 0.
For example, on the table below, I want the subtotals for A and B but before I can do that, I need to get rid of the duplicate row that contains Spain so I selected min as the level of aggregation for price (if I choose sum the value for Spain becomes $100 which is wrong). Selecting min however does not let me get the right type of subtotal whenever using the pivot table.
Letter. - Country. -Price
A. - England - $20
A. - France - $30
A. - Spain - $50
A. - Spain - $50
B. - USA - $20
B. - India - $30
Do you have any ideas on how I could get the subtotals but at the same time skip the duplicates?
My final goal is to get: A - $100 and B - $50