<?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: How to separate + and - numbers from a numeric field? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109980#M759395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks. I only have EXP_AMT field in the data. So I also need to create the SPEND and CREDITS fields in addition to doing the separation in QV, Preferably at the same time. Any further ideas?&lt;/P&gt;&lt;P&gt;Your test will work fine if I already had the additional fields, unfortunately I don’t.&lt;/P&gt;&lt;P&gt;My data set is too large to create fields externally and then bring in a new QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2018 07:46:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-30T07:46:57Z</dc:date>
    <item>
      <title>How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109977#M759392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a numerical field (EXP_AMT) that contains positive and negative numbers.&lt;/P&gt;&lt;P&gt;I want to be able to script the positive numbers from that field into an (EE_Spend) field and negative into (EE_Credit) field, still retaining the original (Exp_Amt)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your assistance would be gratefully received..&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/How-to-separate-and-numbers-from-a-numeric-field/m-p/109977#M759392</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109978#M759393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use below in your script backend&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(EXP_AMT&amp;lt;0,EE_Credits) as EECREDITS,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if(EXP_AMT&amp;gt;0,EE_Credits) as EESPEND&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You can drop original fields if required at the end of the load.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Test:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD EXP_AMT,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EE_Spend,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EE_Credits,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;lt;0,EE_Credits) as EECREDITS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;gt;0,EE_Credits) as EESPEND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is [Separate the numbers]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields EE_Spend , EE_Credits;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-29_113828.png" class="jive-image image-1" height="160" src="https://community.qlik.com/legacyfs/online/212150_2018-08-29_113828.png" style="height: 159.815px; width: 371px;" width="371" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 15:38:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109978#M759393</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-08-29T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109979#M759394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 07:32:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109979#M759394</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T07:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109980#M759395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks. I only have EXP_AMT field in the data. So I also need to create the SPEND and CREDITS fields in addition to doing the separation in QV, Preferably at the same time. Any further ideas?&lt;/P&gt;&lt;P&gt;Your test will work fine if I already had the additional fields, unfortunately I don’t.&lt;/P&gt;&lt;P&gt;My data set is too large to create fields externally and then bring in a new QVD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 07:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109980#M759395</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T07:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109981#M759396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is that question still pending? Or got the answer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2018 12:57:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109981#M759396</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-08-30T12:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109982#M759397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really answered yet, I only have &lt;SPAN style="text-decoration: underline;"&gt;one&lt;/SPAN&gt; numerical field in the data (EXP_AMT), I want to create a further two,(EXP_SPEND) which has positive numbers AND also (EXP_CREDIT) field which has negative amounts. I would like to know if it possible to do this in a script. Thanks for getting back to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 11:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109982#M759397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T11:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109983#M759398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what is wrong with &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/arvind654"&gt;arvind654&lt;/A&gt;&lt;/STRONG&gt; solution? It looks to me like it does exactly what you asked for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD EXP_AMT,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;lt;0,EE_Credits) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EE_Spend&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;gt;0,EE_Credits) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EE_Credits&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 15:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109983#M759398</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-08-31T15:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109984#M759399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I Only have one numeric field.&amp;nbsp; EE_credits is not there&lt;/P&gt;&lt;P&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 16:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109984#M759399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-31T16:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109985#M759400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD EXP_AMT,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;lt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXP_AMT&lt;/SPAN&gt;) as &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;EE_Spend&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(EXP_AMT&amp;gt;0,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXP_AMT&lt;/SPAN&gt;) as &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;EE_Credits&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 18:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109985#M759400</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-08-31T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109986#M759401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your attachment contained 3 before fields and 3 desired output fields which I believe was the source of the confusion. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2018 18:21:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109986#M759401</guid>
      <dc:creator>wdchristensen</dc:creator>
      <dc:date>2018-08-31T18:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate + and - numbers from a numeric field?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109987#M759402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌yes, the attachment was confusing but thought my text explained the problem. Anyway now resolved by adding a field, saving to another QVD and reloading.then running info from Shahbaz. I just thought there was an easier way.. thanks to all for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Sep 2018 01:47:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-separate-and-numbers-from-a-numeric-field/m-p/109987#M759402</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-02T01:47:31Z</dc:date>
    </item>
  </channel>
</rss>

