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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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