Power Automate Desktop | Loops exercise | Compare two lists of Grand Prix circuits and show differences

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.

Software ==> Power Automate Desktop  (18 exercises)
Version ==> Latest version
Topic ==> Loops  (3 exercises)
Level ==> Harder than average
Subject ==> Power Automate training
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

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.

The workbook in the above folder contains two lists of Grand Prix circuits for Formula 1 (thanks, Wikipedia): one list for 2020 and one for 2021.  Your task is to create a text file listing those circuits included in the 2020 race calendar but not the 2021 one:

Final output

This is what the final text file produced should look like.


You can have lists of lists: so you could loop from 2020 to 2021 getting a list of the circuits for each year, and for each year you could add this list of circuits to a master list of lists of circuits.  You could then use the Subtract lists action to compare the first and second list stored in your master list!

To get this working, create a flow called Compare list of GP circuits.  When your flow is working perfectly, save it and close it down. 

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only. Our Power Automate exercises answers are provided as text files - you can see how to assemble these back into PAD flows here.
This page has 0 threads Add post