scottcabral1979
Programmer
Hi,
I'm designing a monthly periodic snapshot fact table that will have every homeowner's insurance policy that is active at the end of each month.
Each policy has many attributes including policy number, effective date, expiration date, agent, territory, distance from coast, number of family, usage type, New or Renewal Code, and others. The measures in the fact table will include written premium, earned premium, coverage A/B/C/D amounts, deductible amount, and total exposure.
My question is should I have the Policy Number as a Degenerate Dimension in the fact table and create dimensions for all of the policy fields listed above, or should I create a policy dimension that will store certain attributes that may not need their own dimension?
I'm not sure what the best approach would be given the grain of the fact table. Looking for some advice.
thanks
I'm designing a monthly periodic snapshot fact table that will have every homeowner's insurance policy that is active at the end of each month.
Each policy has many attributes including policy number, effective date, expiration date, agent, territory, distance from coast, number of family, usage type, New or Renewal Code, and others. The measures in the fact table will include written premium, earned premium, coverage A/B/C/D amounts, deductible amount, and total exposure.
My question is should I have the Policy Number as a Degenerate Dimension in the fact table and create dimensions for all of the policy fields listed above, or should I create a policy dimension that will store certain attributes that may not need their own dimension?
I'm not sure what the best approach would be given the grain of the fact table. Looking for some advice.
thanks