Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Dom33
Regular Visitor

Truncated text fileds when importing data from a JSON file

Hi,

I have a JSON file with a variable text field whose length can exceed 2000 characters. When I import the file into PowerBI, the text field is truncated to 1023 characters.
How can I avoid this problem?

1 ACCEPTED SOLUTION

Hi,

I found a solution to my problem.
Change the import query:
   - add a change of type on the column (change from non-determined to text)
After this adjustment, the column is no longer truncated 🙂

View solution in original post

4 REPLIES 4
v-qiuyu-msft
Community Support
Community Support

Hi @Dom33,

 

I have reported this issue internally, will update here if I get feedback.

 

Best Regards,
Qiuyun Yu

Community Support Team _ Qiuyun Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

I found a solution to my problem.
Change the import query:
   - add a change of type on the column (change from non-determined to text)
After this adjustment, the column is no longer truncated 🙂

Anonymous
Not applicable

My datatype is already text and still the data is coming out as truncated

vross
Frequent Visitor

I don't find that this fixes the problem when my text is in an excel table.  (Using Power Query inside Excel).

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.