PowerPivot Linked Table and Key Values

twilson

New Member
Joined
Jul 19, 2011
Messages
3
Hi- new to the forum. I have a table in Excel that is dynamic-changes based on parameters. We'll call this table "ExcelDynamicTable." I have linked this table to a table in Powerpivot. We will call this "PPTable." Column A in PPTable has my primary key and I want to use it to create relationships with other tables.

When I update my ExcelDynamicTable sometimes it returns more rows- sometimes smaller rows (hence it is Dynamic). When it returns smaller rows, the PPTable refreshes and holds over the blank values-- so when I try to create relationships is says it does not have unique values! (It is counting the blank cells as non-unique fields). I've tried naming my ExcelDynamicTable a dynamic named range- that doesn't work as PowerPivot only uses the first reference of the first instance of named range.

Has anyone else experienced any similar problems? Any thoughts or help would be very much appreciated.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
I assume your table is still actually defined as a Table? Does it get data from somewhere else, or is it manually entered? If the former, do the additional blank rows still appear as part of the table in Excel? (and is there a reason for not connecting directly to the source in PP?)
 
Upvote 0
Thanks for getting back to me. I have resolved the issue by creating another table that uses the dynamic table as a data source. In answer to your questions though- yes it is defined as a table and it gets it's source from a separate table which is a connected to a sql server database. The reason I am not directly connected to the sql table is because I have to perform calculations on the connected table. (I have to project dates which are beyond the current date.) In other words the table is simply a prepping stage for the data. Thanks again for your reply. It is good to know help is out there!
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

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