Forum Discussion
Character length
My database has an input field that holds well over 100 characters, however when I query a table that data column get only the first 8 characters.
Is there a way to specify the amount of characters to query for that specific column; lets say 250 instead the default 8?
9 Replies
- aduncanFrequent Visitor
Data is pulling using ODBC from a database. The frontend of the database provides a paragraph field for data entry. Yes the full paragraph of text is visiable with the database table, however once the table is loading into Power BI only 8 characters are available.
- parry2kSuper User
aduncan did you used any other tool except Power BI to connect using ODBC and see what kind of result you are getting. It is not clear if that ODBC driver is not giving the full data or Power BI is translating it something different, so testing with other tools can provide some insight.
- AllisonKennedyCommunity Champion
What data source are you using for the database, what is the data type, which column is causing issues?
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-data-types
You should be well within the character limitations, but depends on how the data is formatted a bit (I've encountered issues before with HTML for example).
Can you paste the M code from your Advanced Editor as a starting point so we can get a better idea for what's happening?
- amitchandakSuper User
aduncan , refer if this can help
https://blog.crossjoin.co.uk/2019/05/17/maximum-length-text-value-power-bi/