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

Multiple Many-to-Many Relationship

$
0
0

Hello all,

 

I am trying to create or simulate 2 many-to-many relationships with my data tables so that I can filter the visualizations properly.

 

Here is simplified version of my problem:

 

Table 1 - Overall Score

Total.png

 

Table 2 - Question Scores

Questions.png

 

I am using the first table to show the overall scores for a given Location over time (year by year), and another visualization to show each locations overall score for a given year.

 

I want to use the 2nd table to show the questions and respective score filtered by location and by year.  This will appear in an accompanying visualization (ie. a table)

 

I need to create a relationship between Table1[year] and Table2[year], AND a relationship between Table1[Location] and Table2[Location].  As you can see, both are many-to-many relationships.

 

With a bridge table, I can easily create one of those relationships and my visualizations adjusts according to the filter.  I tried to create two bridge tables, but it failed miserably.  I am new to PBI and DAX...

 

Please note that I cannot derive the overall score from Table2.  The algorithm is not a straightforward average and I am not privy to the calulcate method used.


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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