<?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 Re: SVG Images are not shown correctly in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4182398#M166133</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="741289" data-lia-user-login="Jens1983" class="lia-mention lia-mention-user"&gt;Jens1983&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you to try this code.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-unlink="true"&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 01:45:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-09-30T01:45:02Z</dc:date>
    <item>
      <title>SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4177835#M165957</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to implement svg graphics into my table. I followed different tutorials on youtube and i experience always the same problem. The SVG Image is shown incorrectly, it looks like that it is cut off, even if i labeled the meassure as image and played around with the imag size, which doesnt have any effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example I tried to implement a star, using this code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Stars =&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;"data&amp;amp;colon;image/svg+xml;utf8,&amp;lt;svg xmlns='&lt;A href="http://www.w3.org/2000/svg" target="_blank" rel="noopener"&gt;http://www.w3.org/2000/svg&lt;/A&gt;' viewbox='0 0 100 100'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;path d='m50,2 12,34h361-28,22 10,34-30-20-30,20 10-34-28-22h36z'/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/svg&amp;gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the outcome looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:40:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4177835#M165957</guid>
      <dc:creator>Jens1983</dc:creator>
      <dc:date>2024-09-26T11:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4178091#M165995</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="741289" data-lia-user-login="Jens1983" class="lia-mention lia-mention-user"&gt;Jens1983&lt;/a&gt;&amp;nbsp;I'm not super familiar with the path function. This works though:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Stars = "data&amp;amp;colon;image/svg+xml;utf8,&amp;lt;svg xmlns='http://www.w3.org/2000/svg'&amp;gt;
&amp;lt;polygon points=""10,0 12,9 20,8 13,13 16,20 10,15 4,20 7,13 0,9 8,9"" style=""fill:red;stroke:red;stroke-width:0;fill-rule:evenodd;"" /&amp;gt;
&amp;lt;/svg&amp;gt;"&lt;/LI-CODE&gt;
&lt;P&gt;Comes from here:&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/Quick-Measures-Gallery/SVG-Color-Star-Rating/m-p/505223#M207" target="_blank"&gt;SVG Color Star Rating - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 12:53:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4178091#M165995</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-26T12:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4178127#M165999</link>
      <description>&lt;P&gt;Hi Greg, thanks for the solution but when I use your code, it only shows an image symbol, even when i classify it as an image-url &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 13:07:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4178127#M165999</guid>
      <dc:creator>Jens1983</dc:creator>
      <dc:date>2024-09-26T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4182398#M166133</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="741289" data-lia-user-login="Jens1983" class="lia-mention lia-mention-user"&gt;Jens1983&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suggest you to try this code.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;img /&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P data-unlink="true"&gt;Result is as below.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 01:45:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4182398#M166133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-30T01:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4182507#M166135</link>
      <description>&lt;P&gt;Still doesnt work, it shows only an image symbol, even if i label it as an image-url &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 09:38:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4182507#M166135</guid>
      <dc:creator>Jens1983</dc:creator>
      <dc:date>2024-09-27T09:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4184178#M166164</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="741289" data-lia-user-login="Jens1983" class="lia-mention lia-mention-user"&gt;Jens1983&lt;/a&gt;&amp;nbsp;What do you mean by "image symbol"? Can you share a screen shot? Remember, you need to replace the &amp;amp;colon; with an actual colon ( : ) for the SVG to work. It gets HTML encoded for whatever reason when pasting on this forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It should be classified as an image URL. What visual are you using it in? Below is with a standard Table visual. I am not aware of any Preview feature or anything else that should impact the display of SVG measures but will double check.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 13:53:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4184178#M166164</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2024-09-27T13:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4195718#M166575</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="741289" data-lia-user-login="Jens1983" class="lia-mention lia-mention-user"&gt;Jens1983&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think there may be something wrong when we copy the code and paste it in website.&lt;/P&gt;
&lt;P&gt;I update the my reply with screenshot, it should be date:image... instead of data&amp;amp;colon... .&lt;/P&gt;
&lt;P&gt;Please download my sample file and have a test.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 01:46:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4195718#M166575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-30T01:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4198245#M166605</link>
      <description>&lt;P&gt;This works, thanks for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 06:37:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4198245#M166605</guid>
      <dc:creator>Jens1983</dc:creator>
      <dc:date>2024-09-30T06:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: SVG Images are not shown correctly</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4198427#M166611</link>
      <description>&lt;P&gt;Thank you for your help, your solution also works fine for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 07:03:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/SVG-Images-are-not-shown-correctly/m-p/4198427#M166611</guid>
      <dc:creator>Jens1983</dc:creator>
      <dc:date>2024-09-30T07:03:07Z</dc:date>
    </item>
  </channel>
</rss>

