I have a table in PowerPivot called ID which contains unique IDs for every combination in my financial data set of Profit Center and Cost Type. In Excel, in Column A, I have a list of each of these unique IDs. In Columns B & C, I want the Profit Center and Cost Types associated with each unique ID (there will be a lot more columns which are not coming from the ID table; this is just the first step in setting up a template for users to enter forecasts for each of their Profit Centers by Cost Type). In the old days, I'd just bring this data into a tab and do a vlookup based on the ID. But I am trying to keep this file as small as possible and cube formulas and PowerPivot seem to be the way to go.
My problem is that I can't get this to work and am about to give up and go back to a chisel and stone tablet!
Here are the formulas that I am using:
Cell C1
=CUBESET("PowerPivot Data","[ID].[ID].children","ID",5)
Cell A35 (ID)
=CUBERANKEDMEMBER("PowerPivot Data",C$1,ROW($A1))
Cell B35 (Profit Center)
=CUBEMEMBERPROPERTY("PowerPivot Data","[ID].[ID].["&A35&"]","Profit Center")
Any help would be greatly appreciated!
My problem is that I can't get this to work and am about to give up and go back to a chisel and stone tablet!
Here are the formulas that I am using:
Cell C1
=CUBESET("PowerPivot Data","[ID].[ID].children","ID",5)
Cell A35 (ID)
=CUBERANKEDMEMBER("PowerPivot Data",C$1,ROW($A1))
Cell B35 (Profit Center)
=CUBEMEMBERPROPERTY("PowerPivot Data","[ID].[ID].["&A35&"]","Profit Center")
Any help would be greatly appreciated!