Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Ambiguity in a direct active relationship between fact and snowflake dimensions

$
0
0

Good day!

 

I have a fact table FactSessions which is linked to two dimensions DimDepartment and DimClient. Both Dimensions have a shared location snowflaked dimension DimGeography like in the screenshot below to specify part of address like Suburb/State/Postocode.  However, PowerBI disables one of the relationships to one of main dimensions (in this case DimClient) due to possible ambiguity for DimGeography table per warning below (taken as I tried to activate that relationship). I have searched the forums and found couple of issues related to joining same dimension to multiple fact tables which suggests changing cross filter direction to 'Single' from 'Both'. But my scenario is slightly different and all cross filter directions in this case are 'Single' . I understand how powerbi may be confused with respect to relationship to DimGeography, but from use prospective DimGeography is not standalone an relates to DimClient and DimDepartment, meaning it will be either clients or departmen's state/suburb/postcode. How should this kind of ambiguity be resolved? Should I flatten out each dimension DimClient and DimDepartment to include its own postcode/state/suburb? It looks like surely will work, but is there a way to achieve it with current design?

 

Thanks,

-Yuriy

 

P.S. I tried to change cross filter direction to 'Both' between DimGeography and mother dimensions DimClient and DimGeography to look each snowflake dimension like one flattened but ambiguity would not go away.

 

Model.JPGWarning.JPG


Viewing all articles
Browse latest Browse all 213819

Trending Articles