Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Power View Matrix with Many to Many relationships

$
0
0
Hi there,

I have a Tabular Model with a couple of Many-To-Many relationships:

1) Table1 - BridgeT12 - Table2 - BridgeT23 - Table3 - FactTable

2) Table4 - BridgeT45 - Table5 - FactTable

I have created Calculated Measures using DAX in the Model to express these relationships above as following:

RowCount_M2M_1:=IF(ISCROSSFILTERED('Table1'[Name]),
CALCULATE(
     [RowCount], 
     'Table3', 
     'BridgeT23',
     'Table2',
     'BridgeT12',
     'Table1'),
[RowCount])

RowCount_M2M_2:=IF(ISCROSSFILTERED('Table4'[Name]),
CALCULATE(
     [RowCount_M2M_1], 
     'Table5', 
     'BridgeT45',
     'Table4'),
[RowCount_M2M_1])

In PowerPivot I am getting the correct figures for a Matrix like this:



But in Power View, it seems it is not able to handle more than one M2M relatinships in the same Matrix, whenever I drag Table 1, the Table 4 becomes unavailable (greyed out) and the same if I drag Table 1, Table 4 is greyed out.


Is there any way to build a Matrix in Power View using the Calculated Measure, the Table 1 in the columns and the Table 4 in the Rows?


Thanks and best regards,
Joss



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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