Combining two data table

sathish_Japan

New Member
Joined
Feb 6, 2016
Messages
2
Hi Everyone,
I have two tables one with revenue & cost.
I want to combine both.my situation is as below,
Data table

Table I
nature Product Customer Revenue
Revenue A ABC 100
Revenue B DEF 200
Revenue C GHI 300

Table II
nature Product Customer cost
Cost A ABC 60
Cost B DEF 120
Cost C GHI 180


Power Pivot mapping - I have mapped the products


Current Result - I get two different column one for revenue & one for cost


Row Labels Sum of Revenue Sum of Cost
Revenue 2100 1260
Cost 2100 1260


Expected result : I just need one help that gives both revenue & cost.

Row Labels Amt
Revenue 2100
Cost 1260

Can you please help?

Thank you so much for taking time to look into this
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Create a third table called product that contains a complete of all the possible products. Remove the current relationship and instead join both data tables to the new product lookup table. Use the lookup table on the pivot table rows.

Read about data structure in my knowledge base here
The Optimal Shape for Power Pivot Data -
 
Upvote 0
Create a third table called product that contains a complete of all the possible products. Remove the current relationship and instead join both data tables to the new product lookup table. Use the lookup table on the pivot table rows.

Read about data structure in my knowledge base here
The Optimal Shape for Power Pivot Data -

If I create third table, I still need to add revenue & cost seperatly so there would data against a product in two column & not single column
 
Upvote 0
Are you asking a question? If so, I don't understand what it is. Just create the third table and join it as I described. Put the column from the third table on the rows of your pivot table, then add the 2 columns to be summed just like you described in your original post.
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,918
Members
449,195
Latest member
Stevenciu

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