<?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 values with sign in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1967108#M79708</link>
    <description>&lt;P&gt;Both answers were right! but&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29266"&gt;@Aurelien_Martinez&lt;/a&gt;&amp;nbsp; solution was very simple and do the same job.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 13:15:09 GMT</pubDate>
    <dc:creator>YanivZi</dc:creator>
    <dc:date>2022-08-10T13:15:09Z</dc:date>
    <item>
      <title>Negative values with sign</title>
      <link>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965934#M79617</link>
      <description>&lt;P&gt;I am loading&amp;nbsp; some values that are formed like that: '-0000000151515' and some like this '0000000151515'.&lt;/P&gt;
&lt;P&gt;The values with the &lt;STRONG&gt;minus&lt;/STRONG&gt; sign are interpreted in the model like this: 151515&lt;STRONG&gt;M&lt;/STRONG&gt; (and sometimes other capital letters)&lt;/P&gt;
&lt;P&gt;I like to do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Remove leading zeros&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Keep the minus if exists&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I've tried&lt;/P&gt;
&lt;PRE&gt;Num#(Sample, '0;0-') as Amount2&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;but it did not worked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 13:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965934#M79617</guid>
      <dc:creator>YanivZi</dc:creator>
      <dc:date>2022-08-08T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Negative values with sign</title>
      <link>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965943#M79618</link>
      <description>&lt;P&gt;Hi Yaniv,&lt;/P&gt;
&lt;P&gt;If you don't have decimals with 0 before the decimal separator, the below should work.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;REPLACE(num(LTRIM(REPLACE(Sample, '0',' '))),' ', '0')&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Luiz&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 13:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965943#M79618</guid>
      <dc:creator>luizcdepaula</dc:creator>
      <dc:date>2022-08-08T13:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: Negative values with sign</title>
      <link>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965953#M79619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you try&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Sample*1 as Sample&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Aurélien&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 13:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1965953#M79619</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2022-08-08T13:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Negative values with sign</title>
      <link>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1967108#M79708</link>
      <description>&lt;P&gt;Both answers were right! but&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29266"&gt;@Aurelien_Martinez&lt;/a&gt;&amp;nbsp; solution was very simple and do the same job.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 13:15:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Negative-values-with-sign/m-p/1967108#M79708</guid>
      <dc:creator>YanivZi</dc:creator>
      <dc:date>2022-08-10T13:15:09Z</dc:date>
    </item>
  </channel>
</rss>

