Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Define Dimension Relationship in a strange schema

$
0
0
I have 3 tables and the schema does not really fit into a many to many or a referenced relationship. Please advice on how to define relationshipFactTable- exposure_amount (Pkey exp_id, Fkey exp_ps_id, exp_amount)DimTable1 exposure_settings (Pkey ps_id)DimTable2- exposure_cycles (Pkey pc_id, Fkey pc_ps_id, pc_name)I call it strange as exposure_settings is kind of a link table but not. Both Facttable(exposure_amount) and DimTable2(exposure_cycles) point towards DimTable1(exposure_settings)With this kind of schema, I cannot define a referenced relationship as exposure_settings does not have a Fkey to DimTable2(exposure_cycles)I cannot define a many to many relationship as exposure_settings does not have a Fkey pointing outwards towards DimTable2 and FactTable. I need to be able to browse exposure_amount at exposure_cycles level(pc_id)I am able to get to the granularity of ps_id but not pc_id. The granularity that I need is at the exposure_cycles. Please advice on this...Note: Consolidating the Dimensions is not an option because of the huge amount of data involved.TIA

Viewing all articles
Browse latest Browse all 1341

Trending Articles