I have a table which records revenue for each product, split into type of revenue: price, fees, tax etc.
To analyze the data I'd like to build a PivotTable to show the revenue breakdown, e.g.:
So to build this PivotTable I need to somehow create an intermediate table of the following format so the PivotTable can be used:
My question is, how do I create a PivotTable from the original table automatically without manually constructing the second table?