I have 2 tables I have unpivoted so I can merge them together. 1 has 1mil+ rows, the other has 4mil+. I am trying to merge the queries so I can then take it into Power Pivot and run more complex operations. However, I'm getting Memory errors when I try to load it into the Data Model (which, I guess you have to do in order to use Power Pivot?) I can actually get the queries to merge in Power Query, but when I close/load to the data model- it doesn't work.
I'm using 64-Bit Excel 365 on an i7 w/ 16GB ram, SSD and saving on a NAS over the network.
Here's the query:
let
Source = EntryCombos,
#"Unpivoted Columns" = Table.UnpivotOtherColumns(Source, {"COMBONUMBER"}, "Attribute", "Value"),
#"Removed Columns" = Table.RemoveColumns(#"Unpivoted Columns",{"Attribute"}),
#"Merged Queries" = Table.NestedJoin(#"Removed Columns", {"Value"}, IndAllUnPivoted, {"Value"}, "IndAllUnPivoted", JoinKind.LeftOuter),
#"Removed Columns1" = Table.RemoveColumns(#"Merged Queries",{"Value"}),
#"Expanded IndAllUnPivoted" = Table.ExpandTableColumn(#"Removed Columns1", "IndAllUnPivoted", {"INDEX"}, {"INDEX"})
in
#"Expanded IndAllUnPivoted"
Here's the error (it won't let me copy/paste, so I got a screenshot of it...
I have tried MANY different approaches (rebooting, restarting excel, loading the source files into the data model, NOT loading them into the model, etc- nothing works). Any ideas of what I can do?
Thank you!
I'm using 64-Bit Excel 365 on an i7 w/ 16GB ram, SSD and saving on a NAS over the network.
Here's the query:
let
Source = EntryCombos,
#"Unpivoted Columns" = Table.UnpivotOtherColumns(Source, {"COMBONUMBER"}, "Attribute", "Value"),
#"Removed Columns" = Table.RemoveColumns(#"Unpivoted Columns",{"Attribute"}),
#"Merged Queries" = Table.NestedJoin(#"Removed Columns", {"Value"}, IndAllUnPivoted, {"Value"}, "IndAllUnPivoted", JoinKind.LeftOuter),
#"Removed Columns1" = Table.RemoveColumns(#"Merged Queries",{"Value"}),
#"Expanded IndAllUnPivoted" = Table.ExpandTableColumn(#"Removed Columns1", "IndAllUnPivoted", {"INDEX"}, {"INDEX"})
in
#"Expanded IndAllUnPivoted"
Here's the error (it won't let me copy/paste, so I got a screenshot of it...
I have tried MANY different approaches (rebooting, restarting excel, loading the source files into the data model, NOT loading them into the model, etc- nothing works). Any ideas of what I can do?
Thank you!