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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ManviJ
Frequent Visitor

Memory error

Hi, I am fetching my data from postgres(direct query), where in the table I have two fields as response payload and request payload in the json format, and when I drag and drop the response payload in my table visual, I am facing this error issue atached in the image. Please help if anyone can.

thankyou in advance 
ManviJ_0-1741780326945.png

 

1 ACCEPTED SOLUTION

Hi @ManviJ,

 

The error likely occurs because power bi in direct query mode cannot handle very large text fields like full JSON payloads. Oversized strings can cause memory allocation failures when rendering visuals.

  • Avoid dragging full JSON strings into visuals, instead extract only key fields needed.
  • If you need to display the full JSON, use the HTML Content visual from the app source. Wrap it in a <pre> tag for formatting and use this field inside the HTML visual.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

View solution in original post

7 REPLIES 7
ManviJ
Frequent Visitor

The solution was to create a html view with my json string

Hi @ManviJ,

 

The error likely occurs because power bi in direct query mode cannot handle very large text fields like full JSON payloads. Oversized strings can cause memory allocation failures when rendering visuals.

  • Avoid dragging full JSON strings into visuals, instead extract only key fields needed.
  • If you need to display the full JSON, use the HTML Content visual from the app source. Wrap it in a <pre> tag for formatting and use this field inside the HTML visual.

 

If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

 

Thanks and regards,

Anjan Kumar Chippa

v-achippa
Community Support
Community Support

Hi @ManviJ,

 

Thank you for reaching out to Microsoft Fabric Community.

 

Thank you @Deku for the prompt response.

 

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided by the super user resolved your issue? or let us know if you need any further assistance.
If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Hi @ManviJ,

 

We wanted to kindly follow up to check if the solution provided by the super user resolved your issue.

If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.

 

Thanks and regards,

Anjan Kumar Chippa

Deku
Super User
Super User

String have a max size in Power BI. You could split the payload into multiple rows or reduce its size in some why.

What are you trying to do?


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!
ManviJ
Frequent Visitor

I am trying to create a API service logs reports to track the APIs performance where I would require this payload, is there any way to break it in some efficient manner?

Do you really need the entire payload?

Could you truncate it or provide a link into it?


Did I answer your question?
Please help by clicking the thumbs up button and mark my post as a solution!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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