Exercise: Linking Excel workbooks, Access databases and Word tables

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

The answer to the exercise will be included and explained if you attend the Wise Owl course listed below!

Category ==> SSAS - tabular  (29 exercises)
Topic ==> Other data sources  (1 exercise)
Level ==> Average difficulty
Course ==> SSAS - Tabular Model
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

This should be easy: all you have to do is count how many stores there are in each region.  What could possibly go wrong?

Sadly, Mr. Angry has taken your nice SQL Server tables and scattered them into a diverse range of data sources.  Your task is to round them up in a data model!

Open the workbook called Stores in the above folder to have a look at its contents, then close it down.  Now create a new tabular model project, and import this table into it from this Excel file:

Table of stores

Rename your table in your data model.

 

Now open up the Word document called Regions in the above folder to view its contents.  Select all of the data in the table of regions, copy it and paste it into your data model with the name Region to get:

Two tables, one from Word

You can 't tell that the table on the left comes from Excel, and the one on the right from the clipboard.

 

You may need to be in data view, not diagram view, to do this.

Import the table called tblCentre from the Access database called Geography in the above folder (you won't need to type in a user name or password):

Table of centres

The table imported from Access, with a suitable new name.

 

Finally, import the Excel workbook of towns from the above folder, and link up your tables using relationships to get:

Final data model

The data model linking data from two Excel workbooks, an Access database and a Word document!

 

Use this data model to create a pivot table showing how many stores there are per region:

Stores by region

The start of the pivot table.

 

Discuss with colleagues or neighbours how you could use this amazing tool to bring together your disparate data sources, back in the office! 

This page has 0 threads Add post