rodney matejek portfolio

39
MS Business Intelligence Portfolio Rodney Matejek [email protected] (732) 940 7678

Upload: rmatejek

Post on 05-Jul-2015

273 views

Category:

Documents


1 download

DESCRIPTION

A portfolio of the work that I did enrolled at SetFocus

TRANSCRIPT

Page 1: Rodney Matejek Portfolio

MS Business IntelligencePortfolio

Rodney Matejek

[email protected]

(732) 940 7678

Page 2: Rodney Matejek Portfolio

Table of Contents

Project Overview…………………………………………………………………… Page 3

SSIS Overview …………………………………………………………………………………. Page 4

SSIS Detail ……………………………………………………………………………………… Page 5

SSAS Overview ………………………………………………………………………………. Page 13

SSAS Detail …………………………………………………………………………………... Page 14

SSRS Overview ………………………………………………………………………………. Page 24

SSRS Detail …………………………………………………………………………………… Page 25

Page 3: Rodney Matejek Portfolio

Project Overview

Introduction: This portfolio showcases my skills in the Microsoft Business Intelligence arena. It is the results of my participation in the SetFocus BI Masters program. What is seen here is the results of the labs done as part of the training.

SetFocus utilizes Microsoft Official Curriculum in conjunction with its own materials. The core technologies covered are:

• Microsoft SQL Server 2008 T-SQL • Data Warehousing Concepts • Microsoft SQL Server 2008 Integration Services (SSIS) • Microsoft SQL Server 2008 Analysis Services (SSAS) • MDX Queries • Microsoft SQL Server 2008 Reporting Services (SSRS) • Business Intelligence with SharePoint and Performance Point Server

Page 4: Rodney Matejek Portfolio

SSIS Overview

SSIS detail goals: Design and build a SQL Server 2008 relational database to track employee and customer information, timesheet and labor rates data, as well as job order information, job materials, and customer invoices. Specific milestones for this effort include the following:

• Create packages to transfer data from different raw data sources (XLS, CSV, and XML) into a SQL Server 2008 database.

• Schedule packages nightly to import/update any additional information.• Convert the input data into SQL Server data types.• Create calculated values to be included when needed.• Perform validation to detect errors (e.g. child records with invalid parent records).• Determine if the input values require the insert of a new row or update of existing columns.• Generate emails with results including number of rows inserted and updated.• Create a separate package to re-index and shrink the database, as well as perform nightly backups of the

database.

Page 5: Rodney Matejek Portfolio

The design of the relational database that will hold the data processed in the SSIS project.

Page 6: Rodney Matejek Portfolio

Master package for the execution of individual packages that perform ETL processes.

Requirement: Design a process flow to load the tables in the least amount of time.Solution: Load the tables concurrently setting up the jobs to allow for the parent / child relationships in five steps.

Page 7: Rodney Matejek Portfolio

Master package execution conclusion:

• Database maintenance tasks.• File maintenance tasks moved the input files out of the processing directory and into an archived directory. • Email notification of the process’s success or failure was then sent to appropriate staff.

Page 8: Rodney Matejek Portfolio

Sample input file process: Employee time sheets. • Process multiple input files with a “Foreach Loop” container. • Variables were defined here to accumulate total number of rows processed and bypassed for every input file.

Page 9: Rodney Matejek Portfolio

ETL process for Employee Time input.

• Convert data in SQL data types.• Validate referential constraints in parent tables, bypass input row if invalid.• Validate business rule concerning input work date, bypass input row if invalid.• Determine if insert or update is needed.

Page 10: Rodney Matejek Portfolio

Employee Time ETL process continued• Inserting or updating as required.• Insert and update row counts were made and passed to the control flow tab.

Page 11: Rodney Matejek Portfolio

Additional ETL process sample for Invoice data:• Derived column tasks that eliminated nulls from the input file. • Lookup task to get the client number from the Project Master table for this invoice row.

Page 12: Rodney Matejek Portfolio

Invoice ETL process conclusion:• Insert or update the row as needed.• Compile row counts for the process.

Page 13: Rodney Matejek Portfolio

SSAS Overview

SSAS detail goals: Create a data warehouse and build analysis package solutions using Analysis Services, setting the data warehouse from the SSIS lab as the data source. The Analysis Services project will accomplish the following goals:

• Using BIDS, create an Analysis Services solution using the newly created SQL Server 2008 database.• Create a custom data view, build a cube with fact tables and dimensions, create attributes and

hierarchies.• Create calculated measures and set up key point indicators (KPIs) to analyze and measure the profitability

and costs.• Write a series of MDX queries to provide data for business decisions.

Page 14: Rodney Matejek Portfolio

Cube Structure:The solution includes four fact tables, five dimensions for the cube, and a role playing dimension.

Page 15: Rodney Matejek Portfolio

Cube dimension usage:Showcasing the affiliations of the measure groups to the dimensions.

Page 16: Rodney Matejek Portfolio

Dimension Designing:Structure and attributes of a sample dimension.

Page 17: Rodney Matejek Portfolio

Sample TSql code used to load the FactLabor measure. This process includes the following:• Encapsulated business rules governing the definition of hourly rate, and labor costs.• Data maintenance for the weekend date derived from the work date.

Page 18: Rodney Matejek Portfolio

Developing Named Sets and Calculated Members for the cube.

Page 19: Rodney Matejek Portfolio

Partitions developed for the cube:Dividing the data between elements dated prior to, and after 2005.

Page 20: Rodney Matejek Portfolio

Perspectives for the cube.

Page 21: Rodney Matejek Portfolio

KPIs developed for the cube.

Page 22: Rodney Matejek Portfolio

KPI used in an Excel report.

Page 23: Rodney Matejek Portfolio

Sample MDX code.

With Member [Pct of Change] as([Measures].[Overhead Cost] * [Dim Date].[Quarter Name].&[20054] -[Measures].[Overhead Cost] * [Dim Date].[Quarter Name].&[20053]) / ([Measures].[Overhead Cost] * [Dim Date].[Quarter Name].&[20053]) , format_string = 'percent'

select [Dim Date].[Quarter Name].&[20053]:[Dim Date].[Quarter Name].&[20054] *{[Measures].[Overhead Cost], [Pct of Change]} on columns, [Dim Overhead Type].[Overhead Type].members on rows

from [All works dw]

Select [Measures].[Purchase Cost] on columns ,non empty ([Dim Material Type].[Material Type].children) * ([Dim Project].[Client Name].children) on rowsfrom [All Works DW] where [Dim Date].[Year Key].&[2005]

With Set [Contractors] asFilter ( [Dim Employee].[Employee Name].members , [Dim Employee].[Employee Flag].&[False])

Select {[Measures].[Hours] , [Measures].[Labort Cost]} on columns, [Contractors] on rows

from [All Works DW]

where [Dim Date].[Year Key].&[2005]

Page 24: Rodney Matejek Portfolio

SSRS Overview

SSRS detail goals: Create reports using SQL Server Reporting Services, MOPS Dashboard Designer, Excel, and display them in SharePoint.

• KPI Scorecard report with supporting Analytic Charts.• Analytic Sales Chart report as a Product Pct of Parent with supporting Analytic Grid.• Analytic Chart for Employee Pct of Sales Quota.• Reporting Services Sales Map report with supporting chart.• Reporting Services Sales Matrix.• Reporting Services Sales Analysis with analytic chart with supporting analytic grid, pyramid chart with

supporting analytic grid.• Excel Sales report with slicers.• Generated SSRS reports for Top Ten selling stores for auto delivery to specific users.

Dashboard Sample

Page 25: Rodney Matejek Portfolio

PerformancePoint content created for use in the dashboard.

Page 26: Rodney Matejek Portfolio

Additional PPS content

Page 27: Rodney Matejek Portfolio

KPI Scorecard basic design with supporting Analytic Charts.

Page 28: Rodney Matejek Portfolio

KPI Report assembled in PPS• KPI report on left.• Supporting reports stacked on

the right.

KPI Report Finished report in the dashboard.

Page 29: Rodney Matejek Portfolio

Analytical Chart design for the Product Pct of Parentchart, built in PPS.

MDX code used to build the report, accepting values from parameters for row and column values.

Page 30: Rodney Matejek Portfolio

Finished Product Pct of Parent Chart report in SharePoint dashboard • Filters for date and product category. • Supporting product sibling analytical grid report below the chart.

Page 31: Rodney Matejek Portfolio

Employee Pct of Sales Quota profile chart using Employee Org list, and Fiscal Year input filters.

Assembling the report in dashboard designer.

The finished report in SharePoint.

Page 32: Rodney Matejek Portfolio

SSRS Sales Map assembled in PPS.

Reporting Services Sales Map design with supporting chart.

Page 33: Rodney Matejek Portfolio

Sales Map report in the dashboard .• Showcasing a hot tip information for each state.

Page 34: Rodney Matejek Portfolio

Reporting Services Sales Matrix report:Utilizing various measures related to the Product dimension, but not to each other.

Sales Matrix Report design with column and row groups.

Sales Matrix Report brought into PPS.

Page 35: Rodney Matejek Portfolio

Reporting Services Sales Matrix Report as shown in SharePoint Dashboard.

Page 36: Rodney Matejek Portfolio

Excel Sales with Slicers report, built in Excel, and sent to SharePoint.

Page 37: Rodney Matejek Portfolio

The Excel Report in SharePoint dashboard.

Page 38: Rodney Matejek Portfolio

Reporting Services Top Ten Stores by State report. A subscription based report for specific states, stored in PPS site collection.

Page 39: Rodney Matejek Portfolio

Top Ten Stores report executed.