Two tables in one pivot, formula based on x and y axis (data model?)

regresss

Board Regular
Joined
May 20, 2015
Messages
68
Hi there, I have two tables: one is a list (5,000 rows), second is a table (10 rows x 30 columns).

Can I merge both tables in pivot (axis x = list, axis y = table) and define a formula that uses values from both x and y axis inside pivot table?


I currently create pivot for both table and then just type in formula but that does not seem efficient. I also managed to get table together through data model but how to define formula for common part where I refer to value on x axis and values on y axis? Calculated fields are greyed out, there are only sets.

pivot.png

What if I had three tables? Three dimensional model with formula?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Watch MrExcel Video

Forum statistics

Threads
1,129,717
Messages
5,637,951
Members
416,994
Latest member
cappiccolo

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
Top