28
Business Intelligenc e Portfolio (267) 254- 9527 Patrick Lee Loy [email protected]

Business Intelligence Portfolio

  • Upload
    pleeloy

  • View
    1.978

  • Download
    2

Embed Size (px)

DESCRIPTION

Examples of project work done with TSql, SSIS, SSAS, SSRS, MDX, Sharepoint, Excel Services, MOSS

Citation preview

Page 1: Business Intelligence Portfolio

BusinessIntelligence

Portfolio

(267) 254-9527

Patrick Lee [email protected]

Page 2: Business Intelligence Portfolio

Table of ContentsProject Overview 3

T-SQL 5

SQL Server Integration Services (SSIS) 8

SQL Server Analysis Services (SSAS) 12

MDX Samples 19

Excel Services and KPIs 20

SQL Server Reporting Services (SSRS) 21

Share Point and Performance Point Server (MOSS/PPS) 25

General Info 28

Page 3: Business Intelligence Portfolio

Project OverviewIntroduction

This portfolio contains a small sample of projects completed with over 500+ hours of work in an intense hands-on training using the following Microsoft technologies.

Core Technologies Covered Microsoft SQL Server 2005 T-SQL Microsoft SQL Server 2005 MDX Microsoft SQL Server 2005 Integration Services (SSIS) Microsoft SQL Server 2005 Analysis Services (SSAS) Microsoft SQL Server 2005 Reporting Services (SSRS) Microsoft Office SharePoint Server 2007 (MOSS) Microsoft Office Performance Point Server (PPS)

The purpose of this portfolio is to demonstrate the depth of the project work which approximates to more than 2 years of work experience in Business Intelligence.

Page 4: Business Intelligence Portfolio

Project OverviewSummary

Design and build a complete Business Intelligence solution from three different data sources. The data will be validated and integrated into a SQL Server 2005 database to track employee and customer information, timesheet and labor rates, job order info, job materials info and customer invoices.

Goals Define a Star Schema with 4 fact tables using Visio Create a staging database using Visio Create an ETL solution to load SQL Server from the three data sources using SSIS Create an OLAP cube using Analysis Services (SSAS) Create required hierarchies and partitions and define calculated members and KPIs on the cube Write custom MDX queries based on requirements Use Excel Services to display cube data and KPIs status and trends Create parameterized reports and charts using SSRS and MS Excel Create Score cards, dashboards with filters using MS Office Performance Point Server Publish dashboards, reports and charts to SharePoint

Page 5: Business Intelligence Portfolio

T-SQL Samples T-SQL provides a means of extracting data from the relational database. Many of the queries were designed to verify the load process and to ensure the accuracy of the data within the various tables.

Page 6: Business Intelligence Portfolio

T-SQL Samples

Page 7: Business Intelligence Portfolio

T-SQL Samples

Page 8: Business Intelligence Portfolio

SSIS – Integration ServicesMicrosoft SQL Server Integration Services (SSIS) is a platform for data integration and workflow applications that can be used to perform a broad range of data migration tasks. It features a data warehousing tool used for data extraction, transformation and loading (ETL). The tool may also be sued to automate maintenance of SQL Server databases and updates to multidimensional cubes. SSIS replaces Data Transformation Services (DTS) with version 2005.

Project requirements: Create packages to transfer data from different data sources (normalized and non-normalized) Perform data load to MS SQL Server 2005 Validate data to detect errors Generate emails on success/failure including the count of rows inserted, updated and invalid Create package to backup, shrink, rebuild index of the database Deploy the package to SQL Server 2005 Use SQL Agent Job in SQL Server Management Studio (SSMS) to schedule the package to run nightly to import and update any new data and to backup, shrink and rebuild the indexes of the database.

Page 9: Business Intelligence Portfolio

SSIS – Integration ServicesThe control flow is the workflow engine that contains workflow tasks, containers and precedence constraints which manage when tasks and containers are executed.

This control flow shows the steps to insert or update the time sheets in the SQL Server database. Errors are written to a flat file which is deleted at the start of each run. An email containing a summery of rows added, updated and rejected is sent at the end of the run.

A Script task is used to total all the new, updated and rejected records from all the files.

The arrows represent the path taken. The container shows that all files in the Time Folder are processed before the last task to email the summary of the load is executed.

Page 10: Business Intelligence Portfolio

SSIS – Integration ServicesThe data flow shows the process of retrieving the data from a data source, validating the data, transforming the data and saving the data to different data destinations.

This data flow shows the steps to retrieve, validate and transform the data. The data is then filtered to either inserted into the table, update the rows in the table. The invalid records are written to a flat file.

Page 11: Business Intelligence Portfolio

SSIS – Integration ServicesThis control flow was created for a Master package which was deployed to SQL Server. A SQL Agent job was created in SSMS to schedule to run this Master package.

Page 12: Business Intelligence Portfolio

SSAS – Analysis ServicesMicrosoft SQL Server Analysis Services (SSAS) is the multidimensional online analytical processing (OLAP) component. It integrates relational and OLAP data for BI analytical solutions for data mining. It is used to design, create, and manage multi-dimensional structures that contain data aggregated from other data sources. The multidimensional OLAP provides both pre-calculated aggregation of business measures for improved query performance and complex calculation capabilities.

Project requirements: Create an SSAS database (cube and dimensions) with 4 fact tables and define yearly partitions Write MDX queries Create 5 KPIs in Excel

Page 13: Business Intelligence Portfolio

SSAS – Analysis Services

This project required that the database be restored from a backup. A data source view (DSV) was created. In the DSV, new relationships were created to facilitate creating a cube with hierarchies.

Page 14: Business Intelligence Portfolio

SSAS – Analysis Services

The wizard was used to create the cube and dimensions. The cube contained 4 fact tables with 5 dimensions. A check was made to ensure that hierarchies existed. A test was also done to ensure that all levels display the name instead of the key.

Page 15: Business Intelligence Portfolio

SSAS – Analysis Services

The dimensions were checked against the cube structure.

Page 16: Business Intelligence Portfolio

SSAS – Analysis Services

Calculated members were created to assist with KPIs expressions. Calculated members can also be used in Excel Services, SQL Server Reporting Services

Page 17: Business Intelligence Portfolio

SSAS – Analysis Services

Key Performance Indicators (KPIs) are designed to give the end user a quick graphical view of how their numbers compare to goals and trends. This KPI was created to display a traffic light based on comparisons from the previous year.

Page 18: Business Intelligence Portfolio

SSAS – Analysis Services

Partitions make it possible to create extremely large cubes. The partition can have various modes depending on usage requirements. A partition can also be processed independent of the rest of the cube. Partitions were created to split work done before and after 2006.

Page 19: Business Intelligence Portfolio

MDX Example

MDX queries were created against the cube.

Page 20: Business Intelligence Portfolio

Excel Services and KPIs

Excel Services was used to connect to Analysis Services cube. A pivot table was used to create a report with the calculated members and KPIs.

Page 21: Business Intelligence Portfolio

SSRS – Reporting ServicesSQL Server Reporting Services (SSRS) is a full featured report writer and rendering engine that can be used to create, execute and deliver reports, tables and charts that summarize and illustrate the data stored in Microsoft SQL Server and OLE DB data sources. The reports created can be deployed to a web server.

Project requirements: Create 2 SSRS Reports. One report will have an automatic shared schedule in SharePoint

Page 22: Business Intelligence Portfolio

SSRS – Reporting Services

This report was built combining 3 tables. The user picks an instructor. The courses and course dates are then filtered to show only the courses taught by the instructor who was picked.

Page 23: Business Intelligence Portfolio

SSRS – Reporting Services

This is the layout of the report. This report was built combining 3 tables. The user picks an instructor. The courses and course dates are then filtered to show only the courses taught by the instructor who was picked.

Page 24: Business Intelligence Portfolio

SSRS – Reporting Services

Custom MDX query for the chart on the previous slide to create parameter list (course names) after the instructor is picked.

Page 25: Business Intelligence Portfolio

MOSS and PPSMicrosoft Office SharePoint Server (MOSS) allows users to create various solutions such as Collaborative solutions, Portal solutions, Content Management solutions, Search solutions, Forms solutions and Business intelligence solutions.

Performance Point Server (PPS) allows users to monitor, analyze and plan. Users can monitor organizational performance and take action. There is powerful visual and analytical reports that make it easy to understand complex information faster. User can continuously contribute to and interact with the planning, budgeting and forecasting process.

Project requirements: Create a SharePoint location with 4 document libraries on the server Create a PPS dashboard with reports contain KPIs and charts with data from the cube Create a PPS dashboard with 3 spreadsheets from Excel Services Deploy the dashboards to the SharePoint location

Page 26: Business Intelligence Portfolio

MOSS and PPS

This report was created in Performance Point Server. The KPIs were created in SSRS. The report was uploaded to a SharePoint site.

Page 27: Business Intelligence Portfolio

MOSS and PPS

Previous report that was created in SSRS was uploaded to the SharePoint site.

Page 28: Business Intelligence Portfolio

General InfoThis portfolio represents a fraction of work done with SQL Server, SSIS, SSAS, SSRS, Excel Services, SharePoint Server and Performance Point Server.

Code and report samples are available upon request.

Patrick Lee Loy

[email protected]

(267).254.9527