Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Slice measure group by dimension related to another measure group

$
0
0

Hello everyone,

My users are wanting to slice one measure group via a dimension related to a different measure group.  I have regular relationships here: Dim_SalesStatus <- Fact_Sales -> DD_Link <- Fact_Mfg, and Fact_Mfg has a many-to-many relationship to Dim_SalesStatus  (through intermediate measure group, Fact_Sales). The DD_Link is a degenerate dimension that I created with the LinkId's that exist in the Fact_Sales table.  The Fact_Mfg records may or may not have a LinkId. Processed great, no problem. I was testing the configuration by finding multiple LinkId's that *are* in both fact tables in the data warehouse, then seeing if I can slice. If I slice by only the LinkId, they show the correct counts on both sides as 1.  In my following example, I have two LinkId's (12345 and 67890).

  • DD_LinkId, Fact Sales count, Fact Mfg count, MfgQuantity
    12345, 1, 1, 387
    67890, 1, 1, 50

As soon as I try to slice by the SalesStatus, the Fact_Mfg count goes to null on some (not all). It seems like it can’t find the data through the relationship.

  • Sales Status, DD_LinkId, Fact Sales count, Fact Mfg count, MfgQuantity
    Incomplete, 12345, 1, (null), (null)
    Incomplete, 67890, 1, 1, 50

I'm not sure what could be the issue, it looks to be all setup correctly to me.  LinkId 12345 is not behaving the way I would expect, but 67890 is, and I'm not seeing any differences in the way the data is setup in the DW.  What can I check/verify?

Thanks in advance for your help!

Jarret





Viewing all articles
Browse latest Browse all 14337

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>