VLOOKUP and Relationships
From the previous post, you created a PivotTable displaying the Sales of Product Categories by Sales Manager, by Year.Fig. 1: PivotTable of Sales of Product, by Sales Manager by Year |
Creating a Relationship
To create a relationship, you click on the Data tab in Excel and then on the Relationships button as depicted in Figure 2.Fig. 2: Data tab with Relationships button highlighted |
Fig. 3: Creating the Relationship |
Fig. 4: Relationship Manager with new Relationship |
The Data Model
A set of tables is a data model when the tables have a relationship linking them together. Otherwise, they are just tables.Now that two tables have an established relationship, together, the two tables Sales and SalesManagers are considered a data model. To analyze the SalesManagers and Sales tables in a single PivotTable, go to the PivotTable you created, which only has one table's fields to choose from, and in the PivotTable Fields, scroll down and click on More Tables (Figure 5).
Fig. 5: Data Model via More Tables |
Fig. 6: Creating a New PivotTable Dialogue Box |
Fig. 7: Sales of Sales Manager by Office by Year |
Thanks for reading,
Wayne
No comments:
Post a Comment