Forum Discussion
Base64 Images
- 7 years ago
Hi mmattar ,
Actually, PowerBI has a limitation in the size of Base64 column, but I haven't found a document describing this. Besides, we can't find a method to reduce the size of Base64, you can consider reduce the quality of image and convert it to Base64 again.
As a workaround, we can upload the image to server, then use the image url to display it.
Best Regards,
Teige
- 7 years ago
Hi mmattar ,
Some Online storage provider like Azure or Onedrive can provide the web url for a picture, https://www.fourmoo.com/2017/09/26/power-bi-using-onedrive-to-embed-and-host-images-for-power-bi/
Best Regards,
Teige
Hi, I'm a custom control developer.
My product, Image Pro, is one of the most popular options for displaying Base64 image data. And Image Pro is a certified visual.
What is the limitation for displaying large files i.e when Base64 doesn't fit into Power BI column (over ~30k characters)? Or do you have a visual that can display pdf (up to 400kB)
- ChrisWilliams3 years agoAdvocate II
Using the approach in Chris Webb's blog, you can split the file into smaller chunks, each of which are less than 32,000 bytes. Then you create a measure that combines the chunks, as shown in his blog.
You can download the sample pbix of Image Pro from AppSource which shows how this works. The background images are stored in chunks as they are over 32,000 bytes.