Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hey guys,
I'm getting "DataFormat.Error" We reached the end of the buffer. error when I parse the below column.
[{"xxx":"UNA","xxx":"21","xxx":"UNA","xxx":"aaa","xxx":"1","xxx":"2","xxx":"12","WHATIWANTTOGET":"12345","XXX":"1234","XXX":"UNA","XXXX":"UNA"}]
Any tips on how to fix it?
Solved! Go to Solution.
The error you're encountering typically occurs when Power BI encounters unexpected data formatting while trying to parse a column. The column you're trying to parse seems to contain JSON-like structures, but the formatting may be inconsistent or non-standard.
Here are a few steps you can try to fix this issue in Power BI:
In Power Query, use the following steps:
If the above solutions don't work, create a custom column to extract the part of the JSON you want (i.e., "WHATIWANTTOGET":"12345") and manually process it. You can do this by using Text.Middle, Text.BeforeDelimiter, or similar Power Query functions to isolate the specific value.
Example of extracting "WHATIWANTTOGET":
Text.Middle([YourColumn], Text.PositionOf([YourColumn], "WHATIWANTTOGET") + 17, 5)
The error might also stem from encoding issues. Ensure the file or source you're importing is using a supported encoding format like UTF-8.
By trying these steps, you should be able to resolve the issue and successfully parse the JSON column.
The error you're encountering typically occurs when Power BI encounters unexpected data formatting while trying to parse a column. The column you're trying to parse seems to contain JSON-like structures, but the formatting may be inconsistent or non-standard.
Here are a few steps you can try to fix this issue in Power BI:
In Power Query, use the following steps:
If the above solutions don't work, create a custom column to extract the part of the JSON you want (i.e., "WHATIWANTTOGET":"12345") and manually process it. You can do this by using Text.Middle, Text.BeforeDelimiter, or similar Power Query functions to isolate the specific value.
Example of extracting "WHATIWANTTOGET":
Text.Middle([YourColumn], Text.PositionOf([YourColumn], "WHATIWANTTOGET") + 17, 5)
The error might also stem from encoding issues. Ensure the file or source you're importing is using a supported encoding format like UTF-8.
By trying these steps, you should be able to resolve the issue and successfully parse the JSON column.