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.
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).
I'll probably do a full blog post on this soon, but for now:
Rename the XSLX to .ZIP
Go into the CustomXML folder
Find the XML file that contains the text “CREATE MEASURE” somewhere near the end – that is usually the largest xml file but not always
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).
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
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.
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.