Ssis ssas sps_mdx_hong_bingli

21
Hong-Bing Li BUSINESS INTELLIGENCE PORTFOLIO [email protected]

Transcript of Ssis ssas sps_mdx_hong_bingli

Hong-Bing Li

BUSINESS INTELLIGENCE PORTFOLIO

[email protected]

Page Contents

3 SQL Server Integration Services (SSIS)

8 SQL Server Analysis Services (SSAS)

15 SharePoint Server 18 MDX Programming

This portfolio contains examples of my business intelligence projects using Microsoft BI Product Stack.

SQL Server Integration Services (SSIS)

3

A new database “All Works” is setup as the staging area for the ETL process. A thorough understanding of the relationships between the tables in the following data diagram is important in determining the sequence of tables to be loaded and in enforcing referential integrity.

4

A Script Task is utilized to maintain multiple sets of variables with scripts in C#, for instance, one for keeping track of row counts of data processed dynamically at the

folder level, one for row counts at the file level.

One SSIS package is created to do ETL for one target table. The following illustrates the data processing within the Job Timesheets package: the data process pipeline starts by extracting data from a CSV file. The data is then conversed, processed and transformed (filter, remove duplicates, lookups, validate) as it passes through the pipeline, and is finally loaded into the target job timesheets table either as inserts or updates. It logs any rows that error out for review and correction. Similarly, seven more packages are generated for seven target tables.

6

7

A Sequence Container is deployed to run the eight ETL packages in sequence based on the relationships between the tables in the “All Works” Database to ensure referential integrity. If the eight packages are processed successfully, data maintenance tasks are performed. A success or failure notice email will be sent out depending on whether the data maintenance tasks are all successfully completed or not.A Master Package is created to contain the Sequence Container, the maintenance tasks and the email notices; then a SQL Server Agent Job is setup to run the Master Package on a predefined schedule to automate the entire data processing procedure.

SQL Server Analysis Services (SSAS)

8

9

The Development and Deployment of the All Works SSAS Cube Data Source View of the Star Data Schema

10

Browsing the All Works Cube Data

11

Definition of Calculated Members

12

Definition of Key Performance Indicators (KPIs)

13

This is an example of a KPI developed from the AllWorks.cube, which is deployed to the Excel Spreadsheet for the end users. All the data in the cube, including all KPIs,

can be explored through the Pivot Table Field List.

Partitions Performed for the “All Works” Cube

SharePoint Server

15

Employee Labor Report Deployed to a SharePoint Server

configure security settings: give users/groups appropriate permissions.

MDX Programming

18

MDX query for the primary dashboard (Slide 15 and 16 in SSRS Section)

This MDX Query shows two measures, Internet Sales Amount and Internet Freight Cost, are sliced against three dimensions:

Date (FY Year), Product and Customer (Country)

---The End---

Hong-Bing Li, February, 2015

Thank you for viewing this presentation!