

This now automatically allows combine data from two different tables into a single PivotTable without having to do anything else (like writing a VLOOKUP to bring all the data together in a single table):
:max_bytes(150000):strip_icc()/powerpivot-excel-19-5c3cdcfec9e77c00010c73b1.jpg)
I then select the two fields between the two tables that I can use to create the relationship: I click Create to create this relationship. To related fields from two different tables I can create a relationship in the model.

Luckily Excel knows what is wrong and warns us in the Field list: Unfortunately we see something is wrong here, the same value is repeated for each Region. This automatically adds this fields to the PivotTable on Rows: Just the Sum of RevenueAmount by itself is not very valuable, I want to see this value for each region so I again check the checkbox in front of Region field in the PoliticalGeography table.

This will automatically add this field to the values area of the PivotTable and aggregate the values in the column in the PivotTable by using a SUM: I now open the Invoice table and select the RevenueAmount field. This creates a PivotTable with three tables in the Field list: Select Insert, PivotTable and selecting the Data Model as the connection. To create my first PivotTable on top of this data I can get started immediately as Power Query already added my tables to the Data Model. I imported invoice, date and a geography tables. In this blog post we will take a look how to do analytics on top of some sales data that I loaded into the Data Model using Power Query. In many cases this is enough to get started with your first Excel PivotTable. All these methods end up with the same result: one or more tables in the Data Model. Besides Power Query there are several other ways to add data to the Data Model, you can use Excel’s get external data features or even directly import in Power Pivot. To load the data into the Excel Data Model you have three different methods, to load any table from Power Query into the Data Model you can select “Load to Data Model” and this will bring the data into the model. It allows you to create analytics and visualizations using multiple tables without writing a single VLOOKUP, load data that has more than 1.000.000 rows and add advanced business logic to your solution with Data Analysis Expressions (DAX) formulas. Loading data into the Excel Data Model allows you to use data in a way previously impossible in Excel. In order for us to do this we need to load the data into the Excel Data Model. In this blog post we will take that data and prepare it for analyzing and visualizing in Excel. In our previous blog posts we explored how to bring data into Excel through Power Query ( Part I and Part II). Welcome back to our Getting Started with Excel and Power BI Series.
