Monday, 13 January 2014

Types of Facts in Data Warehousing

A fact table is the central table in a star schema of a data warehouse. A fact table stores quantitative information for analysis and is often denormalized form.

A fact table works with dimension tables. A fact table holds the data to be analyzed, and a dimension table stores data about the ways in which the data in the fact table can be analyzed.
Thus, fact tables typically has two types of columns, foreign keys to dimension tables and measures those that contain numeric facts. A fact table can contain fact’s data on detail or aggregated level.
Eg: Sales, Cost, Profit, and many more.

Types of Facts

  • Non-Additive
  • Semi-Additive
  • Additive

Additive
Additive facts are facts that can be summed up through all of the dimensions in the fact table.
Eg: Sales fact.

Semi-Additive
Semi-additive facts are facts that can be summed up for some of the dimensions in the fact table, but not the others.
Eg: Daily balances fact can be summed up through the customers dimension but not through the time dimension.

Non-Additive
Non-additive facts are facts that cannot be summed up for any of the dimensions present in the fact table.
Eg: Facts which have percentages, Ratios calculated.

1 comment:

  1. Data Warehousing Online Training
    http://www.21cssindia.com/courses/data-warehousing-online-training-29.html
    Introduction to Data warehousing - Who needs Data warehouse? - Why Data warehouse is required? - Types of Systems - (i)OLTP - (ii) DSS - Maintenance of Data warehouse - Data warehousing Life cycle - Data warehousing Testing Ute Cycle
    21st Century providing Online training and support on All Technologies. If you are seeking training and support you can reach me on 91-9000444287. Online training by real time Experts. Call us 001-309-200-3848 for online training - fo enquiry - contact@21cssindia.com

    ReplyDelete