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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Camodude
New Member

Importing an excel file with images associated with rows of data

I have an excel file containing information like so:

 

Last NameFirst NameRankEmployee GradePosition TitleImage
OzFrankLCDRO4Bert 
HensonJimLCDRO4Ernie 
ClashKevinLCDRO4Elmo 

 

Now, I want to import said file into Power BI to create a report that allows me to filter by various column headers (ie. Rank, Grade, Position Title)

 

This will then filter the table to show just the desired info (ie. Employee Grade "O4" w/ Position Title "Bert")

 

Through the use of "Slicers" I have figured that part out.

 

Now, I want the associated employee's image to populate as well. What tool can be used to do this and how to I properly import the images?

3 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi  @Camodude , 

 

Thanks for the reply from @miTutorials @OwenAuger .Here is my solution: 

 

1.In your excel file, add the URL columns, ensure that these URLs are publicly accessible and do not require login privileges.

 

vlinhuizhmsft_0-1720761391107.png

 

2.Select the image column. On the Column tools ribbon, for Data category, select Image URL.

vlinhuizhmsft_2-1720763246866.png

 

3.Add columns containing image URLs to a table, matrix, or slicer, and you can expand image size.

vlinhuizhmsft_2-1720761466377.png
If you want to import local images, you can refer to the following steps:


1.Get data from a folder:
vlinhuizhmsft_3-1720761526077.png

2.Add a custom column:

 

vlinhuizhmsft_3-1720763348815.png

 

 

3.Select the custom column. On the Column tools ribbon, for Data category, select Image URL.

 

vlinhuizhmsft_1-1720763183038.png

 

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

View solution in original post

Zhu,

 

Thank you so much for your timely and in-depth answer. If possible, I'd like to continue to pick your brain.

 

My dashboard doesn't seem to be quite the same, but I played around and managed to get here:

 

Camodude_0-1720779679983.png

 

This is ultimately what I'm striving for, though it will be on a larger scale for the entire staff. All of these images I used are stored in the same folder, through OneDrive, (which to my understanding I'll need an alternative location to store them?) but only one image is showing up. Do you know why this may be? 

 

Furthermore, I am inexperienced in the realm of excel and Power BI -- with an idea of what I'm going for here, do you have any alternative recommendations/ideas?

View solution in original post

I think @Anonymous has probably answered it already, so probably not much to add.

Image URLs that can be accessed publicy without a login are most reliable, though I have had some success with image URLs accessible on a SharePoint Online site just to users of the report.

 

Encoding images using Base64 URLs as @Anonymous  mentioned is also possible.

Check out this article on handling large images (if needed):

https://blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Hi  @Camodude , 

 

Thanks for the reply from @miTutorials @OwenAuger .Here is my solution: 

 

1.In your excel file, add the URL columns, ensure that these URLs are publicly accessible and do not require login privileges.

 

vlinhuizhmsft_0-1720761391107.png

 

2.Select the image column. On the Column tools ribbon, for Data category, select Image URL.

vlinhuizhmsft_2-1720763246866.png

 

3.Add columns containing image URLs to a table, matrix, or slicer, and you can expand image size.

vlinhuizhmsft_2-1720761466377.png
If you want to import local images, you can refer to the following steps:


1.Get data from a folder:
vlinhuizhmsft_3-1720761526077.png

2.Add a custom column:

 

vlinhuizhmsft_3-1720763348815.png

 

 

3.Select the custom column. On the Column tools ribbon, for Data category, select Image URL.

 

vlinhuizhmsft_1-1720763183038.png

 

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

Zhu,

 

Thank you so much for your timely and in-depth answer. If possible, I'd like to continue to pick your brain.

 

My dashboard doesn't seem to be quite the same, but I played around and managed to get here:

 

Camodude_0-1720779679983.png

 

This is ultimately what I'm striving for, though it will be on a larger scale for the entire staff. All of these images I used are stored in the same folder, through OneDrive, (which to my understanding I'll need an alternative location to store them?) but only one image is showing up. Do you know why this may be? 

 

Furthermore, I am inexperienced in the realm of excel and Power BI -- with an idea of what I'm going for here, do you have any alternative recommendations/ideas?

Anonymous
Not applicable

Hi Camodude,

 

Have you solved your problem? If so, can you share your solution here and mark the correct answer as a standard answer to help other members find it faster? Thank you very much for your kind cooperation!

Best Regards,
Zhu
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

miTutorials
Super User
Super User

To Display images in Power BI from a URL - You will have to save them in a location which does not require login to access.. The alternative is to use Base64 images and embed them in Power BI without using any URL.. Check out the video below..

 

Embedding Images Without URL | Base64 Encoding Method in Power BI | MiTutorials - YouTube

OwenAuger
Super User
Super User

Hi @Camodude 

How are the images stored in Excel: Are they URLs or actual image objects within the Excel sheet?

If you could provide a desensitized sample Excel workbook that would help a lot 🙂

 

If they are image objects, then it is possible (but a bit more involved) to extract the images from the XLSX file with Power Query.

 

Regards


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Howdy @OwenAuger!

 

Thank you for your timely reply. I believe that, once provided, all of the images are just going to be in a local folder or OneDrive. So, what I need to learn is which is ultimately going to be better?

 

Do you have any recommendations? I'm shining some light on my own ignorance here, but can I do URL's with local images or how would I be able to incorporate them into the excel and then ultimately the Power BI report.

 

Below is an example of what I'm gunning for:

 

Camodude_1-1720780382420.png

 

I need a photo associated with each individual, and thus when selected, I'd like their photo to show up.

 

I appreciate any and all ideas, recommendations, and feedback. Thank you!

I think @Anonymous has probably answered it already, so probably not much to add.

Image URLs that can be accessed publicy without a login are most reliable, though I have had some success with image URLs accessible on a SharePoint Online site just to users of the report.

 

Encoding images using Base64 URLs as @Anonymous  mentioned is also possible.

Check out this article on handling large images (if needed):

https://blog.crossjoin.co.uk/2019/05/19/storing-large-images-in-power-bi-datasets/


Owen Auger
Did I answer your question? Mark my post as a solution!
Blog
LinkedIn

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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