APPLIES TO EXCEL 2007 AND LATER ONLY.
When you import an Excel workbook into Power BI, you may see the following error:
Error: We couldn't find any data formatted as a table. To import from Excel into the Power BI service, you need to format the data as a table. Select all the data you want in the table and press Ctrl+T.
Quick solution
- Edit your workbook in Excel.
- Select the range of cells that contain your data. The first row should contain your column headers (the column names).
- Press Ctrl + T to create a table.
- Save your workbook.
- Return to Power BI and import your workbook again, or if you're working in Excel 2016 and you've saved your workbook to OneDrive for Business, in Excel, click File > Publish.
Details
Cause
In Excel, you can create a table out of a range of cells, which makes it easier to sort, filter, and format data.
When you import an Excel workbook, Power BI looks for these tables and imports them into a dataset; if it doesn't find any tables, you'll see this error message.
Solution
-
Open your workbook in Excel.
Note
The pictures here are of Excel 2013. If you're using a different version, things may look a little different, but the steps are the same.
-
Select the range of cells that contain your data. The first row should contain your column headers (the column names):
-
In the ribbon on the INSERT tab, click Table. (Or, as a shortcut, press Ctrl + T.)
-
You'll see the following dialog. Make sure My table has headers is checked, and select OK:
-
Now your data is formatted as a table:
-
Save your workbook.
-
Return to Power BI. Select Get Data at the bottom of the nav pane.
-
In the Files box, select Get.
-
Import your Excel workbook again. This time, the import should find the table and succeed.
If the import still fails, let us know by clicking **Community **in the help menu:
Comments
0 comments
Please sign in to leave a comment.