HI,
I have inherited a 'hybrid' 3NF OLAP data warehouse where sometimes fact tables join to fact tables and fact tables have attribute fields as well as measures.
My question is where there is
Header Fact (1)
Detail Fact (M)
And both are joined via the Header Fact PK to form a single logical table source is there any way to reference the measures on the header such that they still add up?
Common sense tells me no, as you would need a means to pro-rate the header fact across the detail children, or the equivalent of sum(distinct measure by PK)
Am I correct, or is there any way to do this?
thanks for any input,
Robert.