I have this source of data cells:
I am trying to create a pivot nest the Model under the colors. Each color individually. Haven't succeeded so far. This is the result I'm aiming for:
Any help will be much appreciated
You can use Power Query to pre-process the table:
Once you have the pivot table loaded
Model
and Attribute
to the Rows areaOrder Total
and Order Amount
to the Values areaM Code
let
Source = Excel.CurrentWorkbook(){[Name="Table18"]}[Content],
#"Unpivoted Other Columns" = Table.UnpivotOtherColumns(
Source,
{"Model", "Order Total", "Order Amount"},
"Attribute", "Value"),
#"Removed Columns" = Table.RemoveColumns(#"Unpivoted Other Columns",{"Value"})
in
#"Removed Columns"
Edit
To use Power Query
, available in Windows Excel 2010+ and Office 365 Excel
Data => Get&Transform => From Table/Range
Home => Advanced Editor
Applied Steps
window, to better understand the algorithm and steps