<?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: num not working as expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395140#M806477</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also, i have that in my document settings and yet i have to set it manually, for each expression. is that a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Nov 2017 14:27:57 GMT</pubDate>
    <dc:creator>becki_kain</dc:creator>
    <dc:date>2017-11-02T14:27:57Z</dc:date>
    <item>
      <title>num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395137#M806474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(TP1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VEH_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Segment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Segment2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Full-Size Pickup - O8500','Full-Size Pickup - U8500'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Volume&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(total_sales_vol_tp1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*100,.1) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I get a bizarre result of 101&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but if I do this (replacing num with round, nothing else changed):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[TP]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(TP1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;VEH_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Segment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Segment2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Full-Size Pickup - O8500','Full-Size Pickup - U8500'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Volume&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(total_sales_vol_tp1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;)*100,.1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I get 10.3, which is correct and is also the correct answer for the num command.&amp;nbsp; i use the exact same num command in another pivot chart, same project, and it's fine.&amp;nbsp; is this a bug?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;becki kain&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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/num-not-working-as-expected/m-p/1395137#M806474</guid>
      <dc:creator>becki_kain</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395138#M806475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe try&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;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;((&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[TP]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(TP1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;VEH_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Segment&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; -= {'Unk'}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Segment2&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;={'Full-Size Pickup - O8500','Full-Size Pickup - U8500'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;Volume&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)/&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(total_sales_vol_tp1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)*100,.1,'##,##0')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395138#M806475</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-11-01T19:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395139#M806476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;close, I just remembered I have to, for each expression, do this for number formatting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#.#;(#.#) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to do it globally for the document and why does not having that in make qlik give me completely the wrong number?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:37:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395139#M806476</guid>
      <dc:creator>becki_kain</dc:creator>
      <dc:date>2017-11-01T19:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395140#M806477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;also, i have that in my document settings and yet i have to set it manually, for each expression. is that a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395140#M806477</guid>
      <dc:creator>becki_kain</dc:creator>
      <dc:date>2017-11-02T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395141#M806478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have in document settings?&lt;/P&gt;&lt;P&gt;The Number tab where you can set fields to Number?&lt;/P&gt;&lt;P&gt;If yes, then that would only set the Fields or Variables to number and has to be done manually I guess.&lt;/P&gt;&lt;P&gt;Where as here you are writing a Set expression and expect an output result to be in particular format which has to be done manually.&lt;/P&gt;&lt;P&gt;Not sure if that's what your question was?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395141#M806478</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-11-02T14:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: num not working as expected</title>
      <link>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395142#M806480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, I was hoping to set all "numbers" to a specific format, by setting it in document properties, but that does not do that.&amp;nbsp; i'm not certain what it does.&amp;nbsp; does anyone know?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 19:03:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/num-not-working-as-expected/m-p/1395142#M806480</guid>
      <dc:creator>becki_kain</dc:creator>
      <dc:date>2017-11-03T19:03:20Z</dc:date>
    </item>
  </channel>
</rss>

