<?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 num function add +- before the number in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698205#M1055542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I using the num() function in a text object and I would like to add + or - according to the calculation result. The expression is a trend current period in comparison to previous period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several options including '+#,###' and +'#,###'which didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;P&gt;Hila.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Oct 2014 15:41:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-26T15:41:04Z</dc:date>
    <item>
      <title>num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698205#M1055542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I using the num() function in a text object and I would like to add + or - according to the calculation result. The expression is a trend current period in comparison to previous period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several options including '+#,###' and +'#,###'which didn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx!&lt;/P&gt;&lt;P&gt;Hila.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 15:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698205#M1055542</guid>
      <dc:creator />
      <dc:date>2014-10-26T15:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698206#M1055543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=num(MyNum,'+#,##0;-#,##0')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 17:52:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698206#M1055543</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-10-26T17:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698207#M1055544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or even just like this for little less typing :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=num(MyNum,'+#,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Oct 2014 17:55:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698207#M1055544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-26T17:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698208#M1055545</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 using Num()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax: Num(Number, 'Positive Number format;Negative Number format')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;num(-10000,'+#,##0;-#,##0') - Output: -10,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(10000,'+#,##0;-#,##0') - Output: 10,000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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, 27 Oct 2014 04:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698208#M1055545</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-10-27T04:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698209#M1055548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On text box try like below expression &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=if( Sum( YourMetricHere ) &amp;lt;= 0, '-', '+' ) &amp;amp; Fabs( Sum ( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YourMetricHere &lt;/SPAN&gt;) ) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 06:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698209#M1055548</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-10-27T06:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698210#M1055551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Massimo Grossi! this works great!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 06:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698210#M1055551</guid>
      <dc:creator />
      <dc:date>2014-10-27T06:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: num function add +- before the number</title>
      <link>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698211#M1055552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jegan, &lt;/P&gt;&lt;P&gt;I wanted to display +1000 for positive and -1000 for negative. See the marked correct answer for the syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 06:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-function-add-before-the-number/m-p/698211#M1055552</guid>
      <dc:creator />
      <dc:date>2014-10-27T06:41:24Z</dc:date>
    </item>
  </channel>
</rss>

