Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Добрый день! У меня есть база даных, работающая на PostgreSQL. После получения данных типа "mchar" Power BI выдает ошибку :
DataSource.Error: При чтении данных от поставщика произошла ошибка: 'The field '_code' has a type currently unknown to Npgsql (OID 16396). You can retrieve it as a string by marking it as unknown, please see the FAQ.' . Колонка '_code' в базе PostgreSQL имеет тип данных "mchar", получается Power BI не работает с таким типом данных (mchar), такая же проблема с типом "mvarchar"?
Спасибо!
For English:
Good afternoon! I have a database running on PostgreSQL. After receiving data of type "string" Power BI gives an error: " 'The field '_code' has a type currently unknown to Npgsql (OID 16396). You can retrieve it as a string by marking it as unknown, please see the FAQ.' ". The column '_code' in the PostgreSQL database has the data type" mchar ", it turns out Power BI does not work with this type of data (mchar), the same problem with the "mvarchar" type??
Thank you!
You may try using CAST to convert data type in SQL statement.
_code - "mchar" type; _description - '"mvarchar" type
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |