So, I have created a report pulling images from attachments to List items. I get the fully formed URLs which, when I categorise them as Web URL and click on them they open an image. I then change the category to Image URL and then I get a broken image icon for each of the images. After watching the Youtube video mentioned several times in this forum: https://www.youtube.com/watch?v=FpZgUPPtHtY I published the report hoping the images would show up. They don't. In the service, I still get broken image icons.
To test whether the issue was just because I was trying to use images from List attachments, I created another data source based on images from library items, the same way the video author did. However, even for those I still get the broken image icons, even in the service.
I have seen quite a few people on this forum asking about this and most seem to point to that video for a fix. However, I have not seen anyone come back with a definitive answer.
Is it true that, despite the fact I can click on the URL, so it proves I have access to the files, Power BI will not display the images if they are stored on SharePoint? I really don't want to give the world access to my HR list so I can access these images per this request: https://community.powerbi.com/t5/Desktop/Images-stored-in-sharepoint-list-office-365-group-showing-u...
@lbendlin, thanks for your response. No I hadn't considered that and I don't know how to do it. Are you able to point me to a resource to start me off?
Finding it pretty frustrating that a M$ product cannot display resources stored on M$ infrastructure.
Hi @KarlOnEarth did you get a solution to your problem.
I have the same problem.
- I can successfuly view an external image from a public URL in a powerbi visual where the URL is of type "Image URL". Works fine.
- I copied this exact same image onto my sharepoint 365 portal and placed in a normal folder with other images and non image files.
- In the power bi visual, I can click on the web URL of the image location in sharepoint and the image will appear in a browser window.
- In the same power bi visual, I have a copy of the web URL of the image location in sharepoint configured as data category "Image URL", but only the broken image icon appears.
- The image is a jpeg.
- The sharepoint folder is shared with anyone.
I can't figure it out.
Hi @Maprock, no solution yet sorry. It appears that Microsoft don't yet have the technical expertise to make this work. All I can suggest is to pray that they might be able to find and employ someone who can make it work for them.
I have a test to get image from sharepoint in Power BI.
Firstly get data by Sharepoint Folder connector in Power BI Desktop.
Here we need Sharepoint site url.
Then transform the Table in Power Query Editor, we need to add a custom column as below. This column is image url we need.
Click apply and change column categroy to image url in column tool.
Result is as below.
Power BI Desktop will show broken.
Power BI Service will work well.
Please check whether your Power BI account have access to your sharepoint. Here I use same account in sharepoint and in Power BI.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-rzhou-msft thank you for your detailed repsonse. I did exactly as you suggested. But when I check in the service, after I have published the model, the images are still broken:
If I copy one of the URLs out of the desktop model and paste it into my web browser, I'm logged in to sharepoint with the same user as my Power BI user, I see the image in my browser which seems to indicate that the user has access to the images.
Do you have any other suggestions as to what I can check?
And in fact, if in the browser, I right-click on the broken image icon and choose Open in another tab, the image opens in another tab and I can see it fine. That just seems to indicate that permissions is not the problem no?
Take a look at the September 2023 Power BI update to learn more.
Join Microsoft Reactor and learn from developers.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.