<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic PowerBi Theme files in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/PowerBi-Theme-files/m-p/3672657#M49259</link>
    <description>&lt;P&gt;Is it possible to include a &lt;STRONG&gt;logo image&lt;/STRONG&gt; in a &lt;STRONG&gt;JSON theme file&lt;/STRONG&gt; and position it at the top-left corner?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 10:05:13 GMT</pubDate>
    <dc:creator>AzaharoddinSk</dc:creator>
    <dc:date>2024-02-01T10:05:13Z</dc:date>
    <item>
      <title>PowerBi Theme files</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBi-Theme-files/m-p/3672657#M49259</link>
      <description>&lt;P&gt;Is it possible to include a &lt;STRONG&gt;logo image&lt;/STRONG&gt; in a &lt;STRONG&gt;JSON theme file&lt;/STRONG&gt; and position it at the top-left corner?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 10:05:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBi-Theme-files/m-p/3672657#M49259</guid>
      <dc:creator>AzaharoddinSk</dc:creator>
      <dc:date>2024-02-01T10:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: PowerBi Theme files</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/PowerBi-Theme-files/m-p/3674877#M49281</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/490128"&gt;@AzaharoddinSk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;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...&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround 1. Convert your image to a base64 file and then add it to JOSN theme file&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Try to translate the image to base64 file,&amp;nbsp;&lt;SPAN&gt;use a free online converter to convert the images to Base64 files.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Then add the code.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;The following website can translate the image to base64.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;A href="https://www.base64-image.de/" target="_blank" rel="noopener nofollow noreferrer"&gt;Base64 Image Encoder (base64-image.de)&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;And you can refer to the following video.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;A href="https://www.bing.com/videos/search?&amp;amp;q=power+bi+add+image+use+json&amp;amp;qpvt=power+bi+add+image+use+json&amp;amp;view=detail&amp;amp;mid=DF939D8B2847762AD972DF939D8B2847762AD972&amp;amp;FORM=VDRVSR&amp;amp;ru=%2Fvideos%2Fsearch%3Fq%3Dpower%2Bbi%2Badd%2Bimage%2Buse%2Bjson%26qpvt%3Dpower%2Bbi%2Badd%2Bimage%2Buse%2Bjson%26FORM%3DVDRE&amp;amp;ajaxhist=0" target="_blank" rel="nofollow noopener noreferrer"&gt;Power Bi : Set image as permanent background for all pages - Bing video&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround 2. Convert the image to an SVG file and then add it to JOSN theme file&lt;/STRONG&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Ok, I got it!&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://onlineimagetools.com/convert-image-to-data-uri" target="_blank" rel="noopener nofollow noreferrer"&gt;https://onlineimagetools.com/convert-image-to-data-uri&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Using the resulting code allowed me to have a custom icon in my custom PBI theme. Sweet victory :0)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Thank you for your help - looking for svg converters is what allowed the solution to pop up.&lt;/FONT&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 07:21:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/PowerBi-Theme-files/m-p/3674877#M49281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-02T07:21:02Z</dc:date>
    </item>
  </channel>
</rss>

