Forum Discussion
Maximum text length
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.
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_Deckler10 years agoCommunity 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.
- vincent_123410 years agoHelper I
No answers yet, but it seems to be a kind of API limit.
The text in the cell is the actual size, however the data I receive in the custom visual is limited
- vross8 years agoFrequent Visitor
Interesting, I'd be happy with 32k. My text is being limited to only 1024. Same whether I pull the data from a linked Excel sheet or through a .csv file. Wanted to use power query to join two relatively short tables with text values and it's been a complete fiasco, since I handed the finished product off only to find out that the text columns were truncated.
What I've tried.
both Excel and csv
setting the type to Any and Text, neither of which made any difference.