Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The 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.

Reply
lynnma
Helper I
Helper I

Images Not Showing in Power BI

To Whom It May Concern:

 

I am pulling images from a directory on our server.  In doing so, I goto Table View in Power BI Desktop, select the column ImageURL, and for Data Category: I make it an Image URL.  I pull many images, however, none of them are displaying.  Now, I can take one of the images stored in the directory, and, insert it, like one would do in Outlook Email, and the picture displays just fine.  I am not able to post screen shots, as I work in the Medical Field and it would be a HIPPA violation/Privacy Violation. 

 

Please provide solutions or options feedback.

Very Appreciative,

Mark Lynn.

1 ACCEPTED SOLUTION

Thank you for your support Greg_Deckler 

Hi, @lynnma 

First, you need to make sure that your address is anonymous and accessible. To do this, I simulated your case with a shared folder:

vjianpengmsft_0-1738725928058.png

It's not loadable when we put the url directly into Power BI:

\\VM1\Users\LJP\Desktop\image\1.jpg

vjianpengmsft_1-1738726050101.png

The solution is to load your shared path into Power BI as a folder:

vjianpengmsft_2-1738726110367.png

vjianpengmsft_3-1738726138524.png

vjianpengmsft_4-1738726163979.png

Add a custom column:

"data:image/jpeg;base64," & Binary.ToText([Content],BinaryEncoding.Base64)

 

vjianpengmsft_5-1738726232386.png

Set this column to the Image URL:

vjianpengmsft_6-1738726284123.png

 

vjianpengmsft_8-1738726317917.png

 

Display images in a table, matrix, or slicer in a report - Power BI | Microsoft Learn

vjianpengmsft_9-1738726392208.png

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

 

 

View solution in original post

10 REPLIES 10
Greg_Deckler
Super User
Super User

@lynnma What visual are you using to display the images?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

I have tried using a Table, Card, Sample Image (Free Visual Downloaded), Advance Card (Free Visual Downloaded), and Image Pro By CloudScope (Free Visual Downloaded) and none worked.  Thank you for asking. Thoughts?

@lynnma First things first, can you open the attached PBIX (below sig) and ensure that you can see the red image?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you for the attachment, yes, I have downloaded it, opened it, and I am able to see the 'Red' Image. Thank You.  What's next?

@lynnma Well, then can you modify the Enter Data query and paste in one of your image links, close and apply and then does it show up? If not, do you get a borken image link or ? I would add your URL as a second row in the Enter Data query.

 

The only thing I can think of at the moment is that for some reason your URL is not in the right format or is not accessible from Power BI Desktop for some reason. Can you provide a little bit of detail about your image URL's, do they start with http or https ?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you for the feedback.  "I am pulling images from a directory on our server. "  Therefore, its not http or https.  It starts with \\'ServerName'\'Home'\Pictures

@lynnma Yeah, that's not gonna work. You'll have to import the actual binary data in that case or make those images available via a URL. I doubt a file: URL is going to work but you could give it a try.



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you for your support Greg_Deckler 

Hi, @lynnma 

First, you need to make sure that your address is anonymous and accessible. To do this, I simulated your case with a shared folder:

vjianpengmsft_0-1738725928058.png

It's not loadable when we put the url directly into Power BI:

\\VM1\Users\LJP\Desktop\image\1.jpg

vjianpengmsft_1-1738726050101.png

The solution is to load your shared path into Power BI as a folder:

vjianpengmsft_2-1738726110367.png

vjianpengmsft_3-1738726138524.png

vjianpengmsft_4-1738726163979.png

Add a custom column:

"data:image/jpeg;base64," & Binary.ToText([Content],BinaryEncoding.Base64)

 

vjianpengmsft_5-1738726232386.png

Set this column to the Image URL:

vjianpengmsft_6-1738726284123.png

 

vjianpengmsft_8-1738726317917.png

 

Display images in a table, matrix, or slicer in a report - Power BI | Microsoft Learn

vjianpengmsft_9-1738726392208.png

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

 

 

 

 

THANK YOU SO VERY MUCH! I will hit the "Accept as Solution" after I send this reply! Again, Thank You!

Very Appreciative,

Mark Lynn.

lynnma
Helper I
Helper I

I fogot to mention, the images are in jpg formate.  However, I tried jpeg, bmp, and png, all of which made no difference.  

Thank You.

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.