SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Downloaden Sie, um offline zu lesen
1




ORDER MANAGEMENT
Chapter 5
Agenda
2


     Introduction to Order Management
     Order Transactions
     Invoice Transactions
     Accumulating Snapshot for the Order Fulfillment
     Pipeline
     Fact Table Comparison
     Implementing
     In the Real World
     Techniques
     Summary
Introduction to Order Management
3


     Order management comprised of a series of
     business process
     A subset of the data warehouse bus matrix
4   Order Transactions
Order Transactions
5


     The natural granularity for an order transaction fact
     table is one row for each line item on an order.
     Example of result schema
Order Transactions
6


     Fact Normalization
     Dimension Role-Playing
     Product Dimension Revisited
     Customer Ship-To Dimension
     Deal Dimension
     Degenerate Dimension for Order Number
     Junk Dimensions
     Multiple Currencies
     Header and Line Item Facts with Different Granularity
Fact Normalization
7


     Fact Normalization : A single, generic fact amount,
     along with a dimension that identifies the type of
     fact
     Use Fact Normalization when
       Set of facts is sparsely populated for a given fact row.
       No computations are made between facts.
     We generally resist the urge to further normalize
     the fact table
Dimension Role-Playing
8


     Role-Playing : occurs when a single dimension
     simultaneously appears several times in the same
     fact table.
     Date dimension is found in every fact table because
     we are always looking at performance over time.
Dimension Role-Playing
9


     Example of Role-playing

                                 Request
                                  Date


              Assembly                          Order
                Date                            Date
                                   Time
                                 Dimension




                       Arrival               Ship
                       Date                  Date
Product Dimension Revisited
10


      Product dimension describes the complete portfolio of
      products sold by a company.
      Characteristics of Product dimension
      1.   Numerous verbose descriptive columns.
      2.   One or more attribute hierarchies in addition to many
           nonhierarchical attributes.
      3.   Add readable text strings to augment or replace numeric
           codes in the operational product master.
      4.   Quality assure all the text strings to ensure that there are
           no misspellings, impossible values, or cosmetically
           different versions of the same attribute.
      5.   Document the product attribute definitions, interpretations,
           and origins in the data warehouse’s metadata.
Customer Ship-To Dimension
11


      The customer ship-to dimension contains one row for
      each discrete location to which we ship a product.
       Common hierarchy is natural geographic,
      customer’s organizational.
     Country                   Bill’s number


      Region                      Customer Name


        Province                      Customer Organization Name

          Address                         Customer Corporate Parent
                                          Name
Customer Ship-To Dimension
12


      Factors must be taken into consideration:
      1.   The one-to-one or many-to-one relationship may turn
           out to be a many-to-many relationship.
      2.   If the relationship between sales rep and customer
           ship-to varies over time then the combined dimension
           is in reality some kind of fact table itself!
      3.   If the sales rep and customer ship-to dimensions
           participate independently in other business process
           fact tables, we’d likely keep the dimensions separate.
Customer Ship-To Dimension
13


      Example of Customer Ship-To Dimension
Deal Dimension
14


      Deal dimension describes the incentives that have
      been offered to the customer that theoretically
      affect the customers’ desire to purchase products.
      Deal dimension describes
        the full combination of terms
        Allowance
        Incentives
Deal Dimension
15


      Deal Dimension Design
      1.   If the terms, allowances, and incentives are
           correlated, then package them into a single deal
           dimension.
      2.   If the terms, allowances, and incentives are quite
           uncorrelated, then split such a deal dimension into its
           separate components.
      3.   In a very large fact table, the desire to reduce the
           number of keys in the fact table composite key would
           favor keeping the deal dimension as a single
           dimension.
Deal Dimension
16


      Example of Deal Dimension
Degenerate Dimension
17
     for Order Number
      Degenerate dimensions typically are reserved for
      operational transaction identifiers.
      Each line item row in the orders fact table includes
      the order number as a degenerate dimension.
      Useful of Degenerate Dimension for Order Number
        allows us to group the separate line items on the order.
        enables us to answer such questions as the average
        number of line items on an order.
        is used occasionally to link the data warehouse back to
        the operational world.
Junk Dimension
18


      Why have junk dimension
        Leave flags and indicators unchanged in the fact table
        row
        Make each flag, indicator into its own separate
        dimension.
        Strip out all the flags and indicators from the design.
      A junk dimension is a convenient grouping of
      typically low-cardinality flags and indicators.
Junk Dimension
19


      Sample rows of an order indicator junk dimension
Multiple Currencies
20


      Multiple Currencies : Expressed in both local
      currency and the standardized corporate currency.
      The conversion rate table contains all combinations
      of effective currency exchange rates going in both
      directions.
Multiple Currencies
21


      Track multiple currencies with a daily currency
      exchange fact table.
Header and Line Item Facts with
22
     Different Granularity
      Shouldn’t mix fact granularities (for example, order
      and order line facts) within a single fact table.
      Allocating header facts to the line item.
23   Invoice Transactions
Invoice Transactions
24


      Occurs when products are shipped from our facility
      to the customer
      Each items corresponding to a product being
      shipped
      Various prices, discounts, and allowances are
      associated with each line item
Invoice Transactions
25
Invoice Transactions
26


      From invoice fact table we can see …
        All company’s products
        All customers
        All contract and deals
        All off-invoice discounts and allowances
        All revenue
        All variable and fixed costs (manufacturing, delivering)
        All money left over after delivery of product
        Customer satisfaction metrics

               The optimal place to start a DW
27   Accumulating Snapshot
     for the Order Fulfillment Pipeline
Accumulating Snapshot for
28
     the Order Fulfillment Pipeline
      Useful when we want to better understand how
      quickly products move through pipeline




               Order Fulfillment Pipeline Diagram
Accumulating Snapshot for
29
     the Order Fulfillment Pipeline
Accumulating Snapshot for
30
     the Order Fulfillment Pipeline
Accumulating Snapshot for
31
     the Order Fulfillment Pipeline
      Typically have multiple dates representing major
      milestones of the process
      Useful when the products moving through the
      pipeline is uniquely identified
        Electronics equipment with a serial number
        Automobile with a vehicle ID number
      Fits most naturally with short-lived processes
      Lag calculations
32   Fact Table Comparison
Fact Table Comparison
33
34   Designing Real-Time Partitions
Designing Real-Time Partitions
35


      DW extend its existing historical time series
      seamlessly to the current instant
      Separated physically and administratively from the
      conventional static DW tables
      Requirements
        Contain all the activity occurred since the last update
        Link as seamlessly as possible to the grain and content
        Be so lightly indexed that incoming data can be
        continuously dribbled in
36   Implementing
Business Process
37


      Order management process : ก   ก
               F   ก F          F
       ก                F
       ก    ก       F
       ก    F   F
Business Process ( F )
38


                            F           F
                                            F              F F            กF           F
                ก F                                       Fก          F                        ก       ก F
               ก                F
           ก                        F   F ก F F   F       F                    F   F       F       F        ก   F
                        F
                      F ก                             F                                                 F
       F                                                      F   F
Fact Table
39


      Invoice Fact
      Order Fact
      Order Fulfillment Accumulating Fact
      Order Line Item Fact
      Parts Ordering Fact
      Conversion Fact
Cube
40


      Invoice
      Order
      Order Line Item
      Parts Ordering
41   In the Real World
DELL Data Warehouse
42


      DELL Data Warehouse(DDW) is a global information
      management system that stores data pulled directly
      from Dell’s Regional Order Management and Service
      Systems.
        Order Data is available for the US, Latin America, Canada,
        Europe, Asia Pacific and Japan. It’s upload daily with the
        previous day’s activity.
        of the order in the order lifecycle. The DW provides
        information for all order statuses and order types to the
        item level.
        Order Status indicates the position
        Order Type indicates how revenue and cost associated with
        the order will be treated for accounting purposes.
Dell – Lifecycle of an Order
43


      Every order at Dell goes through the following
      stages shown below :
44   Techniques
ก Join            F F
45


      ก Join                     FF
           F F        SQL     F
       F             Merge Join
         F
         F       F
            Join ก           F        F
        Join กF
           ก             ก      F
         F     F F      Join Key
                      F       F
ก Join   F F   ( F)
46
ก Join   F F   ( F)
47
ก     Script Generator              Time
     Dimension F     C#
48


                 F ก             F
                       F     ก       F
           Time Dimension (
          F F            Fact
      Table ก )
        F         Script
      Generator (          F F
              ก )
ก     Script Generator                       Time
     Dimension F     C# ( F )
49


                  C# F
        F     ก              F    F dates
             datesBuffer.AddRow() กF
            ก ก       F F      Fก     F   F   F
ก     Script Generator     Time
     Dimension F     C# ( F )
50
ก     Script Generator                          Time
      Dimension F     C# ( F )
51


     DateTime StartDate = new DateTime(2009, 6, 1);
     DateTime EndDate = DateTime.Now;
     DateTime RunningDate = StartDate;

     while (RunningDate <= EndDate) {
         DatesBuffer.AddRow();
         DatesBuffer.TheDate = RunningDate;
         DatesBuffer.DateOfMonth = RunningDate.Day;
         DatesBuffer.Month = RunningDate.Month;
         DatesBuffer.Quarter = RunningDate.Month / 4 + 1;
         DatesBuffer.Year = RunningDate.Year;
         RunningDate = RunningDate.AddDays(1);
     }
ก       F                        F F
52


         F       ก   SQL Server 2008 Report Builder 2.0
                 F    F       ก       F         F
             ก F          F           F F F         ก     F F ก   ก
                      ก           F   ก       ก ก       F Cube
ก   F   F F ( F )
53
54   Summary
Summary
55


      Context of the order management process
      Dimension role-playing
      Multiple currencies
      Common challenges in modeling orders data
Summary
56


      Facts at different levels if granularity
      Set of facts associated with invoice transactions
      Power of accumulating snapshot fact tables
      Differences between the three fundamental types
      of fact tables
      Designing Real-Time Partitions
Members
57


      49050867   ก
      49050917                       F
      49050925       ก   F       F
      49051154
      49051162               F
ก         ก
58

     1.    ก                    ก F
     2.               ก   Business Process    F OLTP
     3.               ก   Dimension     Fact Table
     4.            F    F   F OLTP
     5.    F         F OLTP
     6.      F Dimension Table
     7.       F Fact Table
     8.        F Cube
     9.         F          ก F
     10.        Slide Presentation
ก          F      F
59


                                    ก                             ก     F
                                ก           Business Process                F    OLTP
                                    ก             Dimension           Fact Table
                                              F       F    F      OLTP

                                                   F Dimension                                Dimension
         F Dimension                                                        Dimension         Table
                           F Fact Table              Table
           Table                                                            Table         F
                           F Dimension               Dimension
          Fact Table                                                       Slide              ก   F
                             Table                   Table
           F Cube                                                     Presentation           Slide
                                                     Fact Table
                                                                                        Presentation

                                ก       F                                                     ก
60   Questions and Answers

Weitere ähnliche Inhalte

Was ist angesagt?

Master Data Management – Aligning Data, Process, and Governance
Master Data Management – Aligning Data, Process, and GovernanceMaster Data Management – Aligning Data, Process, and Governance
Master Data Management – Aligning Data, Process, and GovernanceDATAVERSITY
 
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality ManagementAhmed Alorage
 
Data Mesh for Dinner
Data Mesh for DinnerData Mesh for Dinner
Data Mesh for DinnerKent Graziano
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceDenodo
 
Glossaries, Dictionaries, and Catalogs Result in Data Governance
Glossaries, Dictionaries, and Catalogs Result in Data GovernanceGlossaries, Dictionaries, and Catalogs Result in Data Governance
Glossaries, Dictionaries, and Catalogs Result in Data GovernanceDATAVERSITY
 
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Databricks
 
Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDatabricks
 
The Importance of Master Data Management
The Importance of Master Data ManagementThe Importance of Master Data Management
The Importance of Master Data ManagementDATAVERSITY
 
Master data management
Master data managementMaster data management
Master data managementZahra Mansoori
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data WarehouseSOMASUNDARAM T
 
Reference master data management
Reference master data managementReference master data management
Reference master data managementDr. Hamdan Al-Sabri
 
Data Warehouse Basics
Data Warehouse BasicsData Warehouse Basics
Data Warehouse BasicsRam Kedem
 
How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...Christopher Bradley
 
Data Services Marketplace
Data Services MarketplaceData Services Marketplace
Data Services MarketplaceDenodo
 
Modern Data architecture Design
Modern Data architecture DesignModern Data architecture Design
Modern Data architecture DesignKujambu Murugesan
 
Master Data Management methodology
Master Data Management methodologyMaster Data Management methodology
Master Data Management methodologyDatabase Architechs
 
The what, why, and how of master data management
The what, why, and how of master data managementThe what, why, and how of master data management
The what, why, and how of master data managementMohammad Yousri
 

Was ist angesagt? (20)

Master Data Management – Aligning Data, Process, and Governance
Master Data Management – Aligning Data, Process, and GovernanceMaster Data Management – Aligning Data, Process, and Governance
Master Data Management – Aligning Data, Process, and Governance
 
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management
‏‏‏‏‏‏‏‏‏‏Chapter 12: Data Quality Management
 
Data warehouse
Data warehouseData warehouse
Data warehouse
 
Data Mesh for Dinner
Data Mesh for DinnerData Mesh for Dinner
Data Mesh for Dinner
 
Data Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and GovernanceData Catalog for Better Data Discovery and Governance
Data Catalog for Better Data Discovery and Governance
 
Glossaries, Dictionaries, and Catalogs Result in Data Governance
Glossaries, Dictionaries, and Catalogs Result in Data GovernanceGlossaries, Dictionaries, and Catalogs Result in Data Governance
Glossaries, Dictionaries, and Catalogs Result in Data Governance
 
Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2Data Lakehouse Symposium | Day 1 | Part 2
Data Lakehouse Symposium | Day 1 | Part 2
 
Data warehouse proposal
Data warehouse proposalData warehouse proposal
Data warehouse proposal
 
Democratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized PlatformDemocratizing Data Quality Through a Centralized Platform
Democratizing Data Quality Through a Centralized Platform
 
The Importance of Master Data Management
The Importance of Master Data ManagementThe Importance of Master Data Management
The Importance of Master Data Management
 
Master data management
Master data managementMaster data management
Master data management
 
Introduction to Data Warehouse
Introduction to Data WarehouseIntroduction to Data Warehouse
Introduction to Data Warehouse
 
Reference master data management
Reference master data managementReference master data management
Reference master data management
 
Data Warehouse Basics
Data Warehouse BasicsData Warehouse Basics
Data Warehouse Basics
 
How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...
 
Data Vault Overview
Data Vault OverviewData Vault Overview
Data Vault Overview
 
Data Services Marketplace
Data Services MarketplaceData Services Marketplace
Data Services Marketplace
 
Modern Data architecture Design
Modern Data architecture DesignModern Data architecture Design
Modern Data architecture Design
 
Master Data Management methodology
Master Data Management methodologyMaster Data Management methodology
Master Data Management methodology
 
The what, why, and how of master data management
The what, why, and how of master data managementThe what, why, and how of master data management
The what, why, and how of master data management
 

Andere mochten auch

CDMP preparation workshop EDW2016
CDMP preparation workshop EDW2016CDMP preparation workshop EDW2016
CDMP preparation workshop EDW2016Christopher Bradley
 
Introduction to Mobile Core Network
Introduction to Mobile Core NetworkIntroduction to Mobile Core Network
Introduction to Mobile Core Networkyusufd
 
Order Management Overview
Order Management OverviewOrder Management Overview
Order Management OverviewRobert Ransom
 
Order management, provisioning and activation
Order management, provisioning and activationOrder management, provisioning and activation
Order management, provisioning and activationVijayIndra Shekhawat
 

Andere mochten auch (6)

CDMP preparation workshop EDW2016
CDMP preparation workshop EDW2016CDMP preparation workshop EDW2016
CDMP preparation workshop EDW2016
 
Free Webcast: A Concise View Of Oracle Order Management (OM)
Free Webcast: A Concise View Of Oracle Order Management (OM)Free Webcast: A Concise View Of Oracle Order Management (OM)
Free Webcast: A Concise View Of Oracle Order Management (OM)
 
Basics of Oracle Order Management
Basics of Oracle Order ManagementBasics of Oracle Order Management
Basics of Oracle Order Management
 
Introduction to Mobile Core Network
Introduction to Mobile Core NetworkIntroduction to Mobile Core Network
Introduction to Mobile Core Network
 
Order Management Overview
Order Management OverviewOrder Management Overview
Order Management Overview
 
Order management, provisioning and activation
Order management, provisioning and activationOrder management, provisioning and activation
Order management, provisioning and activation
 

Ähnlich wie Data warehouse : Order Management

ERP for Project Industry - Nfra lite
ERP for Project Industry - Nfra liteERP for Project Industry - Nfra lite
ERP for Project Industry - Nfra litenfra erp
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgmTCT
 
Project on Tally.ERP9
Project on Tally.ERP9Project on Tally.ERP9
Project on Tally.ERP9Kulbeer Singh
 
What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...Muhammad Tahir Mehmood
 
04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6Prithwis Mukerjee
 
02 fundamentals of tally.erp9
02 fundamentals of tally.erp902 fundamentals of tally.erp9
02 fundamentals of tally.erp9balvenkat
 
IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxReneeClintGortifacio
 
Lecture 15
Lecture 15Lecture 15
Lecture 15Shani729
 
Portfolio By Jorge Gomez Danes
Portfolio By Jorge Gomez DanesPortfolio By Jorge Gomez Danes
Portfolio By Jorge Gomez Danesjorgegdm
 
207828627 sap-bootcamp-quiz-sd
207828627 sap-bootcamp-quiz-sd207828627 sap-bootcamp-quiz-sd
207828627 sap-bootcamp-quiz-sdhomeworkping8
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptssuser39e08e
 
Dw design 1_dim_facts
Dw design 1_dim_factsDw design 1_dim_facts
Dw design 1_dim_factsClaudia Gomez
 

Ähnlich wie Data warehouse : Order Management (20)

ERP for Project Industry - Nfra lite
ERP for Project Industry - Nfra liteERP for Project Industry - Nfra lite
ERP for Project Industry - Nfra lite
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
 
Chap15
Chap15Chap15
Chap15
 
Data flow
Data flowData flow
Data flow
 
How to Data Flow Diagram
How to Data Flow Diagram How to Data Flow Diagram
How to Data Flow Diagram
 
208 dataflowdgm
208 dataflowdgm208 dataflowdgm
208 dataflowdgm
 
Project on Tally.ERP9
Project on Tally.ERP9Project on Tally.ERP9
Project on Tally.ERP9
 
Tally. erp9
Tally. erp9Tally. erp9
Tally. erp9
 
Data Warehouse-Final
Data Warehouse-FinalData Warehouse-Final
Data Warehouse-Final
 
What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...What specific role of people using developing and managing is seleact an appr...
What specific role of people using developing and managing is seleact an appr...
 
04 Dimensional Analysis - v6
04 Dimensional Analysis - v604 Dimensional Analysis - v6
04 Dimensional Analysis - v6
 
02 fundamentals of tally.erp9
02 fundamentals of tally.erp902 fundamentals of tally.erp9
02 fundamentals of tally.erp9
 
IT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptxIT301-Datawarehousing (1) and its sub topics.pptx
IT301-Datawarehousing (1) and its sub topics.pptx
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 
Portfolio By Jorge Gomez Danes
Portfolio By Jorge Gomez DanesPortfolio By Jorge Gomez Danes
Portfolio By Jorge Gomez Danes
 
207828627 sap-bootcamp-quiz-sd
207828627 sap-bootcamp-quiz-sd207828627 sap-bootcamp-quiz-sd
207828627 sap-bootcamp-quiz-sd
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.ppt
 
Dora ppt2(fico)
Dora ppt2(fico)Dora ppt2(fico)
Dora ppt2(fico)
 
Dw design 1_dim_facts
Dw design 1_dim_factsDw design 1_dim_facts
Dw design 1_dim_facts
 
Iowa liquor sales
Iowa liquor salesIowa liquor sales
Iowa liquor sales
 

Kürzlich hochgeladen

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterMateoGardella
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Kürzlich hochgeladen (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Data warehouse : Order Management

  • 2. Agenda 2 Introduction to Order Management Order Transactions Invoice Transactions Accumulating Snapshot for the Order Fulfillment Pipeline Fact Table Comparison Implementing In the Real World Techniques Summary
  • 3. Introduction to Order Management 3 Order management comprised of a series of business process A subset of the data warehouse bus matrix
  • 4. 4 Order Transactions
  • 5. Order Transactions 5 The natural granularity for an order transaction fact table is one row for each line item on an order. Example of result schema
  • 6. Order Transactions 6 Fact Normalization Dimension Role-Playing Product Dimension Revisited Customer Ship-To Dimension Deal Dimension Degenerate Dimension for Order Number Junk Dimensions Multiple Currencies Header and Line Item Facts with Different Granularity
  • 7. Fact Normalization 7 Fact Normalization : A single, generic fact amount, along with a dimension that identifies the type of fact Use Fact Normalization when Set of facts is sparsely populated for a given fact row. No computations are made between facts. We generally resist the urge to further normalize the fact table
  • 8. Dimension Role-Playing 8 Role-Playing : occurs when a single dimension simultaneously appears several times in the same fact table. Date dimension is found in every fact table because we are always looking at performance over time.
  • 9. Dimension Role-Playing 9 Example of Role-playing Request Date Assembly Order Date Date Time Dimension Arrival Ship Date Date
  • 10. Product Dimension Revisited 10 Product dimension describes the complete portfolio of products sold by a company. Characteristics of Product dimension 1. Numerous verbose descriptive columns. 2. One or more attribute hierarchies in addition to many nonhierarchical attributes. 3. Add readable text strings to augment or replace numeric codes in the operational product master. 4. Quality assure all the text strings to ensure that there are no misspellings, impossible values, or cosmetically different versions of the same attribute. 5. Document the product attribute definitions, interpretations, and origins in the data warehouse’s metadata.
  • 11. Customer Ship-To Dimension 11 The customer ship-to dimension contains one row for each discrete location to which we ship a product. Common hierarchy is natural geographic, customer’s organizational. Country Bill’s number Region Customer Name Province Customer Organization Name Address Customer Corporate Parent Name
  • 12. Customer Ship-To Dimension 12 Factors must be taken into consideration: 1. The one-to-one or many-to-one relationship may turn out to be a many-to-many relationship. 2. If the relationship between sales rep and customer ship-to varies over time then the combined dimension is in reality some kind of fact table itself! 3. If the sales rep and customer ship-to dimensions participate independently in other business process fact tables, we’d likely keep the dimensions separate.
  • 13. Customer Ship-To Dimension 13 Example of Customer Ship-To Dimension
  • 14. Deal Dimension 14 Deal dimension describes the incentives that have been offered to the customer that theoretically affect the customers’ desire to purchase products. Deal dimension describes the full combination of terms Allowance Incentives
  • 15. Deal Dimension 15 Deal Dimension Design 1. If the terms, allowances, and incentives are correlated, then package them into a single deal dimension. 2. If the terms, allowances, and incentives are quite uncorrelated, then split such a deal dimension into its separate components. 3. In a very large fact table, the desire to reduce the number of keys in the fact table composite key would favor keeping the deal dimension as a single dimension.
  • 16. Deal Dimension 16 Example of Deal Dimension
  • 17. Degenerate Dimension 17 for Order Number Degenerate dimensions typically are reserved for operational transaction identifiers. Each line item row in the orders fact table includes the order number as a degenerate dimension. Useful of Degenerate Dimension for Order Number allows us to group the separate line items on the order. enables us to answer such questions as the average number of line items on an order. is used occasionally to link the data warehouse back to the operational world.
  • 18. Junk Dimension 18 Why have junk dimension Leave flags and indicators unchanged in the fact table row Make each flag, indicator into its own separate dimension. Strip out all the flags and indicators from the design. A junk dimension is a convenient grouping of typically low-cardinality flags and indicators.
  • 19. Junk Dimension 19 Sample rows of an order indicator junk dimension
  • 20. Multiple Currencies 20 Multiple Currencies : Expressed in both local currency and the standardized corporate currency. The conversion rate table contains all combinations of effective currency exchange rates going in both directions.
  • 21. Multiple Currencies 21 Track multiple currencies with a daily currency exchange fact table.
  • 22. Header and Line Item Facts with 22 Different Granularity Shouldn’t mix fact granularities (for example, order and order line facts) within a single fact table. Allocating header facts to the line item.
  • 23. 23 Invoice Transactions
  • 24. Invoice Transactions 24 Occurs when products are shipped from our facility to the customer Each items corresponding to a product being shipped Various prices, discounts, and allowances are associated with each line item
  • 26. Invoice Transactions 26 From invoice fact table we can see … All company’s products All customers All contract and deals All off-invoice discounts and allowances All revenue All variable and fixed costs (manufacturing, delivering) All money left over after delivery of product Customer satisfaction metrics The optimal place to start a DW
  • 27. 27 Accumulating Snapshot for the Order Fulfillment Pipeline
  • 28. Accumulating Snapshot for 28 the Order Fulfillment Pipeline Useful when we want to better understand how quickly products move through pipeline Order Fulfillment Pipeline Diagram
  • 29. Accumulating Snapshot for 29 the Order Fulfillment Pipeline
  • 30. Accumulating Snapshot for 30 the Order Fulfillment Pipeline
  • 31. Accumulating Snapshot for 31 the Order Fulfillment Pipeline Typically have multiple dates representing major milestones of the process Useful when the products moving through the pipeline is uniquely identified Electronics equipment with a serial number Automobile with a vehicle ID number Fits most naturally with short-lived processes Lag calculations
  • 32. 32 Fact Table Comparison
  • 34. 34 Designing Real-Time Partitions
  • 35. Designing Real-Time Partitions 35 DW extend its existing historical time series seamlessly to the current instant Separated physically and administratively from the conventional static DW tables Requirements Contain all the activity occurred since the last update Link as seamlessly as possible to the grain and content Be so lightly indexed that incoming data can be continuously dribbled in
  • 36. 36 Implementing
  • 37. Business Process 37 Order management process : ก ก F ก F F ก F ก ก F ก F F
  • 38. Business Process ( F ) 38 F F F F F กF F ก F Fก F ก ก F ก F ก F F ก F F F F F F F F ก F F F ก F F F F F
  • 39. Fact Table 39 Invoice Fact Order Fact Order Fulfillment Accumulating Fact Order Line Item Fact Parts Ordering Fact Conversion Fact
  • 40. Cube 40 Invoice Order Order Line Item Parts Ordering
  • 41. 41 In the Real World
  • 42. DELL Data Warehouse 42 DELL Data Warehouse(DDW) is a global information management system that stores data pulled directly from Dell’s Regional Order Management and Service Systems. Order Data is available for the US, Latin America, Canada, Europe, Asia Pacific and Japan. It’s upload daily with the previous day’s activity. of the order in the order lifecycle. The DW provides information for all order statuses and order types to the item level. Order Status indicates the position Order Type indicates how revenue and cost associated with the order will be treated for accounting purposes.
  • 43. Dell – Lifecycle of an Order 43 Every order at Dell goes through the following stages shown below :
  • 44. 44 Techniques
  • 45. ก Join F F 45 ก Join FF F F SQL F F Merge Join F F F Join ก F F Join กF ก ก F F F F Join Key F F
  • 46. ก Join F F ( F) 46
  • 47. ก Join F F ( F) 47
  • 48. Script Generator Time Dimension F C# 48 F ก F F ก F Time Dimension ( F F Fact Table ก ) F Script Generator ( F F ก )
  • 49. Script Generator Time Dimension F C# ( F ) 49 C# F F ก F F dates datesBuffer.AddRow() กF ก ก F F Fก F F F
  • 50. Script Generator Time Dimension F C# ( F ) 50
  • 51. Script Generator Time Dimension F C# ( F ) 51 DateTime StartDate = new DateTime(2009, 6, 1); DateTime EndDate = DateTime.Now; DateTime RunningDate = StartDate; while (RunningDate <= EndDate) { DatesBuffer.AddRow(); DatesBuffer.TheDate = RunningDate; DatesBuffer.DateOfMonth = RunningDate.Day; DatesBuffer.Month = RunningDate.Month; DatesBuffer.Quarter = RunningDate.Month / 4 + 1; DatesBuffer.Year = RunningDate.Year; RunningDate = RunningDate.AddDays(1); }
  • 52. F F F 52 F ก SQL Server 2008 Report Builder 2.0 F F ก F F ก F F F F F ก F F ก ก ก F ก ก ก F Cube
  • 53. F F F ( F ) 53
  • 54. 54 Summary
  • 55. Summary 55 Context of the order management process Dimension role-playing Multiple currencies Common challenges in modeling orders data
  • 56. Summary 56 Facts at different levels if granularity Set of facts associated with invoice transactions Power of accumulating snapshot fact tables Differences between the three fundamental types of fact tables Designing Real-Time Partitions
  • 57. Members 57 49050867 ก 49050917 F 49050925 ก F F 49051154 49051162 F
  • 58. ก 58 1. ก ก F 2. ก Business Process F OLTP 3. ก Dimension Fact Table 4. F F F OLTP 5. F F OLTP 6. F Dimension Table 7. F Fact Table 8. F Cube 9. F ก F 10. Slide Presentation
  • 59. F F 59 ก ก F ก Business Process F OLTP ก Dimension Fact Table F F F OLTP F Dimension Dimension F Dimension Dimension Table F Fact Table Table Table Table F F Dimension Dimension Fact Table Slide ก F Table Table F Cube Presentation Slide Fact Table Presentation ก F ก
  • 60. 60 Questions and Answers