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
549 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 BI (160 exercises) |
Topic ==> | Advanced data sources (4 exercises) |
Level ==> | Harder than average |
Subject ==> | Power BI 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.
Open the pbix file called Outdated Movies from the above folder, and have a look at the table visual it contains (already created in report view):
The top 10 movies according to Rotten Tomatoes as of 2016.
What we want to do is update this list to show the current top 10 films on the website. The easiest way to do this is to point the M language instructions at a different data source. First connect to the Rotten Tomatoes website:
Since this is a website you may find the answer needs a refresh! As of writing the table we want is Table 2.
Once you have the data, go to the original top 100 table and from the Home tab choose Advanced editor, sadly the old connection won't work but we still get the code:
Copy all the steps from 'Reordered columns' down. We don't want a CSV file - instead we want our web connection!
Open up the Advanced editor for your web connection to the Rotten Tomatoes website:
Paste your M steps in under the already generated code. Remember to add a comma in front of the first line!
Refresh your connection and admire your newly updated list. Sadly there is no short-cut for changing the report visual - you will need to recreate this:
It is also worth ordering the Title (Rank) column using the Rank column.
Optionally save this as Out with the old, in with the new and then close it down.
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.