ALL SOFTWARE EXERCISES
- EXERCISES HOME PAGE (750)
- Access 2010 (66)
- Access VBA Macros (17)
- Advanced VBA (29)
- ASP.NET MVC (0)
- ASP.NET webforms - C# (25)
- ASP.NET webforms - VB (27)
- Excel 2010 (83)
- Excel 2013 (10)
- Excel VBA Macros (37)
- Power BI - Excel 2013 (25)
- Power BI Desktop (0)
- PowerPivot 2010 (26)
- Report Builder 3.0 (42)
- SQL (115)
- SSAS - multidimensional (21)
- SSAS - tabular (29)
- SSIS Integration Services (18)
- SSRS Reporting Services (53)
- Visual Basic 2010 (42)
- Visual C Sharp 2010 (65)
- WPF - Visual C# (20)
SSRS REPORTING SERVICES EXERCISES
- Designing a Simple Report (2)
- Data sources and datasets (1)
- Tables (2)
- Grouping tables (2)
- Expressions (2)
- Parameters (5)
- Indicators (1)
- Gauges (2)
- Matrices (3)
- Charts (2)
- Data bars and sparklines (1)
- Lists (2)
- Subreports (1)
- Revision of expressions (3)
- Variables (3)
- Embedding code (3)
- Basic Custom Assemblies (2)
- Examples of custom assemblies (1)
- Customising reports (2)
- Stored procedures in SSRS (2)
- Parameters using Stored Procedures (2)
- Dropdown parameters (3)
- Multivalue dropdowns (1)
- Improving report navigation (2)
- Linking reports (drilldown) (1)
- Dynamic reports (2)
Exercise: Creating basic expressions
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 Wise Owl 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.
The aim of this report is to create a matrix, showing how many actors there are for each season and month of birth:
The "season" is fairly loosely defined. This shows that more actors are born in the winter (hardly surprising, since by our definition Winter lasts twice as long as Summer).
To do this, first create a report called Thespian Theasons, to include a dataset based on the tblActor table of actors.
Now add two calculated fields to your dataset as follows:
The two new fields we'll create, as explained overleaf.
The two new fields should use expressions as follows:
|BirthMonth||Use the Month function to find the month corresponding to the actor's date of birth.|
|BirthSeason||Use an IIF function to work out the season in which this month occurred: if the month is after 4 and before 9, we'll call it Summer; otherwise, we'll say this is Winter (at the time of writing this exercise, in early July, it's hard to distinguish between the two).|
Use these fields to build a matrix as shown at the start of this exercise:
The matrix you create doesn't have to look as neat as the one shown at the start of this exercise.
Close down your report, saving any changes.