POWER BI EXERCISES▼
- PowerPivot data models (7)
- Pivot tables using PowerPivot (2)
- Using Excel tables (3)
- Using other data sources (1)
- Transforming data (Power Query) (7)
- Calculated columns (7)
- Measures (2)
- The CALCULATE function (15)
- More advanced DAX functions (5)
- Calendars (1)
- Date functions (10)
- Hierarchies (2)
- KPIs (5)
- Power View (4)
- Power BI Desktop overview (3)
- Power BI Desktop maps (1)
PowerPivot | Using Excel tables exercise | Import and link tables from 4 different data sources
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.
You can learn how to do this exercise on the relevant Wise Owl classroom training course (sadly for the moment only in the UK).
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 a simple exercise: just create a pivot table showing the number of stores in each region!
What could possibly be difficult about that? Well, unfortunately the gods of misfortune have blown on our tables, and scattered them into four different types of data source: a linked Excel table, an imported Excel workbook, an Access database and a Word document.
Open the workbook called Stores in the above folder. Use the PowerPivot tab to add this table to your data model:
Now rename your table in the PowerPivot data model.
Next, go into Word and open up the document called Regions in the above folder. Copy the table of regions, and paste it into PowerPivot to get a second table:
Looking at these tables, you can't tell they come from completely different formats.
Now use the option shown below to import the table called tblCentre from the Access database called Geography:
Use this option in PowerPivot to import the required table. You don't need to type in a user name or password.
Finally, use this option to import a table of towns from the Excel workbook called Towns in the above folder, using this option:
Scroll down to the bottom to find Excel!
You should now be able to create relationships in Diagram View between the tables, to get the following field list for an Excel pivot table:
The field list in Excel, with unnecessary tables and columns hidden.
You can now use this to create the following pivot table:
The number of stores for each region.
Save this as Counting stores, and then have a think about how you could use this amazing tool back in your office!