Quantcast
Channel: All Power Query posts
Viewing all articles
Browse latest Browse all 122215

Re: Couldn't load the data for this visual - Exception raised by the IDbCommand interface

$
0
0

Hi ,

There are three levels of collation in SQL Server: server collation, database collation, column collation.

In your scenario, if one column in involved tables has different collation as other columns, the above error will occur. I would recommend you use T-SQL to find out collation of database and table columns that imported in Power BI Desktop, and check if there is difference. There is an example for your reference, for more details, please review this blog.

SELECT DATABASEPROPERTYEX('AdventureWorks2014', 'Collation')
GO
/* Find Collation of SQL Server Database Table Column */
USE AdventureWorks2014
GO
SELECT name, collation_name
FROM sys.columns
WHERE OBJECT_ID IN (SELECT OBJECT_ID
FROM sys.objects
WHERE type = 'U')


Here is also a similar blog about the above error for your reference.

http://www.ashishblog.com/how-to-resolve-the-collation-conflict-and-how-to-check-collate-in-sql-server/


Thanks,
Lydia Zhang


Viewing all articles
Browse latest Browse all 122215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>