This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hello,
I'm having problems importing a SQL query. I've already imported this database before without problems, but now when I navigate to that SQL table, this error appears:
"Explicit conversion from data type image to nvarchar(max) is not allowed
Details:
DataSourceKind=SQL
DataSourcePath=XXXXXX
Message=Explicit conversion from data type image to nvarchar(max) is not allowed.
ErrorCode=2146232060
Number=529
Class=16".
I have not done any transformation of that data column, I've only connected Power BI to that table. In this table there is a type "image" column. If I create a SQL view without this column, the query connects succesful. But I need this column and to be able to connect correctly to all the SQL tables, regardless of the type of columns there are (I didn't have any problems before).
Thanks a lot,
Best regards.
But I need this column
what are you planning to do with it?
I need to put this image in a tooltip. Anyway, if I connect the same SQL table to Power Query in Excel, the error doesn't appears, the connection is succesful. I don't understand why Power BI doesn't do the query as the same way.
Thanks.
In Power BI you need to Base64 encode your image data.
https://blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/
Okay, I'll look into it. Anyway, the issue is that before, I connected to that database table and in the image field I would see 'Binary' and could work with the query. Now, it gives an error in the preview and I can't work with the table. I have to make the connection in Power Query for Excel, remove the 'Image' column, copy the advanced query code, and paste it into Power BI. I didn't have to do all this before.
Please qualify "before" - did it work earlier, or did it work elsewhere?
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 33 | |
| 24 | |
| 24 |