32
Hong-Bing Li August 10, 2010 [email protected]

C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Embed Size (px)

Citation preview

Page 1: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Hong-Bing Li

August 10, 2010

[email protected]

Page 2: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Contents SQL Server Integration Services

(SSIS) SQL Server Analysis Services

(SSAS) SQL Server Reporting Services

(SSRS) Performance Point Server (PPS) SharePoint Server(SP) MDX Programming

Page 3 7 13 18 27 30

This portfolio contains examples of my development skills in the Business Intelligence arena.

ContentsContents

Page 3: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

SQL Server Integration Services (SSIS)

3

Page 4: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

A new relational 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

Page 5: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

One SSIS package is created to do ETL for one target table. The following illustrates the data processing within 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.

5

Page 6: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

6

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.

Page 7: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

SQL Server Analysis Services (SSAS)

7

Page 8: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

8

The Development and Deployment of the All Works SSAS Cube Data Source View of the Snowflake Data Schema on right section

Page 9: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

9

Browsing The All Works Cube DataBrowsing The All Works Cube Data

Page 10: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

10

Definition Of Calculated Members

Page 11: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

11

Definition Of Key Performance Indicators (KPIs)

Page 12: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Partitions Performed for the “All Works” Cube

Page 13: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

SQL Server Reporting Services (SSRS)

13

Page 14: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

14

Page 15: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

15

Continued: Primary Dashboard

Page 16: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

16

Page 17: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

17

Whenever users make a selection on the "City" parameter, the cascading parameter "Product SKU" is processed immediately. Its values are filtered dynamically based on two factors: A. Selected cities B. Product SKU with dollar Sales greater than “0 “The technique to implement cascading parameters in SSRS using MDX, which is based on OLAP, is somewhat more complex than that using SQL, which is based on regular OLTP RDBMS.

Page 18: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Performance Point Server(PPS)

18

Page 19: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

19

Large Scorecard with Multiple KPIs and their Hotlinks to a supporting report (Part 1). Right click a KPI, a supporting chart or table will

pop up to the right of the Scorecard, as shown in the next two slides.

Page 20: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

20

Large Scorecard with Multiple KPIs and their Hotlinks to a supporting report (Part 2 with partial Supporting Chart)

Page 21: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Large Scorecard with Multiple KPIs and their Hotlinks to a supporting report (Part 3 with the complete Supporting Chart)

Page 22: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

This dual Y-axis chart created in PPS can be a great tool for data analysis as: 1. Two different types of measures can be analyzed simultaneously against dimensional data on the X-Axis, such as Dollar Sales (left Y-axis) and Product Percent of Parent Sales (right Y-Axis) shown below; 2. These two measures can be broken out further to provide more detail in tables or charts as in the report below where the right Y-Axis measuring Product Percent is further explained by the Product Siblings breakout; 3. Data can be explored at different levels of the Hierarchy family (see the top Product Hierarchy dropdown list) which functions as a filter, allowing one to obtain summary and detail statistics at different levels accordingly and export them to Excel or PowerPoint; and 4. Data points in the chart can be drilled down to various dimensions as demonstrated below, allowing for the creation of additional charts (see chart in next slide) which permit one to investigate the contribution of various factors.

Page 23: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Continued: this chart is generated by drilling down from the previous slide. For example, the 21.32% of health and fitness sales of parents in Aug. 2005 is broken out by region.

Page 24: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

24

Price Line-Chart

Page 25: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

25

Top 5 Cities with Monthly Sales Chart

Page 26: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

26

My Performance Point Server Dashboard Project for Generating Above Reports

Page 27: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

SharePoint Server

27

Page 28: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Employee Labor Report deployed to a SharePoint Server

Page 29: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

Configure Security Settings: give Users/Groups appropriate permissions.

Page 30: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

MultiDimensional Expressions(MDX) Programming

30

Page 31: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

MDX query for the Primary Dashboard MDX query for the Primary Dashboard (Slide 13 and 14 in SSRS Section) (Slide 13 and 14 in SSRS Section)

Page 32: C:\fakepath\ssis ssas sssrs_pps_hong_bingli_v2003

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)