Creating A Pivot Of Two Tables Using Date As The Primary Key

jkancler

New Member
Joined
May 21, 2014
Messages
8
I have two tables that are linked by Date using the DateStream table from the Azure Marketplace.


Data_WK_2014 table contains NET, COGS with date format: 5/7/2014 12:00:00 AM


Data_WK_Spend table contains MARKETINGSOURCE, SPEND with date format: 5/7/2014 12:00:00 AM


These two tables are linked to DATEKEY in the DateStream table, date format: 5/7/2014 12:00:00 AM


When I create a pivot table using Date in the row lable it will only sum values from one table. For example NET and COGS
are broken out by date however SPEND is shown in the aggregate GRAND TOTAL and not broken out by date. How do I break out spend by date along with net and cogs?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Just added the Date from DATE TABLE to the row and received this error message:

[TABLE="width: 1188"]
<tbody>[TR]
[TD="width: 1188"]ERROR - CALCULATION ABORTED: The expression referenced a relationship between 'Data_WK_Spend'[Date] and 'Date'[DateKey], which does not hold any data because it needs to be recalculated.

Not sure what that means. [/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Doh! I had it running in manual calculation mode. Just turned on automatic and the pivot table updated with the spend broken out by DATE. Thanks!

Just added the Date from DATE TABLE to the row and received this error message:

[TABLE="width: 1188"]
<tbody>[TR]
[TD="width: 1188"]ERROR - CALCULATION ABORTED: The expression referenced a relationship between 'Data_WK_Spend'[Date] and 'Date'[DateKey], which does not hold any data because it needs to be recalculated.

Not sure what that means.[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,223,996
Messages
6,175,867
Members
452,678
Latest member
will_simmo

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