SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


multi level fact table


multi level fact table

Author
Message
scottcabral
scottcabral
Old Hand
Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)

Group: General Forum Members
Points: 330 Visits: 570
Hi,

I am trying to model an insurance claims process that contains 2 levels.

Each claim has a main occurrence number. This is the main ID for a claim.

Each occurrence number has 1 or many features. Features are what hold the measures or amounts for each claim transaction.

Occurrences have the following attributes:

-Report Date

-Loss Date

-Employee

-Insured Name

-Line of Business

-State

Features have the following Attributes:

-Peril

-Close Date

-Feature Type

-Cat Event

Features also contain the measures for each claim:

-Loss Paid Amt

-Loss Reserve Amt

-Expense Paid Amt

-Expense Reserve amt

What I would like to do is be able to build a dimensional model that will allow me to report claims at the occurrence level with aggregated measures for each claim, and also allow me to drill down on each occurrence to get to the feature level data.

Is it better to try and build 2 separate fact tables at each level or is it better to have both the occurrrence and feature data in 1 fact table?

thanks for your help.
Martin Schoombee
Martin Schoombee
SSCarpal Tunnel
SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)SSCarpal Tunnel (4.1K reputation)

Group: General Forum Members
Points: 4139 Visits: 4546
I would start with one fact table at the highest level of granularity (features in your case). It will be easy enough to create a summarized fact table at the claim level if there is a compelling reason to so in the future.



scottcabral
scottcabral
Old Hand
Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)Old Hand (330 reputation)

Group: General Forum Members
Points: 330 Visits: 570
Thanks,

that was the path i was thinking about taking, just wanted another point of view Smile
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search