Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Is it possible to include a logo image in a JSON theme file and position it at the top-left corner?
Solved! Go to Solution.
Hi @AzaharoddinSk ,
Base on my research, we can't include a log image in a JSON theme file. However, you can follow the solution in the following threads which has the same problem as yours to achieve the similar function...
Workaround 1. Convert your image to a base64 file and then add it to JOSN theme file
Try to translate the image to base64 file, use a free online converter to convert the images to Base64 files.
Then add the code.
The following website can translate the image to base64.
Base64 Image Encoder (base64-image.de)
And you can refer to the following video.
Power Bi : Set image as permanent background for all pages - Bing video
Workaround 2. Convert the image to an SVG file and then add it to JOSN theme file
Ok, I got it! https://onlineimagetools.com/convert-image-to-data-uri
Using the resulting code allowed me to have a custom icon in my custom PBI theme. Sweet victory :0)
Thank you for your help - looking for svg converters is what allowed the solution to pop up.
Best Regards
Hi @AzaharoddinSk ,
Base on my research, we can't include a log image in a JSON theme file. However, you can follow the solution in the following threads which has the same problem as yours to achieve the similar function...
Workaround 1. Convert your image to a base64 file and then add it to JOSN theme file
Try to translate the image to base64 file, use a free online converter to convert the images to Base64 files.
Then add the code.
The following website can translate the image to base64.
Base64 Image Encoder (base64-image.de)
And you can refer to the following video.
Power Bi : Set image as permanent background for all pages - Bing video
Workaround 2. Convert the image to an SVG file and then add it to JOSN theme file
Ok, I got it! https://onlineimagetools.com/convert-image-to-data-uri
Using the resulting code allowed me to have a custom icon in my custom PBI theme. Sweet victory :0)
Thank you for your help - looking for svg converters is what allowed the solution to pop up.
Best Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |