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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
subhendude
Microsoft Employee
Microsoft Employee

While attempting to store a string, a string was found that was larger than the page size selected.

I'm facing an issue while binding the datasouce with a table visual in Power BI. My datasource details are given below

It has around 17000 rows and 9 fields. There is a text field "errordetails" which contains characters ranging from 40 to 74000 in the different rows.

Binding the above datasource displayed the following error message

subhendude_0-1659069175417.png

However if I remove the "errordetails" field from the table visual, it worked fine.

It looks like the issue might be because of large number of characters overflowing the memory page size. Do we know what is the limitation of number of characters that can be considered for a text field? Any other suggestion would also welcome.

 

Thanks

5 REPLIES 5
abagarw_microso
Microsoft Employee
Microsoft Employee

We are encountering same error.

Note that we are using Fabric Capacity F1024 SKU and are in DIRECT LAKE mode.

Interstingly we checked the max size we have for the attribute that is throwing error is 8000 characters.

Also this worked fine when we were in IMPORT MODE.

abagarw_microso_0-1715719090905.png

 

subhendude
Microsoft Employee
Microsoft Employee

Thanks Theo!

Though I tried to restrict the length 32766, still same issue persists

errorDetails = iff(strlen(errorDetails) > 32766, substring(errorDetails, 1, 32766), errorDetails)

@abagarw_microso It's still likely to cause the error given the maximum is 32766.  So it may need to be shortened prior to the load. Maybe do the conditional statement in Power Query and then apply it so that it doesn't need to process this in Power BI Canvas.

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

TheoC
Super User
Super User

Hi @subhendude 

 

"In summary, then, there are two different practical limits on the maximum length of a text value in Power BI: the 32766 character limit on text being loaded into Power BI, and the 2.1 million character limit in DAX functions."- Chris Webb

 

https://blog.crossjoin.co.uk/2019/05/17/maximum-length-text-value-power-bi/#:~:text=Once%20you've%20....

 

Guessing that the 74000 characters is causing it given the maximum is 32766.

 

All the best.

Theo 

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

TheoC
Super User
Super User

Hi @subhendude 

 

"In summary, then, there are two different practical limits on the maximum length of a text value in Power BI: the 32766 character limit on text being loaded into Power BI, and the 2.1 million character limit in DAX functions."- Chris Webb

 

https://blog.crossjoin.co.uk/2019/05/17/maximum-length-text-value-power-bi/#:~:text=Once%20you've%20....

 

Guessing that the 74000 characters is causing it given the maximum is 32766.

 

All the best.

Theo 🙂

 

If I have posted a response that resolves your question, please accept it as a solution to formally close the post.

Also, if you are as passionate about Power BI, DAX and data as I am, please feel free to reach out if you have any questions, queries, or if you simply want to connect and talk to another data geek!

Want to connect?www.linkedin.com/in/theoconias

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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