How to resolve dataformat.errors in Power BI?

February 2023 · 3 minute read

XINSTALL BY CLICKING THE DOWNLOAD FILE

To fix various PC problems, we recommend DriverFix:
This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  • Download DriverFix (verified download file).
  • Click Start Scan to find all problematic drivers.
  • Click Update Drivers to get new versions and avoid system malfunctionings.
  • While trying to make changes to the Power BI Service database like adding additional tables to the SQL database, Power BI users may encounter various data format errors. Some of the error includes DataFormat.Error: We reached the end of the buffer or power bi dataformat.error external table is not in the expected format.

    If you are also troubled by this Power BI errors, here are a couple of troubleshooting tips to resolve the issue for a few Dataformat.errors.

    How to fix common dataformat.errors in Power BI

    1. DataFormat.Error: We reached the end of the buffer

    Fix dataformat.errors in Power BI
    Check the File Size

  • If the error occurs when you try to import data from multiple files simultaneously then it can be due to issues with the File Size.
  • Check the json file size to make sure it is not related to your file size.
  • Wait, Wait and Wait!

  • If it is a temporary issue then there is no point in trying to troubleshoot the issue out of your comfort zone.
  • Users have reported that the data format error was resolved automatically after a day or two.
  • So, check with the Power BI support in case the issue is at their end.
  • If the issue persists, do the following.

  • If you are doing PowerQuery, try to abandon it and set up a staging table in SQL database that parses the JSON using T-SQL.
  • Learn more about adding filters in Power BI by reading this guide.

    2. Power BI dataformat.error external table is not in the expected format

    Save the File with Excel

  • If you are trying to use excel file imported from third-party software like accounting software, then it can have minor XML schema errors.
  • While these errors can be ignored by the Excel app but results in an error when used with Power Query.
  • One way to resolve this issue is to open the problematic Excel file in Excel app and resave it.
  • Now import the same file in Power Query and check if the error occurs again.
  • This can be a time-consuming task if you have many files to work with. However, as a workaround, you can get through the issue until a reliable fix is found.
  • Change Type in Applied Steps

  • First import the file you want to use.
  • In the Navigator window, click on the Edit button beside the Load button.
    Fix dataformat.errors in Power BI
  • From the right pane, under Applied Steps, delete Change Type step.
    Fix dataformat.errors in Power BI
  • Click on Close and Apply.
  • If the issue persists, try removing initial changed of for date data type from number to text.

    3.  Power BI dataformat.error invalid cell value #name/ #ref

    Fix dataformat.errors in Power BI

  • Try to correct the error in the Excel app before importing it.
  • Check if any of the Excel formulae have #N/A value which is the root cause of this issue. Replace the value with Null or space.
  • RELATED STORIES YOU MAY LIKE:

    ncG1vNJzZmivmaOxsMPSq5ypp6Kpe6S7zGibmqyRm7yzucCtZJ6qoqS%2FtHnIp2Spp6eav26uyGg%3D