Power Query: Load to Data Model for Cleansing and Analysis @OzduSoleilDATA
Power Query: Load to Data Model for Cleansing and Analysis  @OzduSoleilDATA
Uploaded June 2019 | Updated November 2026, 6 minutes ago
One option when loading a query from Power Query is: Load to Data Model (or create Relationships). In this video that's what we cover, and why.

Download the workbook: datascopic.net/PQDM

In this video we have 3 tables of data and we'd like to answer questions that can only be answered if the data were all in one place.

We could use Power Query but Power Query would require a bunch of queries and isn't good if we have ad hoc questions. Instead, loading to a Data Model (Relationships) in Power Pivot is the sexy thing to do!

The Data Model will treat the 3 separate tables like a single source of data that we can create one pivot table from.

One thing that's important with Data Models and relationships. One side of the relationship needs to have all unique values. Example:

We can have Routes: TU-3 and WE-1 multiple times in a table, but we can only match that with a table that has all routes only one time each. More formally: we can have one-to-one relationships and one-to-many. We cannot have many-to-many relationships.

#DataModel
#PivotTable
#PowerQuery


For an intro to Get & Transform (Power Query) try my Lynda/LinkedIn course:
linkedin.com/learning/instructors/oz-du-soleil?trk=insiders_28299411_learning


Website: ozdusoleil.com

My book: Guerrilla Data Analysis 2nd Edition
amazon.com/Guerrilla-Analysis-Using-Microsoft-Excel/dp/1615470336

My old blog: datascopic.net/blog-2-2
Power Query: Load to Data Model for Cleansing and AnalysisExcel Expert Live Challenge with Bill Jelen: Reception Party GuestsExcel Campus License Plate Challenge: Odd vs. Even Days & License PlatesConnect Power Query to a Dynamic Dropdown ListPassing a Parameter in Power Query: Find reviews that need to be done in x daysHow to Import Excel Files with Power Query; BUT theres a PROBLEMPower Query: Stacking Columns of Data (Unpivot, Split Columns by delimiter, and everything!)Excel Discussion: The hard way or the concise way?Running Totals in Excels Power Query: the easy way8 Warnings about Excel Wolfram Data Types | Linked Data Types | Excel Rich Data TypesNETWORKDAYS Function | Calculating Net Work Days in Power Query | Weirdness & WarningsThe Majesty of DUPLICATE QUERY in Power Query
Excel On Fire (Oz du Soleil) |

Power Query: Load to Data Model for Cleansing and Analysis

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER