Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago

Image in Power bi does not display when the data imported is binary

 

 

I imported a data where one field is imported as binary, which I then converted to text, and created a new column where concatenated it: "data:image/png; base64 ", & [column name] and change the 'Data category' to 'Image URL'

When I create a table with the the this column, the image is not displayed.

Upon hovering the image, it does show the concatenated string (see the snapshot below)

I am confused, as I have also tried to change 'png' to 'jpeg', 'pdf' etc.

 

Can you please help me with this issue.

 

When I 

 

edited to add, the Power BI version:

 

 

2 Replies

  • v-jingzhang's avatar
    v-jingzhang
    Icon for Community Support rankCommunity Support

    Hi Anonymous 

     

    I tried the method in this blog and was able to show the images. Try "data:image/jpeg;base64,"&[ImageData] or “data:image/;base64,”&[ImageData]

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

    • Anonymous's avatar
      Anonymous
      Not applicable

      I still gets the same results, no image showing