POWER BI EXERCISES▼
POWER APPS EXERCISES▼
Power Apps | Dropdowns, etc exercise | Create dropdowns to allow a user to list selected billionaires
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!
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 canvas app (it doesn't matter whether it's portrait or landscape), and save it as Follow the Money.
The table of data we'll work with.
Add a data source to your app, linked to the Billionaires table in the Excel workbook shown at the top of this page.
Create a drop down control allowing you to choose the nationality of person you're looking for:
You should set the default value of your dropdown control to blank (you'll need to set the AllowEmptySelection property of the control to false to allow this).
Combine the Sort and Distinct functions to pick out the unique nationalities and display them in alphabetical order.
Add a second dropdown which shows the industry types for the country chosen in the first dropdown, sorted alphabetically:
For this you'll need to use the Sort, Distinct and Filter functions.
Finally, add a dropdown allowing you to choose the man you want to look after in his old age:
It's got to be Bill!
Add a message showing the wealth of the person you've chosen for your date (although obviously you're not doing this for the money):
Show the name and wealth of the person chosen.
When you're happy your app is working correctly, save it and close it.