<?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: Assign negative values to variable values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166249#M887573</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work if you are using this as calculated field in the LOAD script or a UI expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, your Quantity values should be numeric, not just pure text values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2016 16:17:08 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-09-08T16:17:08Z</dc:date>
    <item>
      <title>Assign negative values to variable values</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166248#M887572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a very simple question, in which i wasn't able to find a solution from google.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the sample of my table: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;Price&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to make all Quantity values negative. I tried Quantity*(-1) but it didn't work. Can anyone please suggest a way to acomplish that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166248#M887572</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Assign negative values to variable values</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166249#M887573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work if you are using this as calculated field in the LOAD script or a UI expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, your Quantity values should be numeric, not just pure text values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166249#M887573</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-08T16:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Assign negative values to variable values</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166250#M887574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should work.. Can you post your variable expression !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 16:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166250#M887574</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T16:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Assign negative values to variable values</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166251#M887575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num#(Quantity,'#')*-1 as Quantity&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 18:03:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166251#M887575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-08T18:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Assign negative values to variable values</title>
      <link>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166252#M887576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked finally! Thanks for your suggestions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 06:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Assign-negative-values-to-variable-values/m-p/1166252#M887576</guid>
      <dc:creator />
      <dc:date>2016-09-09T06:10:08Z</dc:date>
    </item>
  </channel>
</rss>

