Import Data Model From Power Pivot To Power BI

wsnyder

Board Regular
Joined
Sep 23, 2018
Messages
224
Office Version
  1. 365
Platform
  1. Windows
Hi all,

Trying to import the Data Model from Power Pivot to Power BI so I can document the Model using Power BI Model Documenter v2 by Marc Lelijveld.
However, I am getting an error:

Migration Failed: Object reference not set to an instance of an object

Has anyone seen this issue and know of a fix/workaround?

Thanks,
-w


1670943645584.png
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
As best as I can tell, you cannot import the Data Model - it just doesn't show up. The only thing I can think of (and I have NO experience with this) is that you pulled data into the Excel Data Model using one of the Excel Data Model methods:
1670956083539.png

so have no tables or sheets. In Excel, if you load the Data Model into at least a Pivot Table. That said, I've never seen that error, and can't make it happen!
 
Upvote 0
Thanks Jerry,

I created an Excel workbook with 365 dates in it - saved and closed.
I created a new Excel workbook, went to the Data Model, and imported the Calendar Workbook. - Saved and closed.
I created a new Power BI Data Model and imported the new Excel Workbook.
This small simple Power Pivot Data Model imported with no issue to Power BI.
There must be something about the other workbook or the Data Model in that workbook that is preventing me from importing it into Power BI.

1670962811703.png


Thanks
-w
 
Upvote 0
Resolved.

Steps:
  1. I made a copy of the Excel file.
  2. I deleted all sheets that did not contain a data source for the Data Model
  3. Saved. Closed
  4. In Power BI, I tried to import the copy of the file.
  5. Success!
 
Upvote 0
Solution

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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