<?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 number in brackets in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178034#M519742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you but didn´t work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2016 12:47:51 GMT</pubDate>
    <dc:creator>rcandeo</dc:creator>
    <dc:date>2016-08-26T12:47:51Z</dc:date>
    <item>
      <title>negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178027#M519734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a text object that I wanna show as number with % and when it´s negative I wanna it in brackets.&lt;/P&gt;&lt;P&gt;It works if the result is +20.29%, but if the result is (8.85%) it shows (0.09%)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression is as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num((&lt;/P&gt;&lt;P&gt;max(Aggr(&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[Reporting Calendar Year] = {'$(vCurrentYear)'}&amp;gt;} $(vCurrency)) - sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)),&lt;/P&gt;&lt;P&gt;[Broker Pack Region]))&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;max(Aggr(&lt;/P&gt;&lt;P&gt;(sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)) - sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYearBefore)'}&amp;gt;} $(vCurrency)))&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYearBefore)'}&amp;gt;} $(vCurrency)),&lt;/P&gt;&lt;P&gt;[Broker Pack Region])))*100&lt;/P&gt;&lt;P&gt;,'+ ###.##%;(###.##%);-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what to do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 11:55:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178027#M519734</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-26T11:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178028#M519735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i got, If you got +ve value then 12.43%&lt;/P&gt;&lt;P&gt;Meantime, While selection if you got -Ve value then (-12.43%) -- Is this you are expecting? Or What&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178028#M519735</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-26T12:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178029#M519736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry not being more clear. With positive(+) value then works.With negative(-) values it is showing divided by 100, so when should see (12.43%) it shows (0.12%)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:18:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178029#M519736</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-26T12:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178030#M519738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's tricky t explain, Can you post sample application which demonstrates the issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:20:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178030#M519738</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-08-26T12:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178031#M519739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=Num((&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;max(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({&amp;lt;[Reporting Calendar Year] = {'$(vCurrentYear)'}&amp;gt;} $(vCurrency)) - sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Broker Pack Region]))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;max(Aggr(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYear)'}&amp;gt;} $(vCurrency)) - sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYearBefore)'}&amp;gt;} $(vCurrency)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;sum({&amp;lt;[Reporting Calendar Year] = {'$(vPriorYearBefore)'}&amp;gt;} $(vCurrency)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;[Broker Pack Region])))*100&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;,'&lt;SPAN style="color: #ff0000;"&gt;+###.##%;(###.##%)&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178031#M519739</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-26T12:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178032#M519740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;Num(YourExpression,'+ ###.##%;(###.##&lt;SPAN style="color: #ff0000;"&gt;)%&lt;/SPAN&gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;watch the place of the ) and %&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:28:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178032#M519740</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2016-08-26T12:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178033#M519741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works. Thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178033#M519741</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-26T12:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178034#M519742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you but didn´t work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178034#M519742</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-26T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: negative number in brackets</title>
      <link>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178035#M519743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you. it´s solved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2016 12:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/negative-number-in-brackets/m-p/1178035#M519743</guid>
      <dc:creator>rcandeo</dc:creator>
      <dc:date>2016-08-26T12:48:10Z</dc:date>
    </item>
  </channel>
</rss>

