<?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: If statement to display arrow indicator in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433146#M1165936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+225 03386502&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Le Jeudi 23 janvier 2014 10h40, Prasadreddy &amp;lt;qcwebmaster@qlik.com&amp;gt; a écrit :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;QlikCommunity &lt;/P&gt;&lt;P&gt;If statement to display arrow indicator &lt;/P&gt;&lt;P&gt;reply from Prasadreddy in New to QlikView - View the full discussion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 09:43:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-01-23T09:43:36Z</dc:date>
    <item>
      <title>If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433140#M1165930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was just wondering if you could help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two variables:&amp;nbsp; 1. Variable1 (current month score)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. Variable2 (previous month score) , (both in % value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to make a monthly comparison trend indicator using green and red arrows (from bundled images) in a text box. If score increases, green arrow pointing up. If score decreases, red arrow pointing down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my text box code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;Variable1&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;-&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;Variable2&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;gt; 0 ,&lt;BR /&gt; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png','qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_s_r.png') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 12px;"&gt;BuiltIn/arrow_n_g.png - Green Up arrow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; font-family: 'Courier New';"&gt;BuiltIn/arrow_s_r.png - Red down arrow&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12px; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, I always get a red arrow pointing down no matter what the trend is, even if i interchange values Can you tell me what i am doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433140#M1165930</guid>
      <dc:creator />
      <dc:date>2012-09-24T07:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433141#M1165931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(&lt;STRONG&gt;(&lt;/STRONG&gt;variable1-variable2&lt;STRONG&gt;)&lt;/STRONG&gt;&amp;gt;0,...,...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe the if statment just checks if variable2 &amp;gt; 0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433141#M1165931</guid>
      <dc:creator />
      <dc:date>2012-09-24T07:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433142#M1165932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also you can try using this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( variable1 &amp;gt; variable2, ...,....)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 07:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433142#M1165932</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2012-09-24T07:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433143#M1165933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well i tried it but it still shows red arrow pointing down for ALL values. Thanks though! Any further help would be appreciated. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433143#M1165933</guid>
      <dc:creator />
      <dc:date>2012-09-24T08:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433144#M1165934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! This seems to work and i just got it now. Thanks a lot AL!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 08:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433144#M1165934</guid>
      <dc:creator />
      <dc:date>2012-09-24T08:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433145#M1165935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, it is working,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to know how to resize the arrow indicator size in cell,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because it is looking big,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one help on this to reduce the indicator size...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 09:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433145#M1165935</guid>
      <dc:creator>prasadreddy</dc:creator>
      <dc:date>2014-01-23T09:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433146#M1165936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;+225 03386502&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Le Jeudi 23 janvier 2014 10h40, Prasadreddy &amp;lt;qcwebmaster@qlik.com&amp;gt; a écrit :&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;QlikCommunity &lt;/P&gt;&lt;P&gt;If statement to display arrow indicator &lt;/P&gt;&lt;P&gt;reply from Prasadreddy in New to QlikView - View the full discussion&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 09:43:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433146#M1165936</guid>
      <dc:creator />
      <dc:date>2014-01-23T09:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: If statement to display arrow indicator</title>
      <link>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433147#M1165937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasadreddy, you have to open the properties panel, go to the expession panel, select the expression and, finally, select "Keep Aspect" from the "Image formatting" combobox. Best regards AL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 14:19:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-statement-to-display-arrow-indicator/m-p/433147#M1165937</guid>
      <dc:creator>anlonghi2</dc:creator>
      <dc:date>2014-01-23T14:19:12Z</dc:date>
    </item>
  </channel>
</rss>

