Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Fact and Fact Types Dwh CONCEPT

Fact and Fact Types Dwh CONCEPT

Ratings: (0)|Views: 1,728 |Likes:
Published by Deepanshu

More info:

Published by: Deepanshu on Jul 13, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less





Fact and Fact types – DWH Concepts
July 10, 2009 byDeepanshu Mehta 
Types of FactsT
here are three types of facts:
: Additive facts are facts that can be summed up through all of thedimensions in the fact table.
: Semi-additive facts are facts that can be summed up for some of the dimensions in the fact table, but not the others.
: Non-additive facts are facts that cannot be summed up for any of the dimensions present in the fact table.Let us use examples to illustrate each of the three types of facts. The first exampleassumes that we are a retailer, and we have a fact table with the following columns:
DateStoreProductSales_AmountThe purpose of this table is to record the sales amount for each product in each store on adaily basis.
is the fact. In this case,
is an additive fact, because you can sum up this fact along any of the three dimensions present in the facttable — date, store, and product. For example, the sum of 
for all 7 days ina week represent the total sales amount for that week.Say we are a bank with the following fact table:DateAccountCurrent_BalanceProfit_MarginThe purpose of this table is to record the current balance for each account at the end of each day, as well as the profit margin for each account for each day.
are the facts.
is a semi-additive fact, as it makessense to add them up for all accounts (what’s the total current balance for all accounts inthe bank?), but it does not make sense to add them up through time (adding up all current balances for a given account for each day of the month does not give us any usefulinformation).
is a non-additive fact, for it does not make sense to addthem up for the account level or the day level.

Activity (14)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Chaitu Bachu liked this
Bala Chuppala liked this
Bala Chuppala liked this
rajesh18_kandpal liked this
venki1984 liked this
venki1984 liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->