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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Rigolleto
Resolver I
Resolver I

Problems to see images

Hi,

 

I did load a bunch of images using the folder option, also I did create a function in order to convert the load binary to a base64, as this code:

= (BinaryContent as binary) as text=>
let
Base64 = "data:image/jpeg;base64, " & Binary.ToText(BinaryContent, BinaryEncoding.Base64)
in
Base64

 

Image shown the binary field create base on the function, later I did use the modeling option to conver this column, the one in the box, to a Image URL, the issue is that even I did follow the whole steps the images are not showing 

I am wondering if the image size could be the source of the issue and/or I am omiting any step?

 

 

Imagen1.png

1 ACCEPTED SOLUTION
v-cherch-msft
Employee
Employee

Hi @Rigolleto 

You could try below workaround to make local images to be shown in a visual. If its' size is less than 36 KB (around that size), you can  convert images files to Base64 from local device. But if the image file size is bigger, you have to upload them into a website (such as SharePoint or Onedrive), and then copy its url into your table for displaying the image.

Import images in Power BI from local sources

https://community.powerbi.com/t5/Desktop/Getting-Image-URLs-to-display-Image/td-p/216843

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-cherch-msft
Employee
Employee

Hi @Rigolleto 

You could try below workaround to make local images to be shown in a visual. If its' size is less than 36 KB (around that size), you can  convert images files to Base64 from local device. But if the image file size is bigger, you have to upload them into a website (such as SharePoint or Onedrive), and then copy its url into your table for displaying the image.

Import images in Power BI from local sources

https://community.powerbi.com/t5/Desktop/Getting-Image-URLs-to-display-Image/td-p/216843

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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