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
pedroccamaraDBI
Post Partisan
Post Partisan

how to add images from a sharepoint folder into power bi

Hi everyone
I'm trying to import images from my sharepoint folder into power bi and I can't see the images in desktop not in the service.
The url shows me the image on the browser but if I try a private window it doesn't show the image and asks me to log in.

This is my first line of pq:

SharePoint.Contents("https://mf1-my.sharepoint.com/personal/v_c_mf1", [ApiVersion = 15])

 

This way I can navigate to the folder where images are.

 

Can anyone please help me?
Thank you all in advance
Best regards

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This will not work in most cases for CORS reasons.  One (safe) alternative is to embed the images in the Power BI dataset.

 

Embedding Images in Power BI using Base64 – Some Random Thoughts (sqljason.com)

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

This will not work in most cases for CORS reasons.  One (safe) alternative is to embed the images in the Power BI dataset.

 

Embedding Images in Power BI using Base64 – Some Random Thoughts (sqljason.com)

Awesome!
Thank you so much @lbendlin 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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