<?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: Expression Error02 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935644#M952423</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you put this expression? In the load script or UI Object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Dec 2015 10:12:37 GMT</pubDate>
    <dc:creator>eduardo_sommer</dc:creator>
    <dc:date>2015-12-02T10:12:37Z</dc:date>
    <item>
      <title>Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935640#M952419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two tables like the following picture :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="test.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/107832_test.png" style="height: 302px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I need to make the amount become with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt; and &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt; like the following:&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt;&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;1 – Invoice&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2 – Finance Charge&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;3 – Misc Charge&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4 – Return&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal"&gt;&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/minus.png" /&gt;&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;5 – Credit Memo&lt;/P&gt;&lt;P class="yiv5648516824MsoNormal" style="color: #000000; font-family: 'Helvetica Neue', 'Segoe UI', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;6 – Payment&lt;/P&gt;&lt;P&gt;-----------------&lt;/P&gt;&lt;P&gt;I try this expression but it doesn't work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(([R_Document Type]) = 'Credit Memo' &amp;amp; 'Payment',( -1 * ([R_Document Amount])),([R_Document Amount]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 09:54:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935640#M952419</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T09:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935641#M952420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field name were missing after the and (which in fact shoul be an OR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the &amp;amp; operand concatenate both strings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if([R_Document Type] = 'Credit Memo' OR &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[R_Document Type] =&lt;/SPAN&gt; 'Payment',( -1 * ([R_Document Amount])),([R_Document Amount]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Eduardo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935641#M952420</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2015-12-02T10:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935642#M952421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's still plus !! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:02:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935642#M952421</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T10:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935643#M952422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;if(wildmatch([R_Document Type],'*Credit Memo*','*Payment*'),-1*[R_Document Amount],[R_Document Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935643#M952422</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-12-02T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935644#M952423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you put this expression? In the load script or UI Object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935644#M952423</guid>
      <dc:creator>eduardo_sommer</dc:creator>
      <dc:date>2015-12-02T10:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935645#M952424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks it's working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935645#M952424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-02T10:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Expression Error02</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935646#M952425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=if(match(lower([R_Document Type])=,'credit memo', 'payment'),( -1 * ([R_Document Amount])),([R_Document Amount]))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 10:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-Error02/m-p/935646#M952425</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-12-02T10:14:38Z</dc:date>
    </item>
  </channel>
</rss>

