Creating a relationship between two tables of unpivoted survey data.

Malvolio

New Member
Joined
Oct 18, 2022
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Creat

Hopefully someone can help me!

I have a spreadsheet of survey data which contains one multi select question. Each option for the multi select question appears in its own column in the raw data.

I have given each row in the data a unique identifier(numbers). This column is called ID.

I have used power query to create two tables:

Table one: contains the unpivoted multi select data.
Table two: contains all of the single select answer data.

Obviously table one contains duplicates of the of the unique identifier. Table two doesn't contain duplicates.

I want to be able to cross tab between the two tables. I have tried creating a relarionship between the ID column on each table, but this doesn't allow me to cross tab between the two tables.

I have also tried creating a key table with no duplicates and using it as a bridge table

What am I missing here?
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,240
Messages
6,170,951
Members
452,368
Latest member
jayp2104

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