<?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: '[]' in number format in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100801#M755275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that QV has slight problems in mixing brackets [] with %.&lt;/P&gt;&lt;P&gt;Enter an expression and fill in the required formatting by hand&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214312_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2018 16:27:48 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2018-09-24T16:27:48Z</dc:date>
    <item>
      <title>'[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100798#M755272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to display like this:&lt;/P&gt;&lt;P&gt;[+5.1%]&lt;/P&gt;&lt;P&gt;[-2.4%]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thefore I tried below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp; Num( x, '+0.0%; -0.0%')&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2)&amp;nbsp; Num( x, '[+0.0%]; [-0.0%]') &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course (1) was successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but&amp;nbsp; (&lt;SPAN style="font-size: 10pt;"&gt;2)&amp;nbsp; failed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use (3),(4):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3)&amp;nbsp; '[' &amp;amp; Num( x, '+0.0%; -0.0%')&amp;nbsp; &amp;amp; ']'&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; because (3) is not smart when x is null.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(4) if( isnull(x), null(), '[' &amp;amp; Num( x, '+0.0%; -0.0%')&amp;nbsp; &amp;amp; ']')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; because the x is actuary very long formula.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise me.&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/in-number-format/m-p/100798#M755272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: '[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100799#M755273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;i tried&lt;/P&gt;&lt;P&gt;num(_evolution,'[+ ##0%];[- ##0%;0%]')&lt;/P&gt;&lt;P&gt;and it works&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 15:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100799#M755273</guid>
      <dc:creator>olivierrobin</dc:creator>
      <dc:date>2018-09-24T15:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: '[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100800#M755274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What about this:&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;&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( len(x) &amp;gt; 0, '[' &amp;amp; Num( x, '+0.0%; -0.0%')&amp;nbsp; &amp;amp; ']'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, null())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 15:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100800#M755274</guid>
      <dc:creator>joseph_eftamand</dc:creator>
      <dc:date>2018-09-24T15:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: '[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100801#M755275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that QV has slight problems in mixing brackets [] with %.&lt;/P&gt;&lt;P&gt;Enter an expression and fill in the required formatting by hand&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214312_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 16:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100801#M755275</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-24T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: '[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100802#M755276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;thanks Olivier, Joseph, and Peter,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Olivier, for example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; Num(0.1234, '[+ ##0.00%]')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;It return [+ 0.12%].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;We expect [+ 12.34%].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;As Peter says, It seems Qv's problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;or specification of format specifier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Joseph's formula use x 2 times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;because x is very long formula, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I want to avoid it if possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Peter's method is interesting.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 06:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100802#M755276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-26T06:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: '[]' in number format</title>
      <link>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100803#M755277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suggest to check your spelling,&lt;/P&gt;&lt;P&gt;here it works and delivers correct formatting:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/214561_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem with QV seems, that you are not able to copy this formatting to another expression, but you need to enter the formatting string by hand for each expression ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Sep 2018 08:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/in-number-format/m-p/100803#M755277</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2018-09-27T08:15:53Z</dc:date>
    </item>
  </channel>
</rss>

