<?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: Sum column using an aggr if function in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223247#M23809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the top image shows the correct GWP, note how the count stays the same with your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Correct.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147405_Correct.png" style="width: 620px; height: 293px;" /&gt;&lt;IMG alt="Wrong.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147406_Wrong.png" style="width: 620px; height: 284px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Dec 2016 12:18:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-12-22T12:18:27Z</dc:date>
    <item>
      <title>Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223235#M23797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a working aggr if expression kindly created by SunnyT on here last week, I need this formula to now have an additional steps and cannot seem to get it to work: Sum(Aggr(If(Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID) &amp;gt; 9, 1, 0), [Broker Name]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above expression identifies the number of quotes created by user and if the total number exceeds 10 then their submissions are counted within a simple KPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I now need is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Show the amount of sales in financial terms for those users. So the two new markers would be Quote_Secured_Count and then it would need to sum the money which is held under GWP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic must only sum the GWP where Quote_Secured_Count = 1 for the users where the Quote_Submitted_Count exceeded 10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 09:04:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223235#M23797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T09:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223236#M23798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have tried using a completely different expression, but no success:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID)&amp;gt;9, Sum({$&amp;lt;Quote_Secured_Count={"1"}&amp;gt;} GWP),0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 09:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223236#M23798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T09:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223237#M23799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you just need this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum(Aggr(If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={"1"}&amp;gt;} TransactionID)&lt;/SPAN&gt; &amp;gt; 9, &lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;GWP&lt;/SPAN&gt;), [Broker Name]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 10:35:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223237#M23799</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T10:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223238#M23800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the formula results in £0 result, it's also important that the Quote_Secured_Count marker = 1 because there are values for all entries in the GWP column and so we only want to pull through those with the 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 10:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223238#M23800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T10:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223239#M23801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess if without any filter you are getting 0, adding another set analysis filter the number is going to go down unless there are huge negatives when &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Quote_Secured_Count &lt;/SPAN&gt;&amp;lt;&amp;gt; 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess, give this a shot?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum(Aggr(If(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] = {"1"}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Quote_Secured_Count={"1"}&lt;/SPAN&gt;&amp;gt;} TransactionID)&lt;/SPAN&gt; &amp;gt; 9, &lt;SPAN style="font-weight: inherit; font-style: inherit; color: #ff0000;"&gt;GWP&lt;/SPAN&gt;), [Broker Name]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 10:45:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223239#M23801</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T10:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223240#M23802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still coming back as £0. Is it because the GWP column would have to be a sum, seeing as it houses financial amounts and the formula is currently based on count logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 10:53:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223240#M23802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T10:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223241#M23803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this new approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Count&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT {&amp;lt;[Broker Name] = {"=Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={1}&amp;gt;} TransactionID) &amp;gt; 9"}&amp;gt;} [Broker Name])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Sum&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;[Broker Name] = {"=Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={1}&amp;gt;} TransactionID) &amp;gt; 9"}, Quote_Secured_Count={"1"}&amp;gt;} GWP)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 11:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223241#M23803</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T11:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223242#M23804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, I am now getting a GWP value. But it is for all GWP where Quote Secured Count = 1 as opposed to only showing the value for the brokers that had 10 or more active quotes. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The count expression works exactly as you planned.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 11:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223242#M23804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T11:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223243#M23805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you create a table where you have Broker Name as dimension and these two expressions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Broker Name] = {"=Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={1}&amp;gt;} TransactionID) &amp;gt; 9"}, Quote_Secured_Count={"1"}&amp;gt;} GWP)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) &lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={1}&amp;gt;} TransactionID)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and post a screenshot of this chart?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 11:48:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223243#M23805</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T11:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223244#M23806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately due to data protection I cannot post a picture of the actual information. I can confirm that I've done what you requested, what is interesting is that the sum formula appears to be ignoring the Created xad filter. So the reason it is counting all amounts is that without the xad filter of 1 being in play the sum would be above 10 for most users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:02:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223244#M23806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T12:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223245#M23807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView is case sensitive, do you know if the field is called &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Created xad or Created XAD or some variation of it?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223245#M23807</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T12:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223246#M23808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Qlik Sense, so not sure if that makes a difference. The field is Created xad&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is interesting is that the count expression works perfectly, I created another filter called "User Type", if I add this in the filter panel and select external the count does not change at all, but the sum then drops to the correct level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the issue would appear to be that it is ignoring the Created xad filter for some reason.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223246#M23808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T12:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223247#M23809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the top image shows the correct GWP, note how the count stays the same with your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Correct.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/147405_Correct.png" style="width: 620px; height: 293px;" /&gt;&lt;IMG alt="Wrong.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/147406_Wrong.png" style="width: 620px; height: 284px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:18:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223247#M23809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T12:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223248#M23810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between Created xad and User Type field? If you made use of User Type to make selection to get the desired result, do you think you might need User Type in your set analysis instead of Created xad?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223248#M23810</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T12:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223249#M23811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;[Broker Name] = {"=Count({$&amp;lt;Quote_Submitted_Count ={1}, [Created xad] ={1}&amp;gt;} TransactionID) &amp;gt; 9"}, Quote_Secured_Count={"1"}&lt;SPAN style="color: #ff0000;"&gt;, &lt;/SPAN&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Created xad] ={1}&lt;/STRONG&gt;&amp;gt;} GWP)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:27:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223249#M23811</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-12-22T12:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sum column using an aggr if function</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223250#M23812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You finally found a combination that Qlik likes! Thanks Sunny, I'd never have gotten to the bottom of it by myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 12:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-column-using-an-aggr-if-function/m-p/1223250#M23812</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-22T12:29:29Z</dc:date>
    </item>
  </channel>
</rss>

