<?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 Load certain values as negatives in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-certain-values-as-negatives/m-p/321883#M1198286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;If (code = 454 or code =400 , Amount*-1, Amount) as Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Apr 2011 12:56:22 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2011-04-15T12:56:22Z</dc:date>
    <item>
      <title>Load certain values as negatives</title>
      <link>https://community.qlik.com/t5/QlikView/Load-certain-values-as-negatives/m-p/321882#M1198285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How would I go about loading the values of certain fields as negative, IF another field meets certain criteria?&lt;/P&gt;&lt;P&gt;I have the following 2 fields - [Transaction Amount] and [Transaction Code].&lt;/P&gt;&lt;P&gt;Certain transactions are purchase reversals, so if I load them as negative numbers it is easier for me to show the Turnover (I can just sum the totals).&lt;/P&gt;&lt;P&gt;My statment must be:&lt;/P&gt;&lt;P&gt;Load [Tran Amount] as negative value IF [Tran Code] = 36 or 931.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 12:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-certain-values-as-negatives/m-p/321882#M1198285</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-15T12:52:24Z</dc:date>
    </item>
    <item>
      <title>Load certain values as negatives</title>
      <link>https://community.qlik.com/t5/QlikView/Load-certain-values-as-negatives/m-p/321883#M1198286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;If (code = 454 or code =400 , Amount*-1, Amount) as Amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 12:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-certain-values-as-negatives/m-p/321883#M1198286</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2011-04-15T12:56:22Z</dc:date>
    </item>
  </channel>
</rss>

