Let's say my source data looks like this:
Brand Model Color Region Sales --------------------------------------- Ford Focus Black N/A 23 Ford Focus White N/A 2 Nissan Leaf Black N/A 12 Nissan Leaf White N/A 6 Nissan Pulsar Black N/A 3 Nissan Pulsar White N/A 4 Ford Focus N/A US 15 Ford Focus N/A EU 10 Nissan Leaf N/A US 5 Nissan Leaf N/A EU 13 Nissan Pulsar N/A US 1 Nissan Pulsar N/A EU 6
I would like a pivot table that looked like this:
Color Region Black White US EU ------------------------------------------ Ford Focus 23 2 15 10 Nissan Leaf 12 6 5 13 Pulsar 3 4 1 6
Is that possible? The only thing I can achieve is this:
Black White N/A US EU N/A US EU N/A US EU N/A ----------------------------------------------------------- Ford Focus 23 2 15 10 Nissan Leaf 12 6 5 13 Pulsar 3 4 1 6
which is pretty ugly.
Problem seems to be that I'm not sure it's possible to have two variables in columns which are not hierarchically related. I could create two different pivot tables, onw wich brand/model/color and another with brand/model/region, but in my real case (that's a simple mockup) there're about 6-7 common variables, and having two huge tables is pretty overkill and not very pleasant for looking at data.
Thanks in advance for any help!