<?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: How to write condition to find sum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-to-find-sum/m-p/1420363#M428596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr([Story Points], Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Avg([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Min([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Max([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Sum(DISTINCT [Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 15:30:25 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-10-24T15:30:25Z</dc:date>
    <item>
      <title>How to write condition to find sum</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-to-find-sum/m-p/1420362#M428595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have 2 columns in a table&lt;BR /&gt;1) StoryID&amp;nbsp; and 2) StoryPoints&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;StoryID has 44 values out of which 28 values are distinct.&lt;/P&gt;&lt;P&gt;Now I want to find the sum of story points of all distinct StoryId's.&lt;/P&gt;&lt;P&gt;ie., sum(of StoryPoints (of &lt;SPAN style="font-size: 13.3333px;"&gt;all distinct StoryID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;because Sum of all Story Points = 258&lt;/P&gt;&lt;P&gt;and S&lt;SPAN style="font-size: 13.3333px;"&gt;um(of StoryPoints (of &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;all distinct StoryID)) = 166 [Which is desirable]&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;Looking for help and suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 08:28:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-condition-to-find-sum/m-p/1420362#M428595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T08:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to write condition to find sum</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-to-find-sum/m-p/1420363#M428596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr([Story Points], Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Avg([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Min([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Max([Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;Sum(Aggr(Sum(DISTINCT [Story Points]), Story_Id))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 15:30:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-condition-to-find-sum/m-p/1420363#M428596</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-24T15:30:25Z</dc:date>
    </item>
  </channel>
</rss>

