<?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: Use &amp;quot;If&amp;quot; based on the variable to show an image in Dashboarding</title>
    <link>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/293307#M5631</link>
    <description>&lt;P&gt;Hi, perhaps you’ve already solved your question, but we did it the following way:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add your image repository in &lt;STRONG&gt;Settings&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Allowed URL pattern rules&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Add a table query like this to your notebook / dashboard, Display the image in the table if the error count for my service exceeds 50.:&lt;/LI&gt;&lt;/OL&gt;&lt;P class="lia-indent-padding-left-30px"&gt;fetch bizevents&lt;BR /&gt;| filter contains(event.type,"web.event.")&lt;BR /&gt;| filter class == "Error"&lt;BR /&gt;| summarize count(), by:{service}&lt;BR /&gt;&lt;STRONG&gt;| filter `count()` &amp;gt; 50&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd URL_IMG= "YOUR_IMG/GIF_URL(from step1)"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd IMG= concat("![](",URL_IMG,")")&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;3. In the table's Visual options, look for the Custom column types setting and add the "IMG" column as a Markdown type.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":victory_hand:"&gt;✌🏻&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;I hope I'm not too late to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Jan 2026 05:24:12 GMT</pubDate>
    <dc:creator>pcifuef</dc:creator>
    <dc:date>2026-01-20T05:24:12Z</dc:date>
    <item>
      <title>Use "If" based on the variable to show an image</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/254860#M4296</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;Is it possible to use the "code" of the new dashboard version to display an image using a URL through the variable selected in the dashboard?&lt;/P&gt;
&lt;P&gt;The idea is to display the corresponding image of the product selected in the variable.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 06:56:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/254860#M4296</guid>
      <dc:creator>wellpplava</dc:creator>
      <dc:date>2024-09-04T06:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use "If" based on the variable to show an image</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/266356#M4624</link>
      <description>&lt;P&gt;You can put images on a dashboard, however, I don't think you can add in logic so when you lick windows sever the image goes from a Linux Logo to a Windows logo. Or selecting a VMware host vs onprem host. maybe with workflows to update the image on the dashboard but that would result in the need of constant refreshing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2024 19:49:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/266356#M4624</guid>
      <dc:creator>ChadTurner</dc:creator>
      <dc:date>2024-12-30T19:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use "If" based on the variable to show an image</title>
      <link>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/293307#M5631</link>
      <description>&lt;P&gt;Hi, perhaps you’ve already solved your question, but we did it the following way:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add your image repository in &lt;STRONG&gt;Settings&lt;/STRONG&gt; -&amp;gt; &lt;STRONG&gt;Allowed URL pattern rules&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Add a table query like this to your notebook / dashboard, Display the image in the table if the error count for my service exceeds 50.:&lt;/LI&gt;&lt;/OL&gt;&lt;P class="lia-indent-padding-left-30px"&gt;fetch bizevents&lt;BR /&gt;| filter contains(event.type,"web.event.")&lt;BR /&gt;| filter class == "Error"&lt;BR /&gt;| summarize count(), by:{service}&lt;BR /&gt;&lt;STRONG&gt;| filter `count()` &amp;gt; 50&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd URL_IMG= "YOUR_IMG/GIF_URL(from step1)"&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;| fieldsAdd IMG= concat("![](",URL_IMG,")")&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;3. In the table's Visual options, look for the Custom column types setting and add the "IMG" column as a Markdown type.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":victory_hand:"&gt;✌🏻&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp;I hope I'm not too late to help!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 05:24:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dashboarding/Use-quot-If-quot-based-on-the-variable-to-show-an-image/m-p/293307#M5631</guid>
      <dc:creator>pcifuef</dc:creator>
      <dc:date>2026-01-20T05:24:12Z</dc:date>
    </item>
  </channel>
</rss>

