aao bi portfolio

41
Al Ottley Business Intelligence Professional [email protected] www.linkedin.com/in/ aaottley Colorado Springs, CO 719 306 2495 Business Intelligence Portfolio © Al Ottley 2009

Upload: al-ottley

Post on 23-Jan-2015

644 views

Category:

Technology


0 download

DESCRIPTION

Numerous samples of the work that I did during the SetFocus BI Master's Program.

TRANSCRIPT

Page 1: AAO BI Portfolio

Al Ottley

Business Intelligence Professional

[email protected]/in/

aaottley

Colorado Springs, CO

719 306 2495

Business Intelligence Portfolio

© Al Ottley 2009

Page 2: AAO BI Portfolio

Overview Transact SQL (T-SQL) Dimensional Data Modeling SSIS (SQL Server Information Services) SSAS (SQL Server Analysis Services) MDX (Multi Dimensional eXpressions) Calculated Members and KPIs Excel 2007 and OLAP SSRS (SQL Server Reporting Services) Performance Point Services (PPS) SharePoint (SP/MOSS) Services Experience Summary

Table of Contents

2© Al Ottley 2009

359111620232729323641

Page 3: AAO BI Portfolio

Introduction: This portfolio contains many examples of my developmental skills working with all aspects of the Microsoft Business Intelligence Toolset.

Core Technologies Covered: Microsoft (MS) SQL Server 2005, T-SQL and MDX Queries MS Office Visio 2007 MS SQL Server 2005 Integration Services (SSIS), Analysis

Services (SSAS), Reporting Services (SSRS) and BIDS

(Business Intelligence Development Studio) MS Office Performance Point Server (PPS) and Dashboard

Designer MS Office SharePoint (SP) Server 2007 (MOSS)

Audience: Business Executives and Partners IT Directors and Project Managers IT Professionals, Colleagues and Peers BI and DW Analysts, Designers and Implementers

Overview-Introduction

© Al Ottley 2009 3

Page 4: AAO BI Portfolio

Project Goals: Design a Star Schema data model using Visio, both fact and related

dimension tables—based on requirements and RDBMS tables. Create a Staging Database, using Visio and the DDL created. Create an ETL solution with SSIS, to update and modify the SQL

Server 2005 staging database—Excel spreadsheets, flat files and relational tables are the data sources.

Create a star schema Analysis Services Cube, with SSAS—the staging DB is the data source.

Write appropriate MDX queries, define Calculated Members and business KPIs, with SSAS, to support requirements and implementation best practices.

Use Excel Services 2007 to display cube measures, dimensions and KPIs, displaying various KPI statuses and trends.

Produce detail and summary reports using Excel Services and SSRS.

Create scorecards, reports and dashboards with MS Office Performance Point (MOSS).

Centralize dashboards, scorecards and reports using SharePoint Services.

Overview-Project Goals

© Al Ottley 2009 4

Page 5: AAO BI Portfolio

Transact-SQL (T-SQL)

This query joins several tables to show the total Order Amount for each Company, Product Category and Product.

5© Al Ottley 2009

Page 6: AAO BI Portfolio

T-SQL

This multi-join query joins the Item and Reservation tables, with the Title table.

The result set shows which books have less than 15 copies available and for which there have been more than 50 reservations made.

6© Al Ottley 2009

Page 7: AAO BI Portfolio

T-SQL

This query loads a Date Dimension table, containing keys for proper ordering, descriptions for display purposes. Initially, this data will be part of an SSIS Staging DB and later part of an OLAP Cube. 7© Al Ottley 2009

Page 8: AAO BI Portfolio

T-SQL

This T-SQL Query, after various Staging Dimension Tables have been loaded, determines the Primary Keys and two Date Attributes that are required for a related Fact Table.

To find the correct Fact Table PKs, Business Keys (BKs) are matched on the appropriate Dimension table.

BKs were used in this case, as integer comparisons are much quicker than string comparisons.

8© Al Ottley 2009

Page 9: AAO BI Portfolio

Dimensional Data ModelingThese two Databases are the source DBs used in the design process for the Fact and Dimensional tables, first used in the Staging area and ultimately the OLAP Cube. The final design, based on business requirements, is seen on the next slide.

These DB diagrams were created from SSMS; not all of the relationships were captured automatically. The PrimaryCategories table is actually related to the PrimarySubBridge table, via the PrimaryCategoryID and PrimaryCategoryKey fields.

9© Al Ottley 2009

Page 10: AAO BI Portfolio

Dimensional Data ModelingThis is the final DB design for the Fact and Dimension tables, based on the source DBs and Business Requirements.

DDL, created during the staging DB design process in Visio, will actually be used to create these tables in a Staging DB.

Once data is cleansed and loaded into the staging area, via SSIS, this staging area will become the basis for the SSAS OLAP Cube.

10© Al Ottley 2009

Page 11: AAO BI Portfolio

SSIS (SQL Server Integration Services)

This is a “Master Package”, executing all the other packages in the Project--each loads a portion of the staging DB, later used to create the SSAS OLAP Cube.

The following two slides (12 and 13) show additional packages in this project. A third slide (14) shows a script that keeps track of running totals of Employee time sheets processed and other statistics.

11© Al Ottley 2009

Page 12: AAO BI Portfolio

SSIS

12© Al Ottley 2009

Page 13: AAO BI Portfolio

SSIS

13© Al Ottley 2009

Page 14: AAO BI Portfolio

SSIS

14© Al Ottley 2009

Page 15: AAO BI Portfolio

SSISThis is the Expression Editor and Properties page, which in this case, are used to compose and prepare an e-mail notification when all of the Employee Time Sheets have been successfully processed.

Parameters and variables help in automating the message notification process.

15© Al Ottley 2009

Page 16: AAO BI Portfolio

SSAS (SQL Server Analysis Services)

The resulting SSAS OLAP Cube created from a Staging DB source.

16© Al Ottley 2009

Page 17: AAO BI Portfolio

SSAS

Here, two Dimension Hierarchies are created, within this particular dimension.

With Hierarchies, access to various levels, at report time, is easily accomplished, drilling up and down at will.

17© Al Ottley 2009

Page 18: AAO BI Portfolio

SSAS

Using the Hierarchy Browser allows you to see the values of each level of a defined hierarchy made during design time, in this case the Division Hierarchy.

When defining the hierarchy, parameters are modified so that more descriptive “names” are used, rather than the keys, which are typically

used for ordering. This allows for a more “natural” and meaningful way to see the data.

“Codes” in an OLAP cube will never be seen by anyone looking at reports, based on such a cube. All reporting values are descriptive and take on a definite meaning.

18© Al Ottley 2009

Page 19: AAO BI Portfolio

SSAS

Here, we are using the Cube Browser in BIDS to “look” into the Cube, with the defined Division Hierarchy on the rows and Year Quarters on the columns.

Drilling down to various levels is easily done, using Hierarchies, showing various Cube Measure

values at each level, which will automatically aggregate as the hierarchies are drilled down and up.

This allows one to see data (measures), and the corresponding aggregations, at any level of detail that is important to them.

19© Al Ottley 2009

Page 20: AAO BI Portfolio

MDX (Multi-Dimensional eXpressions)

Defined Members are used to give additional “information” and “value” to the MDX query results.

They are also used to help simply MDX queries and allow the reuse of defined members in several places.

20© Al Ottley 2009

Page 21: AAO BI Portfolio

MDX

The IIF (Immediate IF) function is used here to check that the divisor is not equal to zero. If this is the case, the function will return, in this case, “N/A”.

21© Al Ottley 2009

Page 22: AAO BI Portfolio

MDX

This MDX query is more complex in that only where data values exist, should they show up in the result set.

The Filter function, in each defined member, ensures that data exists, before summing values in each defined member.

22© Al Ottley 2009

Page 23: AAO BI Portfolio

Calculated Members and KPIs

This is a Calculated Member, defined in BIDS, that will later be used in a KPI.

Notice the use of the IIF function, again to check for divisors that may be zero.

23© Al Ottley 2009

Page 24: AAO BI Portfolio

Calculated Members and KPIs

This is a KPI that uses the Calculated Member, from the previous slide. As part of the KPI is a Goal and an Expression that will determine “how close” a value is to a specified goal and to show, in this case, which traffic light will show up, based on “rules” in the expression.

24© Al Ottley 2009

Page 25: AAO BI Portfolio

Calculated Members and KPIs

This is a second Calculated Member that defines the Percent Increase in Overhead.

Two IIF functions are used here. The first, based on a business rule, checks to see if the Previous Quarter % is zero; if it is, make the value 1 (100%). The second checks to see if the divisor is zero.

25© Al Ottley 2009

Page 26: AAO BI Portfolio

Calculated Members and KPIs

This is the corresponding KPI to the Calculated Member from the previous slide. This KPI will show, on a Dashboard, in a simple graphical format, the status of the Percentage Increase in Overhead Cost.

26© Al Ottley 2009

Page 27: AAO BI Portfolio

Excel 2007 and OLAP

Excel 2007 easily allows Pivot Tables to be created. This simple spreadsheet was created by using a SSAS OLAP Cube as a data source, easily

allowing various measures and dimensions to be added and removed, to show values at many hierarchical levels.

27© Al Ottley 2009

Page 28: AAO BI Portfolio

Excel 2007 and OLAP

Once again, using an OLAP data source, it is very easy to create a Pivot Table in Excel 2007. Once the pivot table has been created, it is very simple to create an accompanying chart. The chart uses the data that is currently displayed in the

table. As the filters in the table are changed, reflected changes are seen immediately in the chart. Even though the chart is based on table data, only the chart needs to be deployed to Sharepoint, if desired (see slide 39).

28© Al Ottley 2009

Page 29: AAO BI Portfolio

SSRS (SQL Server Reporting Services)

An SSRS Report containing several report parameters, two of them nested. The MDX query, that drives the report, is shown below.

29© Al Ottley 2009

Page 30: AAO BI Portfolio

SSRS

This SSRS Report uses cascading parameters, so that selecting a given Employee, only week ending dates where that employee actually worked are available for subsequent selection.

This report also lists and sums the hours worked for each week and each job, for the selected employee.

30© Al Ottley 2009

Page 31: AAO BI Portfolio

SSRS

Performance Point Server can easily use KPIs. It is also possible to use “KPIs” in Reporting Services.

This is done by using KPI-like images and using conditional expressions, based on data values, as when to display each KPI indicator.

31© Al Ottley 2009

Page 32: AAO BI Portfolio

Performance Point Services (PPS)

This is the basic design template for a KPI scorecard, as is typically developed in PPS.

This simple template will later be used in a full-blown KPI scorecard, showing Product Categories on the Rows and Yearly Quarters on the Columns.

The template will replicate itself as many times as is necessary (slide 37).

32© Al Ottley 2009

Page 33: AAO BI Portfolio

PPSThis is one of two supporting charts for the scorecard, based on the KPI created in the previous slide. In the final Scorecard, there will be two “hot links” to bring up the appropriate chart.

33© Al Ottley 2009

Page 34: AAO BI Portfolio

PPSHere is where all of the elements are brought together for the final scorecard, including the KPI template, the two supporting charts, parameters and filters.

34© Al Ottley 2009

Page 35: AAO BI Portfolio

PPS

This is an MDX query for another report, which is the primary driver for the resulting report. It also contains a employee parameter, which is selected at runtime.

This report will be seen in the SharePoint section of this portfolio (slide 38).

35© Al Ottley 2009

Page 36: AAO BI Portfolio

SharePoint Services (SP)

Share Point is a web based service that is most commonly used to store various types of business reports in a centralized location, for easy access by many employees.

Reports can be deployed to SP from a number of sources: SSRS, Excel and Performance Point. Many other types of collaborative documents may also be stored in

SharePoint, including Word documents and Excel spreadsheets. Also, reports can be scheduled for delivery by a subscription process.

Access to items may be limited by the use of Roles, so that everyone that is using Reports and Documents in SharePoint only sees them on a need to know basis.

36© Al Ottley 2009

Page 37: AAO BI Portfolio

SP

The is the final Scorecard and one of the two Supporting Charts that were created in PPS (some of the elements were shown in earlier slides). It was then deployed to SharePoint.

The hotlink that brought up this supporting chart is on the left, the “Sales Growth %” row header.

37© Al Ottley 2009

Page 38: AAO BI Portfolio

SP

The chart above is the result of the MDX query that was shown in an earlier slide (slide 35), defined in PPS.

The entire Dashboard, the chart and a supporting table, was deployed from PPS to SharePoint.

38© Al Ottley 2009

Page 39: AAO BI Portfolio

SP

This chart, along with a related table, was originally created in Excel 2007 (slide 28), using an OLAP data source.

The Excel chart, but not the associated table, was deployed to

SharePoint via Excel Services. The chart still functions as it did in Excel.

Parameters were set up in SP to use the same parameters as were originally used in the original Excel table and chart.

39© Al Ottley 2009

Page 40: AAO BI Portfolio

SP

This is an SSRS report (see slide 30) deployed directly into SharePoint, without any modification to the parameter dropdown lists. They still function as they did in SSRS.

Additional effort is required to use the SP-styled dropdowns. Even deploying Excel reports to SP and using SP-styled dropdowns is much easier.

40© Al Ottley 2009

Page 41: AAO BI Portfolio

18 years of varied Information Technology experience. Microsoft Business Intelligence: SQL Server 2005 Integration

Services (SSIS), Visio, T-SQL Queries, Analysis Services (SSAS), MDX Queries, Reporting Services (SSRS), Excel with OLAP, Excel Services, Performance Point Server (PPS/MOSS) and SharePoint (SP) Server.

Experience with MS SQL Server 2008: SSIS, SSAS, SSRS, MDX, T-SQL.

Unified Data Modeling: from Logical/Physical to Star/Snowflake. Experienced, insightful and results oriented Information

Technology professional with many notable successes in the Telecommunications Business: Business Marketing and Call Traffic Settlement initiatives.

Extensive participation and contribution to the development and implementation of specific client based solutions: supporting various business objectives and requirements.

Hands-on experience in various stages of systems development: requirements gathering, analysis and design, architecture, testing and support.

Motivation and guidance to other team members, for consultation and to facilitate timely project completion.

Extensive IBM mainframe (Z/OS) and midrange (UNIX) experience, with a variety of DBMS back ends: DB2, Oracle, Sybase, Informix and MS-SQL Server.

Experience Summary

© Al Ottley 2009 41