ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (882)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel 2016 (0)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI - Excel 2016 (23)
- Power BI Desktop (26)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (192)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (40)
- SSRS 2016 (33)
- SSRS Reporting Services (53)
- Visual Basic (45)
- Visual C Sharp (65)
- WPF - Visual C# (20)
SSIS INTEGRATION SERVICES EXERCISES
Exercise: Assign rollercoasters a scariness rating using a conditional split
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 answer to the exercise will be included and explained 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 package called Scary coasters, and within this a data flow task. This should have an Excel source, which gets a list of rollercoasters from the workbook in the above folder:
So far, so good!
Now add a conditional split which divides coasters up as follows:
|The Type is Wood and the speed is more than 40 mph||Very scary|
|The coaster is old (opened before 1990) or the Design is not Sit Down||Quite scary|
|All other coasters failing these two conditions||Not scary|
Add three Derived Column transforms, each of which sets a new column called Scariness to a different value:
Also add a Union All transform to reunite the rollercoasters at the bottom, a Sort transform to sort them by the rollercoaster name and a flat file destination to send the results to a new flat file.
Run your package to check that you get 2 scary coasters, 15 quite scary ones and 33 not scary ones, and a text file like this:
Megafobia is the first coaster in alphabetical order with Scariness factor High.
When you're happy your package is working successfully (it's hard sometimes to write exercises without double entendres), close it down.