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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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