Академический Документы
Профессиональный Документы
Культура Документы
Bill Anton
Prime Data Intelligence
Bus Matrix
What is it?
How does it help?
Examples
Kimball Dimensional DW
Dimensions
descriptive
attributes
E.g. Date, Product,
Location, Customer
GROUP BY
<attribute>,
<attribute>, etc
Fact Table
Measurements associated with a specific business process
Grain: level of detail of the table
Process events produce fact records
Facts (attributes) are usually
Numeric
Additive
Dimension Tables
Entities describing the objects of the process
Conformed dimensions cross processes
Attributes are descriptive
Text
Numeric
Surrogate keys
Less volatile than facts (1:m with the fact table)
Null entries
Date dimensions
Produce by questions
E.g. Date
Dimensions
Fiscal Year
Calendar Year
Fiscal Quarter
Calendar
Quarter
Fiscal Month
Calendar
Month
Fiscal Week
Calendar
Week
Type of Day
Day of Week
Day
Holiday
Attribute Name
Attribute Description
Day
The specific day that an activity took
place.
Day of Week
The specific name of the day.
Holiday
Identifies that this day is a holiday.
Type of Day
Indicates whether or not this day is
a weekday or a weekend day.
Calendar Week
The week ending date, always a
Saturday. Note that WE denotes
Calendar Month
The calendar month.
Calendar Quarter
Calendar Year
Fiscal Week
Fiscal Month
Fiscal Quarter
Fiscal Year
Sample Values
06/04/1998; 06/05/1998
Monday; Tuesday
Easter; Thanksgiving
Weekend; Weekday
WE 06/06/1998;
WE 06/13/1998
January,1998; February,
1998
The calendar quarter.
1998Q1; 1998Q4
The calendar year.
1998
The week that represents the
F Week 1 1998;
corporate calendar. Note that the F F Week 46 1998
The fiscal period comprised of 4 or 5 F January, 1998;
weeks. Note that the F in the data
F February, 1998
The grouping of 3 fiscal months.
F 1998Q1; F1998Q2
The grouping of 52 fiscal weeks / 12 F 1998; F 1999
fiscal months that comprise the
financial year.
Star Schema
CUSTOMER
customer_ID (PK)
customer_name
purchase_profile
credit_profile
address
STORE
store_ID (PK)
store_name
address
district
floor_type
CLERK
clerk_id (PK)
clerk_name
clerk_grade
ERD
ORDER
order_num (PK)
customer_ID (FK)
store_ID (FK)
clerk_ID (FK)
date
PRODUCT
SKU (PK)
description
brand
category
ORDER-LINE
order_num (PK) (FK)
SKU (PK) (FK)
promotion_key (FK)
dollars_sold
units_sold
dollars_cost
PROMOTION
promotion_NUM (PK)
promotion_name
price_type
ad_type
TIME
time_key (PK)
SQL_date
day_of_week
month
STORE
store_key (PK)
store_ID
store_name
address
district
floor_type
CLERK
clerk_key (PK)
clerk_id
clerk_name
clerk_grade
DIMENSONAL
MODEL
FACT
time_key (FK)
store_key (FK)
clerk_key (FK)
product_key (FK)
customer_key (FK)
promotion_key (FK)
dollars_sold
units_sold
dollars_cost
PRODUCT
product_key (PK)
SKU
description
brand
category
CUSTOMER
customer_key (PK)
customer_name
purchase_profile
credit_profile
address
PROMOTION
promotion_key (PK)
promotion_name
price_type
ad_type
Iterative Development
Agile
Performance
Optimized for analytical queries
e.g. sales amount by product in 2013 for top 10 all-time customers
Its
Complicated
Star-Schema
Sales Process
Inventory Process
Sales Process
Inventory Process
Average
Monthly
GMROII
Profit for
total time
period
Gross Margin
Return on Inventory Investment (GMROII)
What was the Average Monthly
Producti
on
Sales
Distributi
on
HR
This ^^
Documentation
Whats in our Data Warehouse?
Business Users cant read ER diagrams
Business Users are typically only familiar with a 1 or 2 business
processes
E.g. Sales User vs Inventory User; Warehouse Supervisor vs CEO
Team Development
Agile
Prioritization of Tasks
Divide & Conquer
Road-Mapping
Prioritization of Business Processes in a Business Intelligence
Program
Documentation for IT
Team Development
Sprint 1
Internet Sales
Sprint 2
Reseller Sales
Road-Mapping
Manual
Only option when starting
out ;-)
Updates can be made quickly
made as requirements come in
Adds development overhead,
but the ROI is well worth it
Automated
Reporting pack with drillthrough to data dictionary
information
Can be based on Cube or
Relational Database (*FK
required)
Incorporate query statistics to
visualize common usage
patterns
Use MDS to allow SMEs to
manage business definitions
Based on example from Alex Whittles
http://www.purplefrogsystems.com/blog/2010/09/olap-cube-documentation-in-ssrs-part-1/
QUESTIONS
References
Twitter:
@SQLbyoBI
Blog: http://byoBI.com
Email:
william.anton@gmail.com
http://byobi.com/blog/bus-mat
rix/