Mashing up different tables in PowerPivot/ using hierachies

Jan-Philipp

New Member
Joined
Mar 12, 2013
Messages
2
Hey everyone,

maybe someone can help me, I have a problem in mashing up two different tables in PowerPivot for further Pivot analysis.

  1. The 1st table „Analytics Input“ contains export data from Google Analytics and can be updated automatically. It contains information about advertising campains and the columns are Source, Campaign, Date and Visitors.
  2. The 2nd table „Cost Input“ contains various cost and performance metrics about the same advertising campaigns. Columns are Campaign, Campaign ID, Date, Spent, Impressions, Clicks etc.


Although both tables relate to the same campaigns, they cannot be mashed up directly, since the campaigns are not always named the same way in the two tables. Consequently, I created sort of an „Campaign Converter“ matching the campaigns from the 1st table to the ones from the 2nd table via the Campaign ID in the 2nd table. You’ll find this one as a 3rd table, called „Campaigns“.

I also created a 4th table with a single list of dates in order to match the first two tables.

Both the „Analytics Input“ and the „Cost Input“ are connected to the „Campaigns“ table as well as tot he „Date“ – table. The relationships are also shown in the screenshots attached.

Although the present data model allows for deeper Pivot analysis, I still have some problems if it comes to some special operations. For instance, it is not possible to display Source from the „Analytics Input“ in rows in the Pivot table. Excel suggests that relationships between tables might be needed. Unfortunately I cannot math the 1st table directly to the 2nd table because the 2nd table does not contain a Source column. Can this problem be solved for instance by using hierachies? (Note: One campaign can be related to several Sources and vice versa one Source can be related to several campaigns.)

Do I have to change the relationships between the tables or even the whole data model?

Find some screenshots following these links:
Imageshack - analyticsinput.png
Imageshack - costinput.png
Imageshack - campaigns.png
Imageshack - datesp.png
Imageshack - tablerelationships.png
Imageshack - tablerelationshipsindia.png
Imageshack - pivoty.png

Thanks a lot in advance! Please let me know in case the problem is not clear or if you need further information!

Best,
JP
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,938
Messages
6,175,526
Members
452,651
Latest member
wordsearch

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