This is not the document you are looking for? Use the search form below to find more!

Report home > Computer / Internet

Accumulated Snapshot Fact Table

0.00 (0 votes)
Document Description
Primary Key Join On Update FKey Does Affect Fact Grain Yes Yes No FKey Does Not Affect Fact Grain No No Yes In summary, accumulated snapshot fact tables should be considered when modeling a process which includes predefined states.
File Details
Submitter
Embed Code:

Add New Comment




Related Documents

Hot Air Drying of Green Table Olives

by: shinta, 8 pages

The characteristics of hot air-drying of green table olives (Domat variety) by using a tray dryer were studied. Air temperature varied from 40 to 70 °C with an air velocity of 1 m/s. ...

The Effect of Irrigation Schedules on Water Table Depth and Root Zone Soil Moisture

by: shinta, 7 pages

ndiscriminate use of irrigation water, particularly in existing areas of shallow water table, can result in further water table rise leading to water logging and secondary salinity ...

Effect of irrigation on fruit quality of table olives (Olea europaea), cultivar 'Ascolana tenera'

by: shinta, 5 pages

This trial was carried out to study the relationship between irrigation and vegetative and productive activity and fruit quality of table olives (Olea europaea), cultivar 'Ascolana ...

Mock Test Time Table- April 2010(CHSE)

by: Mord, 1 pages

Mock test time table 2010 for CHSE students.

Breading Table (Manual)

by: fabristeel2010, 14 pages

Breading Table

Time Table

by: Keith, 1 pages

Time Table

Truth table

by: Aaron Cronin, 1 pages

Truth table for coursework

Qada table

by: Haarith, 1 pages

Qada table for helping you making up for your salah

A STATE OF TRANCE 500: DEN BOSCH - Time table

by: Ingo, 1 pages

A STATE OF TRANCE 500: DEN BOSCH - Time table

Teds Woodworking - How To Make Coffee Table

by: marysa, 2 pages

Teds Woodworking - How To Make Coffee Table

Content Preview
Accumulated Snapshot Fact Table
When creating a model to describe a process that has a clear beginning, end, and phases in between,
the accumulated snapshot fact table may be a good fit. Ralph Kimball has a very nice summary of
this option in his Kimball data warehouse whitepaper titled, "Kimball Design Tip #37: Modeling a
Pipeline with an Accumulating Snapshot" found here. This post describes the characteristics of an
accumulated snapshot fact table at a high level.

Each fact record represents an instance of an entire process such as a sales purchase, insurance
claim, or academic admission. Typically a series of date role play dimensions are part of the design.
The fact record will contain some foreign keys that are required & other foreign keys which will
initially point to an unknown member and will later be updated. Foreign key updates will occur as
information becomes available.
Measures will be updated as data becomes available. Typically, this update occurs at the same
time as the related foreign key updates. For example; a sales order accumulated snapshot fact table
may have a date role play foreign key called FK_PaidDate. There may also be a measure called
PaidAmount. These two values would typically become available at the same time and cause the
fact to be updated.
The fact grain is equal to the fixed foreign keys. For example; FK_Claim would be fixed
(required) in a accumulated snapshot fact table representing insurance claims. A series of

FK_Dates (role play) would be updated as the claim moves through the process of being evaluated
and eventually closed. In this case FK_Claim is the grain of the fact table.
To support such a design we need to evaluate a few options for each foreign key. All measures will
be updateable.
Should the foreign key be part of the fact primary key?
Should the foreign key be included in the logic used to determine if a fact exists when
loading?
Should the foreign key be updatable?
If a foreign key needs to be updated, then it cannot participate in the fact table grain. Likewise, the
foreign key cannot be used to determine if a fact already exists when loading the fact table. Finally,
if this is the case the foreign key does need to be updateable.
The following matrix summarizes the foreign key handling decision based on whether the foreign
key affects the grain of the fact table. In our above example FK_Claim would affect the grain, but
FK_PaidDate would not.

Primary Key
Join On
Update
FKey Does Affect Fact Grain
Yes
Yes
No
FKey Does Not Affect Fact Grain No
No
Yes
In summary, accumulated snapshot fact tables should be considered when modeling a process which
includes predefined states. LeapFrogBI greatly simplifies development tasks by providing a single
foreign key definition checkbox option. Checking the box treats the foreign key as required &
uncheck to designate that it is updatable. The rest is handled behind the scenes without further
developer involvement.



Download
Accumulated Snapshot Fact Table

 

 

Your download will begin in a moment.
If it doesn't, click here to try again.

Share Accumulated Snapshot Fact Table to:

Insert your wordpress URL:

example:

http://myblog.wordpress.com/
or
http://myblog.com/

Share Accumulated Snapshot Fact Table as:

From:

To:

Share Accumulated Snapshot Fact Table.

Enter two words as shown below. If you cannot read the words, click the refresh icon.

loading

Share Accumulated Snapshot Fact Table as:

Copy html code above and paste to your web page.

loading