<?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 Formatting Negative Numbers in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61800#M771683</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution given by &lt;A href="https://community.qlik.com/qlik-users/61824" target="_blank"&gt;marcowedel&lt;/A&gt;‌‌ (Kudos to you Master!) in &lt;A href="https://community.qlik.com/thread/38556" target="_blank"&gt;Formatting numbers with VBscript function&lt;/A&gt; thread working perfectly for positive numbers, but in my case I've mixed positive and negative numbers. Is there any way we can show both positive and negative numbers formatted in 'B','M','K' and '$'? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>qlikbobby</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Formatting Negative Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61800#M771683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution given by &lt;A href="https://community.qlik.com/qlik-users/61824" target="_blank"&gt;marcowedel&lt;/A&gt;‌‌ (Kudos to you Master!) in &lt;A href="https://community.qlik.com/thread/38556" target="_blank"&gt;Formatting numbers with VBscript function&lt;/A&gt; thread working perfectly for positive numbers, but in my case I've mixed positive and negative numbers. Is there any way we can show both positive and negative numbers formatted in 'B','M','K' and '$'? &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/Formatting-Negative-Numbers/m-p/61800#M771683</guid>
      <dc:creator>qlikbobby</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Negative Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61801#M771684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show negative value as it is and format as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'B','M','K', '$ then simply change the below line,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vSize = Div(Log10(&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Fabs(&lt;/STRONG&gt;&lt;/SPAN&gt;$1)&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;,3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="204446" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/204446_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;If you want to convert all the negative values to postive and then display the format as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'B','M','K', '$ then simply change this line,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD *,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(vFormatNumber(&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Fabs(&lt;/STRONG&gt;&lt;/SPAN&gt;parameter&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;)) as paramFormat;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;IMG __jive_id="204447" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/204447_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 03:18:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61801#M771684</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-06-06T03:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Negative Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61802#M771685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Arasu, I should have mentioned it earlier but my bad I changed my expression something similar to this Dual('$'&amp;amp;Num(Sum(Sales)/Pow(10,3*Div(Log10(Sum(Sales)),3)),'#,##0.0')&amp;amp;' '&amp;amp;Pick(Div(Log10(Sum(Sales)),3),'K','M','B','T'),Sum(Sales)).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 18:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61802#M771685</guid>
      <dc:creator>qlikbobby</dc:creator>
      <dc:date>2018-06-06T18:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Negative Numbers</title>
      <link>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61803#M771686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay in response. I was off yesterday.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: 'courier new', courier;"&gt;SET vFormatNumber = Dual('$'&amp;amp;Num(Sum(Sales)/Pow(10,3*Div(Log10(Fabs(Sum(Sales))),3)),'#,##0.0')&amp;amp;' '&amp;amp;Pick(Div(Log10(Fabs(Sum(Sales))),3),'K','M','B','T'),Sum(Sales));&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 06:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Formatting-Negative-Numbers/m-p/61803#M771686</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2018-06-08T06:40:12Z</dc:date>
    </item>
  </channel>
</rss>

