<?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: loading negative nrs into a field is not working in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431050#M160706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to work for me, please check attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2012 14:57:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-09-24T14:57:43Z</dc:date>
    <item>
      <title>loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431046#M160702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="text-align: left;"&gt;hi guys,&lt;/P&gt;&lt;P style="text-align: left;"&gt;I have a filed in the database that contain possitive and negative nrs as follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;USP&lt;/P&gt;&lt;P style="text-align: left;"&gt;(50)&lt;/P&gt;&lt;P style="text-align: left;"&gt;(20)&lt;/P&gt;&lt;P style="text-align: left;"&gt;(3)&lt;/P&gt;&lt;P style="text-align: left;"&gt;5&lt;/P&gt;&lt;P style="text-align: left;"&gt;8&lt;/P&gt;&lt;P style="text-align: left;"&gt;10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;the negative values on the database have () to recognize them but it seems that Qv is not recognizing them as Negative values.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Anyway I can fix that and make the qvw recognize the negative nrs.&lt;/P&gt;&lt;P style="text-align: left;"&gt;Thxs,&lt;/P&gt;&lt;P style="text-align: left;"&gt;Alec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 20:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431046#M160702</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-21T20:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431047#M160703</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 this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(FindOneOf(UPS,'()'), PurgeChar(UPS,'()')*-1),UPS)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 20:45:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431047#M160703</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-09-21T20:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431048#M160704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to tell QV how to interprete the negative format:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;num#('(50)','#;(#)')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should read the '(50)' in as negative number. So try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;num#(USP,'#;(#)') as USP&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM Table;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2012 20:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431048#M160704</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-21T20:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431049#M160705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this method I am getting wrong nrs and when I do Sum(USP) I get 0 which should not be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431049#M160705</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-24T14:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431050#M160706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alec,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems to work for me, please check attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 14:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431050#M160706</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-09-24T14:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: loading negative nrs into a field is not working</title>
      <link>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431051#M160707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;thank you for your help.&lt;/P&gt;&lt;P&gt;it works in your example but not sure why it is not working on mine.&lt;/P&gt;&lt;P&gt;The solution provided by Mayil is working as required.&lt;/P&gt;&lt;P&gt;Thxs,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2012 16:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/loading-negative-nrs-into-a-field-is-not-working/m-p/431051#M160707</guid>
      <dc:creator>alec1982</dc:creator>
      <dc:date>2012-09-24T16:06:17Z</dc:date>
    </item>
  </channel>
</rss>

