Getting around many-to-many relationship

btreg

New Member
Joined
Feb 29, 2016
Messages
30
I have two tables of data in my Data Model:

Table 1 Field Names

Faculty Name
Scaling Factor Name
Scaling Factor Value

<tbody>
</tbody>

Table 2 Field Names

Activity Name
Scaling Factor Name

<tbody>
</tbody>

I want to create a Pivot Table that shows:

Activity Name (Row Heading)
Scaling Factor Name (Row Heading)
Faculty (Column Heading)
Scaling Factor Value (Values)

The link between the two tables is the 'Scaling Factor Name' field. However, there are multiple instances of the same values in both tables, so I can't create a relationship directly between them as this would be a many-to-many relationshipo which PowerPivot can't handle. I am aware that I can create a separate table of the unique Scaling Factor Names and link this table to both Table 1 and Table 2, however, I am struggling with how I then write a suitable measure to pick up the correct Scaling Factor Values.

Any help much appreciated.

Thanks in advance.

Ben
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,214,520
Messages
6,120,013
Members
448,935
Latest member
ijat

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top