<?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: Negative to positive number conversion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793639#M280518</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;Use Fabs() to convert negative to positive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;Fabs(Num&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Courier New'; color: #941100;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;,'000000')) &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Courier New'; color: #941100;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Dec 2014 03:48:24 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2014-12-29T03:48:24Z</dc:date>
    <item>
      <title>Negative to positive number conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793637#M280516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have the following expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;Num&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #941100; font-family: 'Courier New'; font-size: 16px;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;,'000000') &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #941100; font-family: 'Courier New'; font-size: 16px;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #941100; font-family: 'Courier New'; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt; font-family: 'Courier New';"&gt;How can the above expression be adapted to change negative numbers into positive numbers in cases where these negative numbers exist in addition to formatting a number into a six digit one when required?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 16px;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Courier New'; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #941100; font-family: 'Courier New'; font-size: 16px;"&gt;&lt;SPAN style="color: #000000;"&gt;Chris&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 03:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793637#M280516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-29T03:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Negative to positive number conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793638#M280517</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;Num(fabs([Drug Code]),'000000')&amp;nbsp; as [Drug Code]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 03:26:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793638#M280517</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-12-29T03:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Negative to positive number conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793639#M280518</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;Use Fabs() to convert negative to positive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;Fabs(Num&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Courier New'; color: #941100;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt;,'000000')) &lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #0433ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-style: inherit; font-size: 16px; font-family: inherit; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Courier New'; color: #941100;"&gt;[Drug Code]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 03:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793639#M280518</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-12-29T03:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Negative to positive number conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793640#M280519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prem, many thanks, i will try it out and revert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 03:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793640#M280519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-29T03:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Negative to positive number conversion</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793641#M280520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagan, many thanks, i will try it out and advise accordingly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Dec 2014 03:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-to-positive-number-conversion/m-p/793641#M280520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-29T03:54:25Z</dc:date>
    </item>
  </channel>
</rss>

