You can create lookup tables without creating absolute links in your PowerPivot model. Models that contain absolute file paths to text or Excel documents will fail to refresh. An example of an absolute file path might look like:
Our servers do not have access to your local resources, including any local or network drives.
To create a lookup table in your PowerPivot model that is based on an Excel or text file, follow the directions below.
- Open the file for which you want to add a reference and create a new sheet.
- Go to the Data tab in the Ribbon and click the Existing Connections button.
- Click the Browse for More button.
- Navigate to your file, select it, then click the Open button.
- Choose the table you want and click OK.
- In the Import Data window, select Table and then click OK. (Do not add the data to the Data Model.)
- Select the contents of the table you created and copy.
- Go to the PowerPivot tab in the Ribbon and click the Manage button.
- In PowerPivot, go to the Home tab, click the Paste button.
- Name the table and click OK.
- Close the PowerPivot window.
- In Excel, go to the Data tab in the Ribbon and click Connections button.
- Select the connection you just created and click the Remove button. (The connection name will be the same as the file name.)
- Optionally, you can delete the newly added sheet from the workbook.