<?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: issue with Sum(Value) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159888#M94057</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update, I used distinct to remove the duplicates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 09:18:07 GMT</pubDate>
    <dc:creator>Raju_6952</dc:creator>
    <dc:date>2024-01-10T09:18:07Z</dc:date>
    <item>
      <title>issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159434#M94009</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have value field coming from excel file and sum(value) is giving wrong value. any idea why the sum(value) is wrong here. I am using measure like sum(value) not used any set analysis.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raju_6952_0-1704792297980.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126699i3CF4314FB53284E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raju_6952_0-1704792297980.png" alt="Raju_6952_0-1704792297980.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 09:27:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159434#M94009</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-01-09T09:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159442#M94011</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;What values do you have in excel. Pl share the file&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 09:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159442#M94011</guid>
      <dc:creator>P_Kale</dc:creator>
      <dc:date>2024-01-09T09:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159456#M94016</link>
      <description>&lt;P&gt;Presumably, what you're showing as "one row" is actually 431 rows of data with the same unique dimension combination. You should be able to confirm this by adding e.g. Count(Value) as a measure.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 09:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159456#M94016</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2024-01-09T09:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159499#M94022</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Yes count(Value) is 431 only, any idea to make it work .&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159499#M94022</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-01-09T10:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159505#M94025</link>
      <description>&lt;P&gt;Fix whatever is causing the duplication in the data model, or don't use sum(), or use aggr() in some way to get around whatever is wrong with the data model. Impossible to say without knowing what the data model is like.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 10:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159505#M94025</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2024-01-09T10:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159718#M94046</link>
      <description>&lt;P&gt;Since all 431 rows have the same value for "Value", I assume you could use Sum(Distinct Value).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6142"&gt;@Or&lt;/a&gt;&amp;nbsp;suggested, you may want to investigate the duplication in the data model to determine if it's valid.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 18:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159718#M94046</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-01-09T18:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159888#M94057</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update, I used distinct to remove the duplicates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 09:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159888#M94057</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-01-10T09:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159991#M94075</link>
      <description>&lt;P&gt;Sum(Distinct) is almost never a good idea. For example, consider that in the below dataset, the sum of A will be 3, the sum of B will be 5, and the total sum distinct will be 6 rather than 8.&lt;/P&gt;
&lt;P&gt;Dim1, Value&lt;/P&gt;
&lt;P&gt;A, 1&lt;/P&gt;
&lt;P&gt;A, 2&lt;/P&gt;
&lt;P&gt;B, 2&lt;/P&gt;
&lt;P&gt;B, 3&lt;/P&gt;
&lt;P&gt;I'd strongly advise either fixing the data model or, if that's not feasible for some reason, working with aggr(). Sum(Distinct) is (almost) never the answer. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 12:00:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159991#M94075</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2024-01-10T12:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159998#M94078</link>
      <description>&lt;P&gt;the problem is that on the source side data is loaded twice or thrice with similar data as follows.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Raju_6952_0-1704888391530.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/126804iA535DAAC442A53B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Raju_6952_0-1704888391530.png" alt="Raju_6952_0-1704888391530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;need to consider only value for latest modified date for each primary key field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 12:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2159998#M94078</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-01-10T12:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2160132#M94089</link>
      <description>&lt;P&gt;Then I would suggest something like:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sum(Aggr(FirstSortedValue(Value, -ModifedDate), PrimaryKey))&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Not sure if you will need "NoDistinct" in the Aggr(). Didn't get a chance to test it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 15:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2160132#M94089</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-01-10T15:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: issue with Sum(Value)</title>
      <link>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2160349#M94106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148"&gt;@rwunderlich&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for the update but not working as expected.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Raju&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 07:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issue-with-Sum-Value/m-p/2160349#M94106</guid>
      <dc:creator>Raju_6952</dc:creator>
      <dc:date>2024-01-11T07:22:05Z</dc:date>
    </item>
  </channel>
</rss>

