cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mmattar
Responsive Resident
Responsive Resident

Reformating image data

Hello all,

 

My case is i am taking pictures via a mobile powerapp that then stores the image data into a SharePoint list. The format that powerapps captures the image is data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAeAAAAKACAYAAABEyKtSAAAgAElEQVR4Xsy9..... , long string. Is thier anyway in flows i can reformat this image data to be a hyperlink ? i am trying to then display these images through a powerbi report and it seems that only hyperlinks for images work. Can anyone help with this ? or offer a better solution ? 

 

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

The URL for the link should just be the contatenation of the Site URL (including the library and folder) and the name of the image File. Not enough of a BI expert to explain why it might not be showing in BI



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

5 REPLIES 5
Pstork1
Dual Super User III
Dual Super User III

There is no way to reformat the binary image to be a URL because that image is stored in memory and Flow has no facility to return it when an outside request comes in.  But you can easily save the image to a SharePoint Library or a OneDrive. Then you can get a hyperlink to the file stored in that location to use in PowerBI.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
mmattar
Responsive Resident
Responsive Resident

Hello, 

 

thanks for the response, so i created a SharePoint Document Library and placed an image thier, i connected to this doc library with powerbi and i can not seem to retrieve the hyperlink for the image through powerbi

Pstork1
Dual Super User III
Dual Super User III

If you navigate to the library directly can you open and see the image?  If not, one of the common problems is not putting the file extension on when saving the file.  Without that SahrePoint, and Power BI, won't know its an image.  If you can open the file then make sure that the account running PowerBI has access to the SharePoint library.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
mmattar
Responsive Resident
Responsive Resident

yes the image is in my library under a "Name" column and this Name column does not appear in powerbi to choose. How do i grab the link for the image ? 

Pstork1
Dual Super User III
Dual Super User III

The URL for the link should just be the contatenation of the Site URL (including the library and folder) and the name of the image File. Not enough of a BI expert to explain why it might not be showing in BI



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,337)