Dynamic measure Power Pivot

ranco11

New Member
Joined
Jul 31, 2018
Messages
1
Hello everyone,

I have the following problem:

I have twoinput sheets in Power Pivot, one for data in 2013 and one for data in 2015.
Both sheets contain data for e.g. the retention rate of customers perproduct. Both data sets contain similar products.
For data in table with 2013 data I created a measure which calculates theaverage retention rate. In the output power pivot, I can easily display theaverage retention rate per product.


Now I wouldlike to show the retention rate per product from 2013 in the 2015 power pivottable for the same product as well (to compare results).

If I createin the 2015 table a new measure which simply links to the name of the retentionrate measure from 2013 I get as a result the same value shown (the averageretention rate of all products in 2013) for each product in 2015.
I tried to usecalculate or summarize function but nothing seems to work.

How can Idynamically (based on products shown in the 2015 power pivot table) show theresults of the measure from 2013 based on the product shown in the power pivot2015 table?

Thanks alot in advance for your help!
Martin
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
If the left hand column in your pivot table is product, for example, then you need to create a product dimension table. This is a table of all distinct products in both periods. Then add it tot the data model and link it to both of your fact tables.

If one of your two fact tables already has a complete and distinct column of products, then you can just use that as the product dimension table and link it to the other fact table.

Then add a year column to each of your fact tables (it will be the same value for every row).

then create a year dimension table and link that to your fact tables

Then in your pivot table, use the product column of the product dimension table as your left hand column and the year column in the year dimension table as the columns and write your measures to reference product and year dimensions.
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,050
Members
449,206
Latest member
Healthydogs

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