<?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 Difference in summed values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Difference-in-summed-values/m-p/83125#M5512</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to do some calculations of some GL codes, but I am getting different values depending on how I write the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two ways I was writing the function are as follows - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_01" + "GL_BAL_02")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;versus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_01") &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;+ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_02")&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;The latter provides the correct value and there is a distinct difference in the returned value. Is this something to do with my data set? I would assume there would be no difference between the two calculations?&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;Thanks&lt;BR /&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 18:34:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-09T18:34:37Z</dc:date>
    <item>
      <title>Difference in summed values</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-in-summed-values/m-p/83125#M5512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to do some calculations of some GL codes, but I am getting different values depending on how I write the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The two ways I was writing the function are as follows - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_01" + "GL_BAL_02")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;versus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_01") &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;+ &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;GL_NBR={'*90115-*','*90210-*','*90220-*','*90225-*','*90230-*'}&amp;gt;} "GL_BAL_02")&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;The latter provides the correct value and there is a distinct difference in the returned value. Is this something to do with my data set? I would assume there would be no difference between the two calculations?&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;Thanks&lt;BR /&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 18:34:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-in-summed-values/m-p/83125#M5512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-09T18:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference in summed values</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-in-summed-values/m-p/83126#M5513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the first one will discard complete rows where one of GL_BAl_01 or Bal_02 is not having value&lt;/P&gt;&lt;P&gt;but 2nd one will consider those rows and add in Bal_01 or _02 whichever is present in such rows.&lt;/P&gt;&lt;P&gt;Check this sample, I could see the difference in values when used your expressions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 19:51:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-in-summed-values/m-p/83126#M5513</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2018-02-09T19:51:51Z</dc:date>
    </item>
  </channel>
</rss>

