<?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: Getting a total based on the possible values from field selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131754#M897844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I might have been a little confusing. The totals that I want for the output is the sum of all the products of the specific date according to when the apple was purchased.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since John purchased the apple on 1/5/2016, I want to know his total on that day which is $2. James' total would be $4 since he purchased the apple on 1/6/2016 and Jenny's would be $6. Grand total of the apple selection would be $12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there was a way to do this. Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jul 2016 20:25:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-07-23T20:25:24Z</dc:date>
    <item>
      <title>Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131753#M897843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data model has basically 4 things, a customer, a purchase date, product, and sale amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="274" style="border: 1px solid rgb(0, 0, 0); width: 290px; height: 176px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Cust&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;John&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/5/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Apple&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;John&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/6/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Banana&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;John&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1/6/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Banana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;John&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/7/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Orange&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;James&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/6/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Apple&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;James&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/6/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Banana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;James&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/7/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Banana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jenny&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1/5/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Banana&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jenny&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/6/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Apple&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Jenny&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/7/2016&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Orange&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to be able to get the total of whoever bought Apples but only on the date they bought the Apple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select Apple in the field selection, I want to be able to get John's total on 1/5/2016, James total on 1/6/2016, and Jenny's total on 1/6/2016, coming out to be $12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131753#M897843</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131754#M897844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I might have been a little confusing. The totals that I want for the output is the sum of all the products of the specific date according to when the apple was purchased.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since John purchased the apple on 1/5/2016, I want to know his total on that day which is $2. James' total would be $4 since he purchased the apple on 1/6/2016 and Jenny's would be $6. Grand total of the apple selection would be $12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there was a way to do this. Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2016 20:25:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131754#M897844</guid>
      <dc:creator />
      <dc:date>2016-07-23T20:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131755#M897845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this maybe?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2016 20:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131755#M897845</guid>
      <dc:creator>damirm86</dc:creator>
      <dc:date>2016-07-23T20:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131756#M897846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For single purchase, this formula seems to be working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;Product&amp;gt;}Aggr(If(Only({&amp;lt;Product&amp;gt;}Date) = Only(TOTAL &amp;lt;Cust&amp;gt; Date), Only({&amp;lt;Product&amp;gt;}Amount)), Cust, Date, Product))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Works for Apple, but doesn't work for Banana. What would be the output for selection in Banana?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2016 22:49:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131756#M897846</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-23T22:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131757#M897849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2016 00:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131757#M897849</guid>
      <dc:creator />
      <dc:date>2016-07-24T00:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131758#M897851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2016 15:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131758#M897851</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-07-24T15:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131759#M897852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ming,&lt;/P&gt;&lt;P&gt;What about :&lt;/P&gt;&lt;TABLE bgcolor="#ffffff" border="1" cellpadding="2" cellspacing="0" style="font-size: 9pt;"&gt;&lt;TBODY&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Cust&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;TH nowrap="nowrap"&gt;&lt;SPAN style="color: #363636;"&gt;&lt;STRONG&gt;Sum(Aggr(If(index(aggr(Concat(Product,'|'),Cust,Date),'Apple'),Sum(Amount)),Cust,Date))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR bgcolor="#f5f5f5"&gt;&lt;TD bgcolor="#f5f5f5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt; &lt;/TD&gt;&lt;TD bgcolor="#f5f5f5"&gt;&lt;STRONG&gt;12 &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1/5/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;John&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;2&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1/6/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;James&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;4&lt;/SPAN&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;TR bgcolor="#ffffff"&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;1/6/2016&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;Jenny&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD bgcolor="#ffffff"&gt;&lt;SPAN style="color: #363636;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2016 17:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131759#M897852</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2016-07-24T17:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131760#M897853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sunny!&amp;nbsp; Learned only() from you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2016 18:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131760#M897853</guid>
      <dc:creator />
      <dc:date>2016-07-24T18:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131761#M897854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It shows the total for the product. I still need the date total based on the product selection if you can help. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 14:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131761#M897854</guid>
      <dc:creator />
      <dc:date>2016-07-26T14:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Getting a total based on the possible values from field selection</title>
      <link>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131762#M897855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow! This is exactly what I'm looking for. Thank you all your help. Much appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 14:57:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Getting-a-total-based-on-the-possible-values-from-field/m-p/1131762#M897855</guid>
      <dc:creator />
      <dc:date>2016-07-26T14:57:44Z</dc:date>
    </item>
  </channel>
</rss>

