Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the different types of Fatcs?
Explain with example only

Answer Posted / hariharan v

There are four types of facts available in it.
1) Factless Fact
2) Coverage Fact
3) Incident Fact
4) Snapshot fact

Examples :
1) Factless fact:
Consider a school, where a single student may be taught by
many teachers and a single teacher may have many students.
To model this situation in dimensional model, one might
introduce a fact-less-fact table joining teacher and
student keys. Such a fact table will then be able to answer
queries like,
a. Who are the students taught by a specific teacher.
b. Which teacher teaches maximum students.
c. Which student has highest number of teachers.etc. etc.

2) Coverage fact:
A fact-less-fact table can only answer 'optimistic' queries
(positive query) but can not answer a negative query. Again
consider the illustration in the above example. A fact-less
fact containing the keys of tutors and students can not
answer a query like below,
a. Which teacher did not teach any student?
b. Which student was not taught by any teacher?

Why not? Because fact-less fact table only stores the
positive scenarios (like student being taught by a tutor)
but if there is a student who is not being taught by a
teacher, then that student's key does not appear in this
table, thereby reducing the coverage of the table

Coverage fact table attempts to answer this - often by
adding an extra flag column. Flag = 0 indicates a negative
condition and flag = 1 indicates a positive condition. To
understand this better, let's consider a class where there
are 100 students and 5 teachers. So coverage fact table
will ideally store 100 X 5 = 500 records (all combinations)
and if a certain teacher is not teaching a certain student,
the corresponding flag for that record will be 0.

3) Incident Fact:
A fact table stores some kind of measurements. Usually
these measurements are stored (or captured) against a
specific time and these measurements vary with respect to
time. This is example of an Incident Fact.

4) Snapshot Fact:
Take the example of the incident fact. Now it may happen
that the business might not able to capture all of its
measures always for every point in time. The above
unavailable measurements can be kept empty (Null) or can be
filled up with the last available measurements. This is the
example of snapshot fact.

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I know of using applysimple, but there are other ways too?

905


What is the difference between view filter and report filter?

879


Explain the advantages of raid 1, 1/0, and 5. What type of raid setup would you put your tx logs.

854


What is a linked cube?

933


What is the difference between filter and lookup transformation?

1023


What is the difference between dependent data warehouse and independent data warehouse?

939


Explain what are the various file formats involved in reportnet?

867


What are the advantages of cold fusion?

905


What is the difference between olap and datawarehosue?

897


What is a full backup?

907


What is surrogate key? Where we use it?

932


Explain the importance of data warehouse?

944


How would you write a simple stored procedure in tsql which takes a movie_id and returns all the directors associated with it?

956


How to generate iqd file from framework manager?

900


How to explain any (sales) project in interview.actually feom where report developer work starts?pls reply as soon as possible?

855