<?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: Expression returning wrong result in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823109#M533041</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that I have some conditions that depend on this result.&lt;/P&gt;&lt;P&gt;Do you have any tips on how to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Mar 2015 20:17:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-30T20:17:25Z</dc:date>
    <item>
      <title>Expression returning wrong result</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823107#M533039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody ever seen this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82404_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;/P&gt;&lt;P&gt;num([Valor Conta 2],'0.0') - rangesum(num([Valor Recebido 2],'0.0'),num([Valor Glosa 2],'0.0'),num([Valor Perda 2],'0.0'),num([VL_PAGO_RETORNO 2],'0.0'),num([VL_GLOSADO_RETORNO 2],'0.0')) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2266,15 - (2142,24+123,91) = 4,54747350..... &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&lt;STRONG style="font-size: 14pt;"&gt;should be zero!&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 19:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823107#M533039</guid>
      <dc:creator />
      <dc:date>2015-03-30T19:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returning wrong result</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823108#M533040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is close enough to 0 - see this "e-013"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823108#M533040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T20:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returning wrong result</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823109#M533041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that I have some conditions that depend on this result.&lt;/P&gt;&lt;P&gt;Do you have any tips on how to fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823109#M533041</guid>
      <dc:creator />
      <dc:date>2015-03-30T20:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returning wrong result</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823110#M533042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe using round().&amp;nbsp; And no need for num() for each part, it is only for presentation but doesn't change underlying values.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;round(&lt;/STRONG&gt;&lt;BR /&gt;[Valor Conta 2] - rangesum([Valor Recebido 2], [Valor Glosa 2], [Valor Perda 2], [VL_PAGO_RETORNO 2], [VL_GLOSADO_RETORNO 2]) &lt;BR /&gt;&lt;STRONG&gt;,0.01)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823110#M533042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-30T20:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression returning wrong result</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823111#M533043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try rounding to something reasonable.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;Round(num([Valor Conta 2],'0.0'),0.001) -Round(rangesum(num([Valor Recebido 2],'0.0'),num([Valor Glosa 2],'0.0'),num([Valor Perda 2],'0.0'),num([VL_PAGO_RETORNO 2],'0.0'),num([VL_GLOSADO_RETORNO 2],'0.0')),0.001)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 20:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-returning-wrong-result/m-p/823111#M533043</guid>
      <dc:creator />
      <dc:date>2015-03-30T20:31:04Z</dc:date>
    </item>
  </channel>
</rss>

