Forum Discussion
Tip: How to use (KPI) image in table without using URL (without image on online server)
Hi,
I want to share a simple "trick", that I didn't know. Maybe is already well known or maybe this will save a day to someone.
For using images in tables we don't need server to store images, but we can use Base64 format. Here is how i do it:
- In PowerPoint create two/three simple KPI images
- Save images to computer
- Go to base64-image.de converter (that is service, that I use, there may be a lot of other converters)
- Upload images and click show code and copy first line of code for each image
- Use code in measure and set Data Category to Image URL
So the title of this post is not entirely correct, we still need to use URL, but whe don't have to upload images to server.
2 Replies
- TeigeGaoSolution Sage
Hi matemusic ,
Thank you for sharing this!
Here is a blog which discusses this with more details, I would suggest you referring to it: https://sqljason.com/2018/01/embedding-images-in-power-bi-using-base64.html.
There are two main method to insert an image to PowerBI, one is using the image link, and another one is converting the image to base64, the later method is more convenient, but it has many limitation on the image, for example, the image cannot be large.
Best Regards,
Teige