Excel 2019 Bible

(singke) #1

Part IV: Managing and Analyzing Data


The icon next to the Orders table is slightly different than the icons for the other
two tables (see Figure 30.30). You made the Orders table part of the data model
when you checked the box creating the PivotTable. The other two tables are not
currently part of the data model.


  1. Choose Data ➪ Data Tools ➪ Relationships and click the New button. This shows
    the Manage Relationships dialog box. It’s empty because we haven’t set up our rela-
    tionships yet. Figure 30.31 shows the Create Relationships dialog box that appears
    when you click the New button.


FIGURE 30.31
The Create Relationships dialog box


  1. Relate the Orders table to the Customers table. Select Data Model Table: Orders
    and CustomerID in the top section and Worksheet Table: Customers and CustomerID
    in the bottom section. Compare your Create Relationship dialog box to Figure 30.32
    and click OK.


FIGURE 30.32
Relating the Orders table to the Customers table
Free download pdf