SlideShare a Scribd company logo
Fact Table Fact Types
&
Fact less Fact Table
Dr. R.Balamurugan
FACT TABLE
 A Fact Table is the central table in a star
schema of a data warehouse.
 It consists of two types of columns.
 The foreign keys column allows to join with
dimension tables .
 The measure columns contain the data that
is being analyzed.
FACT TABLE COLUMNS – FOREIGN KEY
 Foreign Key – Column Type
 These are the columns as coming from
Dimension Tables
 Are the primary keys of Dimension Tables
MEASURES OR FACTS
 Fact tables - Measures
 Collection of measurements on a specific
aspects of business
 sales amount, order quantity, profit, balance and
discount amount.
ADDITIVITY OF MEASURES
 A fact table might contain either detail level
facts or facts that have been aggregated.
 The primary purpose of Data warehouse is
reporting, and forecasting
 Many times reports are aggregations such as
sum
 Example: sales by quarter, by region,
 Many reports are usually aggregations
TYPES OF ADDITIVITY OF MEASURES
 Types of Additivity of Measures
 Additive measures
 Semi-additive measures
 Non-additive measures
ADDITIVE MEASURES
 Additive
 If a measure can be summed across all
dimensions
 The purpose of this table is to record the
sales amount for each product in each
store on a daily basis.
Date
Store
Product
Sales_Amount
SEMI-ADDITIVE MEASURES
Semi-additive
 Sometimes, we can sum a
measure across all
dimensions except for time
 such as account balance
 We can’t sum the account
balance across the time
dimension
Date
Account
Current_Balance
NON-ADDITIVE MEASURES
 Some measures
can’t ever be
summed
 These are called
non-additive
measures
 Such as discount
percentages and
prices
Date
Account
Profit_margin
 Profit_Margin is a
non-additive fact, for
it does not make
sense to add them
up for the account
level or the day level.
FACTLESS FACT TABLE
 In the real world, it is possible to have a fact
table that contains no measures or facts.
These tables are called "Factless Fact
tables".
 A factless fact table is a fact table that does
have only dimensions (keys).
 It is essentially an intersection of dimensions.
EXAMPLE
 The fact table would
consist of 3 dimensions:
the student dimension,
the time dimension, and
the class dimension.

More Related Content

What's hot

Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
aksrauf
 
data warehouse , data mart, etl
data warehouse , data mart, etldata warehouse , data mart, etl
data warehouse , data mart, etl
Aashish Rathod
 
Data Warehouse Basic Guide
Data Warehouse Basic GuideData Warehouse Basic Guide
Data Warehouse Basic Guide
thomasmary607
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
Nilt1234
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexing
Mahabubur Rahaman
 
Concurrency Control in Database Management System
Concurrency Control in Database Management SystemConcurrency Control in Database Management System
Concurrency Control in Database Management System
Janki Shah
 
8. transactions
8. transactions8. transactions
8. transactions
Amrit Kaur
 
Data Warehouse Fundamentals
Data Warehouse FundamentalsData Warehouse Fundamentals
Data Warehouse Fundamentals
Rashmi Bhat
 
The Relational Model
The Relational ModelThe Relational Model
The Relational Model
Bhandari Nawaraj
 
Dimensional Modelling
Dimensional ModellingDimensional Modelling
Dimensional Modelling
Prithwis Mukerjee
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
Mohd Arif
 
Schemas for multidimensional databases
Schemas for multidimensional databasesSchemas for multidimensional databases
Schemas for multidimensional databases
yazad dumasia
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
Nishant Munjal
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
Slideshare
 
OLAP v/s OLTP
OLAP v/s OLTPOLAP v/s OLTP
OLAP v/s OLTP
ahsan irfan
 
Chapter 2 - Retail Sales
Chapter 2 - Retail Sales Chapter 2 - Retail Sales
Chapter 2 - Retail Sales
Khairul Shafee Kalid
 
Nested Queries Lecture
Nested Queries LectureNested Queries Lecture
Nested Queries Lecture
Felipe Costa
 
Data Structures & Recursion-Introduction.pdf
Data Structures & Recursion-Introduction.pdfData Structures & Recursion-Introduction.pdf
Data Structures & Recursion-Introduction.pdf
MaryJacob24
 
Multidimentional data model
Multidimentional data modelMultidimentional data model
Multidimentional data model
jagdish_93
 
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
Edureka!
 

What's hot (20)

Dimensional Modeling
Dimensional ModelingDimensional Modeling
Dimensional Modeling
 
data warehouse , data mart, etl
data warehouse , data mart, etldata warehouse , data mart, etl
data warehouse , data mart, etl
 
Data Warehouse Basic Guide
Data Warehouse Basic GuideData Warehouse Basic Guide
Data Warehouse Basic Guide
 
SQL Queries
SQL QueriesSQL Queries
SQL Queries
 
Introduction of sql server indexing
Introduction of sql server indexingIntroduction of sql server indexing
Introduction of sql server indexing
 
Concurrency Control in Database Management System
Concurrency Control in Database Management SystemConcurrency Control in Database Management System
Concurrency Control in Database Management System
 
8. transactions
8. transactions8. transactions
8. transactions
 
Data Warehouse Fundamentals
Data Warehouse FundamentalsData Warehouse Fundamentals
Data Warehouse Fundamentals
 
The Relational Model
The Relational ModelThe Relational Model
The Relational Model
 
Dimensional Modelling
Dimensional ModellingDimensional Modelling
Dimensional Modelling
 
Codd's rules
Codd's rulesCodd's rules
Codd's rules
 
Schemas for multidimensional databases
Schemas for multidimensional databasesSchemas for multidimensional databases
Schemas for multidimensional databases
 
Relational Data Model Introduction
Relational Data Model IntroductionRelational Data Model Introduction
Relational Data Model Introduction
 
Entity Relationship Model
Entity Relationship ModelEntity Relationship Model
Entity Relationship Model
 
OLAP v/s OLTP
OLAP v/s OLTPOLAP v/s OLTP
OLAP v/s OLTP
 
Chapter 2 - Retail Sales
Chapter 2 - Retail Sales Chapter 2 - Retail Sales
Chapter 2 - Retail Sales
 
Nested Queries Lecture
Nested Queries LectureNested Queries Lecture
Nested Queries Lecture
 
Data Structures & Recursion-Introduction.pdf
Data Structures & Recursion-Introduction.pdfData Structures & Recursion-Introduction.pdf
Data Structures & Recursion-Introduction.pdf
 
Multidimentional data model
Multidimentional data modelMultidimentional data model
Multidimentional data model
 
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
MySQL Tutorial For Beginners | Relational Database Management System | MySQL ...
 

Similar to Fact table facts

Types of facts
Types of factsTypes of facts
Types of facts
krishna informatica
 
Data warehousing
Data warehousingData warehousing
Data warehousing
Allen Woods
 
Basics+of+Datawarehousing
Basics+of+DatawarehousingBasics+of+Datawarehousing
Basics+of+Datawarehousing
theextraaedge
 
Calculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxCalculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptx
Select Distinct Limited
 
Modelado Dimensional 4 Etapas
Modelado Dimensional 4 EtapasModelado Dimensional 4 Etapas
Modelado Dimensional 4 Etapas
Roberto Espinosa
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.ppt
ssuser39e08e
 
Acc6ch07.ders
Acc6ch07.dersAcc6ch07.ders
Acc6ch07.ders
alper
 
IDW Lecture 21-Families of STAR schema.pptx
IDW Lecture 21-Families of STAR schema.pptxIDW Lecture 21-Families of STAR schema.pptx
IDW Lecture 21-Families of STAR schema.pptx
IntisarAhmad5
 
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docxChapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
christinemaritza
 
Star schema
Star schemaStar schema
Data Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptxData Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptx
Dr. Jasmine Beulah Gnanadurai
 
Dw concepts
Dw conceptsDw concepts
Dw concepts
Krishna Prasad
 
Data ware dimension design
Data ware   dimension designData ware   dimension design
Data ware dimension design
Sayed Ahmed
 
Data ware dimension design
Data ware   dimension designData ware   dimension design
Data ware dimension design
Sayed Ahmed
 
Inventory and Intuit Point of Sale
Inventory and Intuit Point of SaleInventory and Intuit Point of Sale
Inventory and Intuit Point of Sale
rukalm
 
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon StrategyAmazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
Tinuiti
 
Managerial Accounting.docx
Managerial Accounting.docxManagerial Accounting.docx
Managerial Accounting.docx
NasimGull1
 
Dwh training 1
Dwh training 1Dwh training 1
Dwh training 1
Saugata Sarkar
 
Chapter 7 posting journal entries to general ledger accounts
Chapter 7 posting journal entries to general ledger accountsChapter 7 posting journal entries to general ledger accounts
Chapter 7 posting journal entries to general ledger accounts
Iva Walton
 
Importance of quality management system
Importance of quality management systemImportance of quality management system
Importance of quality management system
selinasimpson0901
 

Similar to Fact table facts (20)

Types of facts
Types of factsTypes of facts
Types of facts
 
Data warehousing
Data warehousingData warehousing
Data warehousing
 
Basics+of+Datawarehousing
Basics+of+DatawarehousingBasics+of+Datawarehousing
Basics+of+Datawarehousing
 
Calculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptxCalculated Columns and Measures in Power BI.pptx
Calculated Columns and Measures in Power BI.pptx
 
Modelado Dimensional 4 Etapas
Modelado Dimensional 4 EtapasModelado Dimensional 4 Etapas
Modelado Dimensional 4 Etapas
 
Modelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.pptModelado Dimensional 4 etapas.ppt
Modelado Dimensional 4 etapas.ppt
 
Acc6ch07.ders
Acc6ch07.dersAcc6ch07.ders
Acc6ch07.ders
 
IDW Lecture 21-Families of STAR schema.pptx
IDW Lecture 21-Families of STAR schema.pptxIDW Lecture 21-Families of STAR schema.pptx
IDW Lecture 21-Families of STAR schema.pptx
 
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docxChapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
Chapter 8Responsibility Concepts and Sound Decision-Making Ana.docx
 
Star schema
Star schemaStar schema
Star schema
 
Data Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptxData Warehouse_Architecture.pptx
Data Warehouse_Architecture.pptx
 
Dw concepts
Dw conceptsDw concepts
Dw concepts
 
Data ware dimension design
Data ware   dimension designData ware   dimension design
Data ware dimension design
 
Data ware dimension design
Data ware   dimension designData ware   dimension design
Data ware dimension design
 
Inventory and Intuit Point of Sale
Inventory and Intuit Point of SaleInventory and Intuit Point of Sale
Inventory and Intuit Point of Sale
 
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon StrategyAmazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
Amazon Vendor Central Reporting 201: How to Uplevel Your Amazon Strategy
 
Managerial Accounting.docx
Managerial Accounting.docxManagerial Accounting.docx
Managerial Accounting.docx
 
Dwh training 1
Dwh training 1Dwh training 1
Dwh training 1
 
Chapter 7 posting journal entries to general ledger accounts
Chapter 7 posting journal entries to general ledger accountsChapter 7 posting journal entries to general ledger accounts
Chapter 7 posting journal entries to general ledger accounts
 
Importance of quality management system
Importance of quality management systemImportance of quality management system
Importance of quality management system
 

Recently uploaded

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Kaxil Naik
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
y3i0qsdzb
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
mkkikqvo
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
Timothy Spann
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
hyfjgavov
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
exukyp
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
Márton Kodok
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 

Recently uploaded (20)

一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
Orchestrating the Future: Navigating Today's Data Workflow Challenges with Ai...
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
一比一原版巴斯大学毕业证(Bath毕业证书)学历如何办理
 
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
原版一比一多伦多大学毕业证(UofT毕业证书)如何办理
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
06-12-2024-BudapestDataForum-BuildingReal-timePipelineswithFLaNK AIM
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
一比一原版兰加拉学院毕业证(Langara毕业证书)学历如何办理
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
UofT毕业证如何办理
UofT毕业证如何办理UofT毕业证如何办理
UofT毕业证如何办理
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
Build applications with generative AI on Google Cloud
Build applications with generative AI on Google CloudBuild applications with generative AI on Google Cloud
Build applications with generative AI on Google Cloud
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 

Fact table facts

  • 1. Fact Table Fact Types & Fact less Fact Table Dr. R.Balamurugan
  • 2. FACT TABLE  A Fact Table is the central table in a star schema of a data warehouse.  It consists of two types of columns.  The foreign keys column allows to join with dimension tables .  The measure columns contain the data that is being analyzed.
  • 3. FACT TABLE COLUMNS – FOREIGN KEY  Foreign Key – Column Type  These are the columns as coming from Dimension Tables  Are the primary keys of Dimension Tables
  • 4. MEASURES OR FACTS  Fact tables - Measures  Collection of measurements on a specific aspects of business  sales amount, order quantity, profit, balance and discount amount.
  • 5. ADDITIVITY OF MEASURES  A fact table might contain either detail level facts or facts that have been aggregated.  The primary purpose of Data warehouse is reporting, and forecasting  Many times reports are aggregations such as sum  Example: sales by quarter, by region,  Many reports are usually aggregations
  • 6. TYPES OF ADDITIVITY OF MEASURES  Types of Additivity of Measures  Additive measures  Semi-additive measures  Non-additive measures
  • 7. ADDITIVE MEASURES  Additive  If a measure can be summed across all dimensions  The purpose of this table is to record the sales amount for each product in each store on a daily basis. Date Store Product Sales_Amount
  • 8. SEMI-ADDITIVE MEASURES Semi-additive  Sometimes, we can sum a measure across all dimensions except for time  such as account balance  We can’t sum the account balance across the time dimension Date Account Current_Balance
  • 9. NON-ADDITIVE MEASURES  Some measures can’t ever be summed  These are called non-additive measures  Such as discount percentages and prices Date Account Profit_margin  Profit_Margin is a non-additive fact, for it does not make sense to add them up for the account level or the day level.
  • 10. FACTLESS FACT TABLE  In the real world, it is possible to have a fact table that contains no measures or facts. These tables are called "Factless Fact tables".  A factless fact table is a fact table that does have only dimensions (keys).  It is essentially an intersection of dimensions.
  • 11. EXAMPLE  The fact table would consist of 3 dimensions: the student dimension, the time dimension, and the class dimension.