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
548 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 ==> | SSIS Integration Services (28 exercises) |
Topic ==> | Conditional split transforms (5 exercises) |
Level ==> | Harder than average |
Subject ==> | SSIS 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.
The aim of this exercise is to produce a text file showing the Brexit voting figures, with the largest differences between leave and remain votes coming first:
Dudley (shown highlighted) was the leave area with the highest absolute difference in votes between leave and remain, but it was only 6th in order of absolute difference in votes cast.
To do this, you'll need to derive the Status column shown above, and also calculate the absolute difference and sort by this.
If you're feeling brave, you could continue without turning the page for help!
Here's what the final package could look like:
A suggestion for how to solve this problem - a guide to each step follows.
Here's what each step could do:
Step | What it could do |
---|---|
1 | Import the Excel workbook contained in the folder at the top of this exercise. |
2 | A conditional split to determine if the leave votes exceeded the remain ones. |
3 | A derived column transform to create a new field called Status, and set it to Leave. |
4 | A derived column transform to create a new field called Status, and set it to Remain. |
5 | A Union All transform to unite leavers and remainers (if only it were that simple). |
6 | Use the ABS function in a derived column transform to work out the difference between leave and remain votes, ignoring any sign. |
7 | Sort by this newly calculated column. |
8 | Send the output to a new flat file. |
When everything's working, close down the package and reminisce nostalgically about the good old days.
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.