EXERCISE TOPIC▼
POWER BI EXERCISES▼
POWER BI EXERCISES▼
- Basic reports (10)
- Data sources (2)
- Query editor (8)
- Multiple tables (1)
- Filtering data (9)
- Drill-through filtering (1)
- Bookmarks (4)
- Charts (10)
- Other types of visualisation (1)
- Overview of maps (6)
- Calculated columns (7)
- Introduction to DAX (3)
- Creating measures in DAX (1)
- Calendars (2)
- Date functions (2)
- Roles and security (1)
- Advanced data models (4)
- Drill-through and bookmarks (3)
- Custom visuals (3)
- Parameters (5)
- Quick measures (3)
- Report themes (2)
- Power BI mobile (1)
- Power BI Templates (1)
- Tooltips (2)
Power BI | Parameters exercise | Use parameters to decide which Excel workbook playlist to load
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 if you attend the course listed below!
Software ==> | Power BI (92 exercises) |
Version ==> | Latest update |
Topic ==> | Parameters (5 exercises) |
Level ==> | Harder than average |
Course ==> | Advanced Power BI |
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.
Create a new Power BI Desktop file, and load data from the Anyone.xlsx workbook in the above folder. After a bit of tidying, you should be able to create this table:

A playlist surely acceptable to anyone?
In Power BI Desktop, create two parameters:
Name | Contents |
---|---|
FilePath | The folder path to where your Excel files are stored |
Playlist | The name of the Excel workbook to load (including file extension) |
Note that the rest of this exercise only works because the 3 workbooks in the above folder have got identical worksheet names and column headings.
Now edit the settings for your first (Source) query step so that it loads data from a file whose path and name are contained in your parameters:

You'll need to choose Advanced, as here, and then complete the rest of the dialog box.
Set the value of your two parameters to the path and name of the Toddlers workbook. When you go back to your report, you should see an altogether classier playlist:

The purple dinosaur wows them every time with this little number.
Save this workbook as Wiggle room, then close it down.