Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have an SQL database with a table of employees and a column of photos.
I used SQL query and created a new column (Photo) to store the Base64-encoded image data it's origionally in (Binary format).
I used this apprach :
* EmployeePhoto binary data from DimEmployee is cast as VARBINARY(MAX)
* CAST AS XML and xs:base64Binary
as suggested here by: @Lyssillic | Answer Display images from SQL Server database DirectQuery model
I'm using DirectQuery Mode and the data is loaded successfully. (Power Query image below)
When I try to use the Photo column to show the images in a table in a report I get "Can't Load data for this visual"
Note: It works fine with images visualization or filtered table by single name (image below) BUT I wanted a table of all employees details+images
Base64 images from SQL
Problem when using photo column in report page
single value in image visual or filtered table
I did, as I mentioned I am able to display a single image if filtered by name. The problem is I can't display all of them..
If you not done this, pls do it to display images in matrix.
If you need more info on this pls visit below URLs
https://learn.microsoft.com/en-us/power-bi/create-reports/power-bi-images-tables
Thanks!
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
72 | |
38 | |
30 | |
26 |