<?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: Rounding Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045324#M524290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And why would the variable in the text box round correctly but not in the chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Feb 2016 19:51:54 GMT</pubDate>
    <dc:creator>cbaqir</dc:creator>
    <dc:date>2016-02-03T19:51:54Z</dc:date>
    <item>
      <title>Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045320#M524286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;I am aware of &lt;A href="https://community.qlik.com/qlik-blogpost/3471"&gt;Rounding Errors&lt;/A&gt; but can't figure out how to fix it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Column 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;FISCAL_YEAR&lt;/SPAN&gt;=,&lt;SPAN style="color: #800000;"&gt;APP_DATE&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'}&amp;gt;}APP_DATE))"&lt;/SPAN&gt;}, &lt;SPAN style="color: #800000;"&gt;FCST_DATE&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"$(=date(max(FCST_DATE), 'MM-DD-YYYY'))"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;FCST_AMT&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Column 2 uses a &lt;/SPAN&gt;&lt;STRONG&gt;variable called &lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;$(vLTETC) &lt;/STRONG&gt;and defined as&lt;/EM&gt;&lt;/STRONG&gt;: &lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;round&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({$&amp;lt;&lt;SPAN style="color: #800000;"&gt;FISCAL_YEAR&lt;/SPAN&gt;=,&lt;SPAN style="color: #800000;"&gt;APP_DATE&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'}&amp;gt;}APP_DATE))"&lt;/SPAN&gt;}, &lt;SPAN style="color: #800000;"&gt;FCST_DATE&lt;/SPAN&gt; = {&lt;SPAN style="color: #800000;"&gt;"$(=date(max(FCST_DATE), 'MM-DD-YYYY'))"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;FCST_AMT&lt;/SPAN&gt;),1000 ) /1000&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;These numbers have tied out in the past using the &lt;SPAN style="color: #0000ff;"&gt;round&lt;/SPAN&gt;(xxx,1000 ) /1000. However, you can see that 847,326,771 should round to &lt;STRONG&gt;847,327 NOT 847,324&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;For the record, I have a text box that &lt;STRONG&gt;CORRECTLY&lt;/STRONG&gt; displays&lt;/SPAN&gt; &lt;SPAN style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;$(vLTETC) &lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;as&lt;SPAN style="font-size: 12pt;"&gt; 847,327 which confuses me even more.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Any ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2-3-2016 12-36-25 PM.jpg" class="jive-image image-1" src="/legacyfs/online/113476_2-3-2016 12-36-25 PM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:43:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045320#M524286</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T19:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045321#M524287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you see for this (without the division by 1000):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;round&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FISCAL_YEAR&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;=,&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;APP_DATE&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"&amp;gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'}&amp;gt;}APP_DATE))"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FCST_DATE&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"$(=date(max(FCST_DATE), 'MM-DD-YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;FCST_AMT&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px;"&gt;),1000)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:47:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045321#M524287</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-03T19:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045322#M524288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I see, you sum a set of rounded values which is not the same as round a set of the original values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want max. accurate numbers, your rounding should happen as last step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045322#M524288</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-03T19:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045323#M524289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2-3-2016 12-49-56 PM.jpg" class="jive-image image-1" src="/legacyfs/online/113495_2-3-2016 12-49-56 PM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045323#M524289</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T19:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045324#M524290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And why would the variable in the text box round correctly but not in the chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045324#M524290</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T19:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045325#M524291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;May try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;Round&lt;/STRONG&gt;&lt;STRONG&gt;(&lt;SPAN style="color: #ff0000;"&gt;Sum(Aggr(&lt;/SPAN&gt;Sum({$&amp;lt;FISCAL_YEAR=,APP_DATE={"&amp;gt;$(=Max({&amp;lt;ACT_AMT={'&amp;gt;0'}&amp;gt;}APP_DATE))"}, FCST_DATE = {"$(=date(max(FCST_DATE), 'MM-DD-YYYY'))"}&amp;gt;}FCST_AMT&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #575757;"&gt;&lt;STRONG&gt;)&lt;SPAN style="color: #ff0000;"&gt;, YourChartDimensions))&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;,1000)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045325#M524291</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-03T19:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045326#M524292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="2-3-2016 12-57-47 PM.jpg" class="jive-image image-1" src="/legacyfs/online/113496_2-3-2016 12-57-47 PM.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 19:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045326#M524292</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T19:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045327#M524293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I switched from using the &lt;SPAN style="color: #0000ff;"&gt;round&lt;/SPAN&gt;(xxx,1000 ) /1000 to using &lt;SPAN style="color: #0000ff;"&gt;round&lt;/SPAN&gt;(xxx) /1000 and in Number using Fixed to 0 decimals. It looks right but I am concerned that it may cause other issues which is why we started using &lt;SPAN style="color: #0000ff;"&gt;round&lt;/SPAN&gt;(xxx,1000 ) /1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick responses, guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045327#M524293</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T20:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045328#M524294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am out of options. I am sure Stefan will find an answer for you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:01:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045328#M524294</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-03T20:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045329#M524295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What's your total mode for this expression? Expression total or sum-of-rows?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045329#M524295</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-03T20:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045330#M524296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum of rows&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045330#M524296</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T20:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045331#M524297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using total mode = expression total?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045331#M524297</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-03T20:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045332#M524298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are a genius!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045332#M524298</guid>
      <dc:creator>cbaqir</dc:creator>
      <dc:date>2016-02-03T20:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rounding Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045333#M524299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I second that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 20:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rounding-Issue/m-p/1045333#M524299</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-03T20:12:52Z</dc:date>
    </item>
  </channel>
</rss>

