<?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: Using images in tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413926#M1155193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a nested if:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) - count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) &amp;gt;=0, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) - count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) &amp;lt; -10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the difference in % use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) /count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) -1 &amp;gt;=0, &lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;if( count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) /count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) -1 &amp;lt; -0.05&lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 13:10:09 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-02-07T13:10:09Z</dc:date>
    <item>
      <title>Using images in tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413925#M1155192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to use a kind of traffic light in my tables with red, orange and green dots.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So far I succed in getting red and green (vCurrentYear=2013, vCurrentLastYear=2012):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({1&amp;lt;Year={&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vCurrentYear)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;studenID&lt;/SPAN&gt;) - &lt;SPAN style="color: #0000ff;"&gt;count&lt;/SPAN&gt;({1&amp;lt;Year={&lt;STRONG&gt;&lt;EM style=": ; color: #808080;"&gt;$(vCurrentLastYear)&lt;/EM&gt;&lt;/STRONG&gt;}&amp;gt;} &lt;SPAN style="color: #800000;"&gt;studentID&lt;/SPAN&gt;) &amp;gt;=0, 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But I can't figure out how to make an orange dot in stead of a red dot whenever the difference is negative, but small (ex. between -1 to -10).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Also I would like to calculate the difference in percent (with the orange dot whenever -5% &amp;lt; Difference &amp;lt; 0 %)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Can anyone help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bruno&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 12:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413925#M1155192</guid>
      <dc:creator />
      <dc:date>2013-02-07T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using images in tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413926#M1155193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a nested if:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) - count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) &amp;gt;=0, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) - count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) &amp;lt; -10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the difference in % use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) /count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) -1 &amp;gt;=0, &lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_g.png',&lt;/P&gt;&lt;P&gt;if( count({1&amp;lt;Year={$(vCurrentYear)}&amp;gt;} studenID) /count({1&amp;lt;Year={$(vCurrentLastYear)}&amp;gt;} studentID) -1 &amp;lt; -0.05&lt;/P&gt;&lt;P&gt;'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_r.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/led_y.png'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 13:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413926#M1155193</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-07T13:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using images in tables</title>
      <link>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413927#M1155194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As always super quick and correct &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 13:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-images-in-tables/m-p/413927#M1155194</guid>
      <dc:creator />
      <dc:date>2013-02-07T13:52:08Z</dc:date>
    </item>
  </channel>
</rss>

