<?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: 2 decimal points in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170059#M911410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Round is modifying the number stored internally, while the num() function changes the text representation&lt;/P&gt;&lt;P&gt;(have a look at &lt;A href="https://community.qlik.com/qlik-blogpost/2830"&gt;Data Types in QlikView&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The number format tab in the chart properties is doing something similar like the num() function.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I assume nPrinting is only looking at the number stored and uses his own formatting (or none).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jun 2016 09:18:39 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-06-13T09:18:39Z</dc:date>
    <item>
      <title>2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170056#M911407</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;Just wondering if anyone has seen this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a QlikView app; all works fine. Then when I send this output to nPrinting, it expands the numbers and doesn't keep them to 2 decimal places. In my app, they are set to 2 decimal places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried setting the formatting to 2 decimal places in the expression and then have a look at the output in nPrinting and it shows as &lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/127550_pastedImage_0.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I change the number format itself to 2 decimal places on the chart tabs and still I get &lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/127551_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a powerpoint nprinting output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone understand why this happens? I have the same issue with percentages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advice appreciated.&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/2-decimal-points/m-p/1170056#M911407</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170057#M911408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;STRONG&gt;Round&lt;/STRONG&gt;( Sum(Value) &lt;STRONG&gt;,0.01)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your expression?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 14:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170057#M911408</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-10T14:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170058#M911409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent.&lt;/P&gt;&lt;P&gt;This worked a charm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num( ..... , '#.##') wont work?&lt;/P&gt;&lt;P&gt;or why when changing the number format directly in the chart tabs; that even though in QlikView, both options appeared to 2 decimal places but when reflected in nPrinting, this would have about 8 decimal points?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 08:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170058#M911409</guid>
      <dc:creator>bobbydave</dc:creator>
      <dc:date>2016-06-13T08:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170059#M911410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Round is modifying the number stored internally, while the num() function changes the text representation&lt;/P&gt;&lt;P&gt;(have a look at &lt;A href="https://community.qlik.com/qlik-blogpost/2830"&gt;Data Types in QlikView&lt;/A&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The number format tab in the chart properties is doing something similar like the num() function.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I assume nPrinting is only looking at the number stored and uses his own formatting (or none).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 09:18:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170059#M911410</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-06-13T09:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170060#M911411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use num(&amp;nbsp; Number ,'#,##0.00')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 09:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170060#M911411</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-06-13T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170061#M911412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;yes, the expression works - but only in sum-fields. If you use an arithmetic operation, it won't; for example:&lt;/P&gt;&lt;P&gt;round(sum(Value),0.01)/count(distinct (pieces)) shows still 329,96581436655 in the NPrinting-generated Excel&lt;/P&gt;&lt;P&gt;The same, if you display results in % .&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 15:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170061#M911412</guid>
      <dc:creator />
      <dc:date>2017-03-23T15:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170062#M911413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have that much experience with NPrinting. You might be better off creating a new thread in the NPrinting forum space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would give it a try applying the formatting / rounding to the result of the arithmetic operation:&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; font-size: 12px; background-color: #f2f2f2;"&gt;=round( sum(Value) /count(distinct pieces) &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f2f2f2;"&gt;,0.01)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 16:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170062#M911413</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-23T16:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: 2 decimal points</title>
      <link>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170063#M911414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want number formatting to not start jumping around and do its own thing, include at least one zero in the number format, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;num(..., '#.#0')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'courier new', courier;"&gt;num(..., '#.##')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or the result may even decide to switch to scientific notation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Mar 2017 16:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/2-decimal-points/m-p/1170063#M911414</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-03-23T16:26:33Z</dc:date>
    </item>
  </channel>
</rss>

