<?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 Add sign (+/-) using formatting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508049#M482977</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;I was wondering if it is possible to add - using formatting options - a leading + or - depending on the value of the number.&lt;/P&gt;&lt;P&gt;I know one can achieve it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;=if(num(5)&amp;lt;0,'-','+') &amp;amp; '5'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should return "+5".&lt;/P&gt;&lt;P&gt;(e.g. 5 should ofcourse be a dynamic field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jul 2013 12:31:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-22T12:31:21Z</dc:date>
    <item>
      <title>Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508049#M482977</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;I was wondering if it is possible to add - using formatting options - a leading + or - depending on the value of the number.&lt;/P&gt;&lt;P&gt;I know one can achieve it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;=if(num(5)&amp;lt;0,'-','+') &amp;amp; '5'&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which should return "+5".&lt;/P&gt;&lt;P&gt;(e.g. 5 should ofcourse be a dynamic field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508049#M482977</guid>
      <dc:creator />
      <dc:date>2013-07-22T12:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508050#M482978</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes its possible, but more on depends on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508050#M482978</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-22T12:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508051#M482979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It needs to be done in a text box... holding a complex expression.&lt;/P&gt;&lt;P&gt;Because I don't want to evaluate the result (number; postive or negative) twice (one for getting the sign, and one for displaying the actual value) I wanted to use a formatting option (if available).&lt;/P&gt;&lt;P&gt;Hope this makes things a bit more clear.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508051#M482979</guid>
      <dc:creator />
      <dc:date>2013-07-22T12:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508052#M482980</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But when you evaluate the expression, it will show the '-' negative sign if the value is negative and for positive no sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Then why you need to calculate sign separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508052#M482980</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-07-22T12:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508053#M482981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use =num(5, '+ #.##0,00; - #.##0,00; +/- 0,00')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of format-code parts is positive / negative / 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508053#M482981</guid>
      <dc:creator>pennetzdorfer</dc:creator>
      <dc:date>2013-07-22T12:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508054#M482982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Florian,&lt;/P&gt;&lt;P&gt;That is exactly the result I was looking for.&lt;/P&gt;&lt;P&gt;Evaluating the expression once, and getting a plus or a minus sign.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 12:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508054#M482982</guid>
      <dc:creator />
      <dc:date>2013-07-22T12:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508055#M482983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Florian was able to supply me what I need.&lt;/P&gt;&lt;P&gt;All solutions where '5' was put more than once in the expression might have been good, but I wanted to avoid evaluating '5' multiple times (as '5' should be replaced by a complex expression in reality).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all for your very fast responses!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 13:03:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508055#M482983</guid>
      <dc:creator />
      <dc:date>2013-07-22T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508056#M482984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I needed to see the + as well (which is by default not displayed for postive numbers).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 13:05:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508056#M482984</guid>
      <dc:creator />
      <dc:date>2013-07-22T13:05:05Z</dc:date>
    </item>
    <item>
      <title>Re: Add sign (+/-) using formatting</title>
      <link>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508057#M482985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use one simple format - below will add a + for positive numbers, and leave the - for negative numbers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use: num(5, '+#,##0.00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 19:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Add-sign-using-formatting/m-p/508057#M482985</guid>
      <dc:creator />
      <dc:date>2014-09-15T19:45:58Z</dc:date>
    </item>
  </channel>
</rss>

