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

Multiple cascading many-to-many relationship - SSAS 2012 Tabular

$
0
0

Hi,

I'm implementing a SSAS 2012 Tabular model and perhaps I'm encountering a multiple cascading many-to-many scenario.

In brief, I've this situation:

- Fact table (M) related to the table A (1);

- table A (N) related to B (M) by Bridge_A_B (1:1);

- table B (N) related to C by Bridge_B_C (1:1);

- table B is the lookup table for table G (M).

So I have the cascading M2M relationship A-B-C. Also SSAS Tabular don't manage M2M natively, I've created a particular measure to solve this kind of relationship. I can use a column of C table as a filter for my measure successfully. But I need to filter my measure also for a column of G table. I remember that for one B table row I could have m G table rows.

Now, how I can calculate my fact measure in order to filter respect a B column and a G column?

It seems that the relation between B and G causes a sort of branch of the above cascading M2M relationship.

Thanks



Viewing all articles
Browse latest Browse all 14337

Trending Articles



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