WISE OWL EXERCISES
POWER BI EXERCISES
POWER BI EXERCISES
- Basic reports (4)
- Data sources (2)
- Query editor (2)
- Multiple tables (1)
- Filtering data (4)
- Charts (4)
- Other types of visualisation (1)
- Overview of maps (3)
- Calculated columns (2)
- Introduction to DAX (3)
- Creating measures in DAX (1)
- Calendars (2)
- Date functions (2)
- Drill-through and bookmarks (3)
- Parameters (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.
The answer to the exercise will be included and explained if you attend the relevant Wise Owl course (sadly, only in the UK for now).
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:
|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.