24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations....
Transcript of 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations....
![Page 1: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/1.jpg)
Sponsored by:
Professional Association for SQL ServerProfessional Association for SQL Server
Multidimensional Thinking
Stacia Misner
Data Inspirations
![Page 2: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/2.jpg)
Overview
• Understanding the Problem
• Translating Requirements
• Designing the Multidimensional Model
![Page 3: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/3.jpg)
Understanding the Problem
![Page 4: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/4.jpg)
Reporting on Operational Data
• Resource contention
• Unreliable access to historical data
• Inconsistent application of business rules
• Data structure results in slower, more complex queries
4
Excel
Data
Source
Reporting
Services
SharePoint
![Page 5: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/5.jpg)
A Data Mart Solution
• Separate data source reduces resource contention
• Easy access to historical data
• Consistent application of business rules
• Data structure results in faster, simpler queries
Data
Mart
Analysis
Services
Excel
Integration
Services
Integration
Services
Data
Source
Reporting
Services
SharePoint
PowerPivot SharePoint
Excel
Data
Source
Reporting
Services
![Page 6: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/6.jpg)
Translating Requirements
![Page 7: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/7.jpg)
Requirements Gathering
• What information do
reports include that’s
useful?
• What information is
missing?
• What are typical
questions you ask day-
to-day?
• What processes are
delaying access to
information?
![Page 8: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/8.jpg)
Typical Questions from Decision Makers
• Summarized data for specified period of time– What were total sales for last 3 years?
– What was profit margin last year?
– How many items were sold this month?
• Comparative data for multiple categories or time periods– Did sales increase this year as compared to last year?
– What was profit margin by product category last year?
– Is the average sale by territory increasing or decreasing?
• Consolidated data from various source systems– How do sales volumes for top 10 customers compare to call center
volumes for the same customers?
![Page 9: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/9.jpg)
Prioritization and Decomposition
How many items were
sold this month?
Did sales increase this
year as compared to
last year? How do sales volumes
for this year’s top 10
customers compare to
call counts for the same
customers?
�
�
�
![Page 10: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/10.jpg)
The Matrix
Actionability
Bottom Line
Impact
Opportunities
![Page 11: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/11.jpg)
Building a Matrix
• Create spreadsheet to cross-reference source document to dimension and measures
• List measures on rows and dimensions on columns
• Identify the lowest level of detail for each dimension by measure
• Sort data to group sources by common dimensions
![Page 12: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/12.jpg)
Designing the Multidimensional Model
![Page 13: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/13.jpg)
Star Schema
![Page 14: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/14.jpg)
Fact Discovery
• Summarized data for specified period of time– What were total sales for last 3 years?
– What was profit margin last year?
– How many items were sold this month?
• Comparative data for multiple categories or time periods– Did sales increase this year as compared to last year?
– What was profit margin by product category last year?
– Is the average sale by territory increasing or decreasing?
![Page 15: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/15.jpg)
Fact Tables
• “Verbs” of the model
• Measurement of business processes
• High volume of records
• Two column types
– Dimension keys
– Measures
• Consistent grain
![Page 16: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/16.jpg)
Fact Table Design
• Declare the grain
• Identify the dimensions applicable to each row
• Identify measures and atomicity
• Break down percentages and ratios into numerators and denominators
![Page 17: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/17.jpg)
Dimension Tables
• “Nouns” of the model
• Description of people, place, things, and time
• Multiple columns (attributes)
– Surrogate key
– Business key
– Descriptive data
– Grouping, sorting,or filtering data
– Hierarchical data
![Page 18: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/18.jpg)
Dimension Table Design
• Define attributes– Descriptive
– Grouping
– Filtering
– Sorting
– Hierarchical navigation
– Slowly changing dimension management
• Decide whether to use snowflake
• Define attributes for the date dimension
![Page 19: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/19.jpg)
Model Confirmation and Deployment
Gather data
Build & test
design
Review with
users
Refine
requirements
Discovery
Go LiveEnhance
![Page 20: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/20.jpg)
Thank you to our sponsor
Professional Association for SQL ServerProfessional Association for SQL Server
![Page 21: 24HoursofPASSPPT Stacia Misner Spring2011 · 2011. 3. 15. · Stacia Misner Data Inspirations. Overview • Understanding the Problem • Translating Requirements • Designing the](https://reader036.fdocuments.us/reader036/viewer/2022081620/6113940d64ad8574b77c5cdc/html5/thumbnails/21.jpg)
May 11-13, Orlando, FL
Oct 11-14, Seattle, WA
Email: [email protected]: @StaciaMisnerBlog: blog.datainspirations.com
Save 25%: Register by April 12th
www.sqlpass.org/sqlrally
Register by March31st: save 40% and have the chance to win a cruise to Alaska!
“24HR11” code gets you $100 off
www.sqlpass.org/summit