Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Software ==> | Power Automate Desktop (18 exercises) |
Topic ==> | Loops (3 exercises) |
Level ==> | Average difficulty |
Subject ==> | Power Automate and PAD training |
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.
This exercise asks you to create a flow to read in the Excel worksheet in the above folder into a data table, loop over its rows and list out those billionaires who are not from the US:
A reasonably up-to-date list of the world's billionaires from Wikipedia. Your trainer is at number 12 on the list (so just not visible).
Here's what this should yield:
This should be the final text file created.
Instructions on how to go about doing this are shown below, although you're welcome to try without them if you're feeling brave!
Create a new flow called Non-US billionaires. Within this create an action to open up the workbook in the folder shown at the top of this exercise.
You only want the rows at the top, so select them and read them in:
One way to do this (as used here) is to mimic what you'd do in Excel: select cell A1, press Ctrl + A to select the contiguous block of data and then read in the selected cells. The Wait command probably isn't necessary.
When reading in the Excel data, don't forget to tick the box saying that your Excel workbook contains column headings.
Now loop over all of the data rows in the data table that you've read in. For each row you can set an intermediate variable to hold the nationality of each billionaire:
Using intermediate variables like this - while not necessary - makes code easier to write (and read).
Still within your loop, write out the name of each billionaire to a text file if the nationality isn't United States.
Test out your flow, and when it's all working save and close it!
You can find other training resources for the subject of this exercise here:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.