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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.