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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
AzaharoddinSk
Frequent Visitor

PowerBi Theme files

Is it possible to include a logo image in a JSON theme file and position it at the top-left corner?

1 ACCEPTED SOLUTION
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
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-yiruan-msft
Community Support
Community Support

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

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

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.