Question on Relationship in Dimension Usage
i created policy cube , wanted direct written premium different statuses. direct written premium field present in fact_policypremiumtransaction table. statuses present in dim_status table. there no direct relationship between fact_policypremiumtransaction table , dim_status table.
but dim_status table has relationship fact_policytransaction table status key
fact_policytransaction has relationship fact_policypremiumtransaction policy key.
when processed cube out providing relationship in dimension usuage between fact_policypremiumtransaction , dim_status. m getting repeating values direct written premium.
the granularity of both tables different. premium transaction have record if premium a policy gets changed..
please suggest on how establish relationship in dimension usage.
is there policy dimension (based on policy key) relates directly both fact_policytransaction , fact_policypremiumtransaction - or can add one? if so, can establish many-to-many relation between fact_policypremiumtransaction measure group , status dimension, using fact_policytransaction as intermediate measure group (and policy implicit intermediate dimension). note that, if policy has multiple fact_policytransaction records with different statuses, corresponding direct written premium accrue each of these statuses - want?
- deepak
SQL Server > SQL Server Analysis Services
Comments
Post a Comment