<?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: totals function in a table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301323#M27619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just tested it and it worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always a pleasure sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Apr 2017 15:53:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-11T15:53:07Z</dc:date>
    <item>
      <title>totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301321#M27617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a totals function that I would like to change into a &lt;STRONG&gt;KPI&lt;/STRONG&gt; but the numbers are matching up when doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;within my measure in the table I have this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: &lt;STRONG&gt;sum(distinct completed_credits)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159767_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my table looks like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/159783_pastedImage_4.png" style="width: 728px; height: 182px; float: none;" /&gt;&lt;/P&gt;&lt;P&gt;The blacked out employee_id is showing only one employee and the course_name is a subset of courses for that training model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total for the sum of completed credits only works correctly when I have employee_id and course_name within the table and if I have the &lt;STRONG&gt;Totals Function &lt;/STRONG&gt;set to Sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone give me some advise on how to change this from a table view over to a KPI? does it have something to do with the aggr() function???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301321#M27617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-11T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301322#M27618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this in a KPI object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(DISTINCT completed_credits), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;employee_id&lt;/SPAN&gt;, training_model_date, course_name))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301322#M27618</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-11T15:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301323#M27619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just tested it and it worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;always a pleasure sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:53:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301323#M27619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-11T15:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301324#M27620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more Question, if I wanted to add a set analysis based on the brand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IE ( Jeep, Dodge, Ram, etc)&amp;nbsp; into that function would it look something like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Sum(DISTINCT {&amp;lt;Brand = {'Jeep'}&amp;gt;}completed_credits), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;employee_id&lt;/SPAN&gt;, training_model_date, course_name))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:57:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301324#M27620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-11T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301325#M27621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And may be add it here as well&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(&lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;{&amp;lt;Brand = {'Jeep'}&amp;gt;}&lt;/STRONG&gt; Aggr(Sum(DISTINCT {&amp;lt;Brand = {'Jeep'}&amp;gt;}completed_credits), &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;employee_id&lt;/SPAN&gt;, training_model_date, course_name))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 15:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301325#M27621</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-04-11T15:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: totals function in a table</title>
      <link>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301326#M27622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum(&lt;STRONG style="color: #ff0000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;Brand = {'Jeep'}&amp;gt;}&lt;/STRONG&gt; Aggr(Sum(DISTINCT completed_credits), &lt;SPAN style="font-style: inherit; font-weight: inherit;"&gt;employee_id&lt;/SPAN&gt;, training_model_date, course_name))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gives me the results I needed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2017 16:01:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/totals-function-in-a-table/m-p/1301326#M27622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-11T16:01:07Z</dc:date>
    </item>
  </channel>
</rss>

