Trace dependencies

masplin

Active Member
Joined
May 10, 2010
Messages
413
Hi Is there any way to trace dependencies in powerpivot to see what other columns or measures are depend on a particular measure? I want to make a change to a formula, but need to check it is only being used the the places I think I'm using it.

Thanks
Mike
 

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 you are only concerned with other measures referring to that measure, I have a trick for you. (I have a way to inspect all measure formulas as a single text file).
 
Upvote 0
hi Rob. that sounds perfect if you are willing to share. Just want to see if I change a measures formula what other things are affected.

Mike
 
Upvote 0
I'll probably do a full blog post on this soon, but for now:


  1. Rename the XSLX to .ZIP
  2. Go into the CustomXML folder
  3. Find the XML file that contains the text “CREATE MEASURE” somewhere near the end – that is usually the largest xml file but not always
  4. Copy every line that starts with CREATE MEASURE – those are your measures. At that point some Ctrl-F find will help you find any references to your measure in question

I really, really like that you have a model with another interdependent measures to need this. A sign of some truly awesome usage. (We have this problem all the time but we tend to be the exception).
 
Last edited:
Upvote 0
I needed a whole A4 sheet of paper to write down the trail of just one of my measures!! It's a complex beast these days!!!

Thanks for the tip
 
Upvote 0
You can use this step as well to check the dependencies of your measure.

Data- Connections- MAnage Sets - New- Create Set Based on Columns/Rows items - Select you measure - Edit in MDX - will give you the details that your looking for
 
Upvote 0
I got as far as new set and selected users[repeat users] which is the calculated column I created in table users that I want to trace. I pressed insert but then got "set creation has failed". Also I'm not familiar with MDX having come to poverpivot form being a basic excel user.
 
Upvote 0

Forum statistics

Threads
1,223,931
Messages
6,175,465
Members
452,646
Latest member
tudou

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