Forum Discussion
Maximum text length
Dear developers,
I've imported data from a plain sql server table. One column contains many characters, however according the documentation this should not be an issue.
https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-data-types/#text-type
However when reading data, I am limited to 32766 characters, which is an issue for me. How could this be and how could I overcome this?
With kind regards
8 Replies
- Greg_DecklerCommunity Champion
I wonder if this is a limitation of Power Query "M" versus the Desktop data model types. In other words, the data model Text type can theoretically support large amounts of text but the import process using Power Query is truncating it to 32,766 characters.
- vincent_1234Helper I
I tried importing in Excel and it's the same, text is cut off.
However the Excel limitations are clear about this https://support.office.com/en-us/article/Excel-specifications-and-limits-16c69c74-3d6a-4aaf-ba35-e6eb276e8eaa
Could this be the same for PowerBI?
Power Query has the same specs as Power BI, with much larger "Maximum size of text in a preview cell", however this being an Excel plugin, how do they come up with that. The results are still limited to 32767 chars
- Greg_DecklerCommunity Champion
Hmm, I would post this as an issue and supply the references you cite and ask "What gives?".
https://ideas.powerbi.com/forums/360879-issues
All the references you cite indicate that you should be able to have more than 32,767 characters in a text cell so that says there is a bug or issue somewhere. Would be interested to hear if you get any feedback on it.
- AnonymousNot applicable
Hi Greg_Deckler ,
I think I am experiencing the scenario that you have just described. Power Query appears to truncate to 32K characters.
Is there a solution for this?
Thanks
- AnonymousNot applicable