Dear all,
I am using Win7 32bit, Excel 2013.
I have to work with excel-based data and need to create calculations that go beyond the limitations of excel which made me work with SAS in the past. With the new PowerPivot functionalities I am actually able to get my work done completely in Excel but started to face some issues on which I couldn’t find a solution yet. But up front I will explain what I am doing and what doesn’t work.
I have a calculation model that uses about 4 input tables, one of them is the primary table with the highest level of detail and the other tables are just additional ones that can be related to the primary. I basically just need to calculate a big amount of new variables based on the existing tables and then in the end I need to create an aggregated overview which works fine with pivot table functionalities.
My initial approach was creating for each table a separate workbook with just one worksheet in it for that specific table. Use then a new workbook where I have been using the POWER PIVOT functionalities to connect to external data (which are the mentioned workbooks) and build up the relationships between the tables. In the next step I create all the new variables with DAX functions and so on. And in the final step I create a pivot table which is aggregating the results.
Model Illustration can be seen here: View image: model pp
With having the tables linked as external data things work fine and I can for instance update the primary input file and will get the changes in my output pivot table.
Based on the output I actually will need to implement some VBA code which will need to adjust and update the primary input table. This is supposed to be an iterative run until a specific output variable value is reached. Therefore I planned to set everything up in just one excel sheet and use linked tables instead of external data connections.
I created in one workbook different worksheets for the tables, defined the relationships and made all PowerPivot calculations with having the primary table as a base. Then I created a Pivot table in a new worksheet to aggregate the results and doing it for the first time it worked fine.
Now, when I add different values in the primary table to create basically a new case to be calculated, I get serious problems. Copying some flat data in the primary table works fine, the formats are all the same by the way. Unfortunately the changes are not being taken over in the Data Model and of course the output Pivot table is not changed. Right click on the output Pivot and refreshing will lead to the following error message:
“We couldn’t get data from the Data Model. Here’s the error message we got:
A circular dependency was detected: xxx several varialbes are listed xxx”
At first I realized that I am not even using in the output these variables and just deleted them. Then it will just list in the same error message other variables.
I then went to the POWERPIVOT menu and clicked on “Update All” in the Tables section and got the following error:
“Errors in Linked Tables
There were errors trying to update one or more linked tables. Use Options below to see ways to fix these problems or OK to continue without fixing”
Options just gives me the choice to “Do Nothing”, “Remove Link to Excel Table” and “Delete Power Pivot Table”. Not very helpful.
Can anybody help me with these issues? I don’t get why linked tables is such an issue.
Any hint or just opinion could be helpful.
Many thanks.
I am using Win7 32bit, Excel 2013.
I have to work with excel-based data and need to create calculations that go beyond the limitations of excel which made me work with SAS in the past. With the new PowerPivot functionalities I am actually able to get my work done completely in Excel but started to face some issues on which I couldn’t find a solution yet. But up front I will explain what I am doing and what doesn’t work.
I have a calculation model that uses about 4 input tables, one of them is the primary table with the highest level of detail and the other tables are just additional ones that can be related to the primary. I basically just need to calculate a big amount of new variables based on the existing tables and then in the end I need to create an aggregated overview which works fine with pivot table functionalities.
My initial approach was creating for each table a separate workbook with just one worksheet in it for that specific table. Use then a new workbook where I have been using the POWER PIVOT functionalities to connect to external data (which are the mentioned workbooks) and build up the relationships between the tables. In the next step I create all the new variables with DAX functions and so on. And in the final step I create a pivot table which is aggregating the results.
Model Illustration can be seen here: View image: model pp
With having the tables linked as external data things work fine and I can for instance update the primary input file and will get the changes in my output pivot table.
Based on the output I actually will need to implement some VBA code which will need to adjust and update the primary input table. This is supposed to be an iterative run until a specific output variable value is reached. Therefore I planned to set everything up in just one excel sheet and use linked tables instead of external data connections.
I created in one workbook different worksheets for the tables, defined the relationships and made all PowerPivot calculations with having the primary table as a base. Then I created a Pivot table in a new worksheet to aggregate the results and doing it for the first time it worked fine.
Now, when I add different values in the primary table to create basically a new case to be calculated, I get serious problems. Copying some flat data in the primary table works fine, the formats are all the same by the way. Unfortunately the changes are not being taken over in the Data Model and of course the output Pivot table is not changed. Right click on the output Pivot and refreshing will lead to the following error message:
“We couldn’t get data from the Data Model. Here’s the error message we got:
A circular dependency was detected: xxx several varialbes are listed xxx”
At first I realized that I am not even using in the output these variables and just deleted them. Then it will just list in the same error message other variables.
I then went to the POWERPIVOT menu and clicked on “Update All” in the Tables section and got the following error:
“Errors in Linked Tables
There were errors trying to update one or more linked tables. Use Options below to see ways to fix these problems or OK to continue without fixing”
Options just gives me the choice to “Do Nothing”, “Remove Link to Excel Table” and “Delete Power Pivot Table”. Not very helpful.
Can anybody help me with these issues? I don’t get why linked tables is such an issue.
Any hint or just opinion could be helpful.
Many thanks.