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