<?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: Calculate values (difficult) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138741#M20125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ARTICLE_ID&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2156" data-containertype="14" data-objectid="1117037" data-objecttype="2" href="https://community.qlik.com/message/1117037#1117037"&gt;https://community.qlik.com/message/1117037&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;html&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; 1252, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; @1);&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Join&lt;/SPAN&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; *,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt; &amp;gt;= &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt; +7,&lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;,0) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RESULT&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp;&lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Field&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;Drop&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Temp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="139384" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139384_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Oct 2016 14:25:21 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2016-10-02T14:25:21Z</dc:date>
    <item>
      <title>Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138733#M20117</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;I have the following problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table containing article-data (sample-data):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ARTICLE_ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;PRODUCTGROUP_ID&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;STARTDATE&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;ADDED_AT_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;VALUE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now what I need to do is to add a field to every row of this table.&lt;/P&gt;&lt;P&gt;Those fields are calculated by summing up all &lt;EM&gt;value&lt;/EM&gt;s of the table which have the same productgroup-id as in the current row and also need to have &lt;EM&gt;added_at_date&lt;/EM&gt; in between the startdate and the startdate + 7.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an efficient way to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to create a new table called productgroup, which contains data like the &lt;EM&gt;productgroup_id&lt;/EM&gt;, &lt;EM&gt;added_ad_date&lt;/EM&gt; and &lt;EM&gt;dailyvalue &lt;/EM&gt;(&lt;EM&gt;dailyvalue&lt;/EM&gt; is an accumulation of all values for every &lt;EM&gt;productgroup_id&lt;/EM&gt; and &lt;EM&gt;added_ad_date&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;Doing so I am clueless about how to accumulate the data out of this table for every &lt;EM&gt;article_id&lt;/EM&gt; in the article-table, since it would need to be accumulated for every row over a dynamic amount of rows in the productgroup-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you can help me with ideas or techniques to solve this problem &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 13:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138733#M20117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-02T13:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138734#M20118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to add a calculated field for every &lt;EM&gt;article_id&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its value would be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(value)&lt;/P&gt;&lt;P&gt;group by (&lt;EM&gt;productgroup_id&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;where (&lt;EM&gt;productgroup_id&lt;/EM&gt; = current_&lt;EM&gt;article_id)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; and (&lt;EM&gt;added_at_date&lt;/EM&gt; &amp;gt;= current_&lt;EM&gt;startdate&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; and (&lt;EM&gt;added_at_date&lt;/EM&gt; &amp;lt;= current_&lt;EM&gt;startdate + 7&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there no way to do it in Qlik Sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 08:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138734#M20118</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T08:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138735#M20119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can do the calculation in excel, using a simple sumifs-function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 09:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138735#M20119</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-06T09:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138736#M20120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently this problem is too difficult to be solved with qlik-sense algorithms.&lt;/P&gt;&lt;P&gt;Therefor I had to reduce the problem and therefor the functionality.&lt;/P&gt;&lt;P&gt;Using a single date-value to calculate the productgroup value instead of a variable amount is possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 06:11:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138736#M20120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-29T06:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138737#M20121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure that it couldn't be solved with qlik sense - but I don't really understand how your data look like and what do you want to do. What should be the expected output?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Sep 2016 15:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138737#M20121</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-09-29T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138738#M20122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output for this sample data would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 480px;"&gt;&lt;TBODY&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD class="xl63" height="35" width="80"&gt;ARTICLE_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;PRODUCTGROUP_ID&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;STARTDATE&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;ADDED_AT_DATE&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;" width="80"&gt;VALUE&lt;/TD&gt;&lt;TD class="xl66" style="border-left: none;" width="80"&gt;RESULT&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD class="xl65" height="21" style="border-top: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="80"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD class="xl65" height="21" style="border-top: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;200&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="80"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD class="xl65" height="21" style="border-top: none; font-style: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="80"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-weight: inherit; font-style: inherit;"&gt;&lt;TD class="xl65" height="21" style="border-top: none; font-style: inherit;" width="80"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none; font-style: inherit;" width="80"&gt;400&lt;/TD&gt;&lt;TD class="xl67" style="border-left: none;" width="80"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is a group by productgroup_id, where for every article_id the value is summed up, if the added_at_date is in between the startdate and the startdate + 7.&lt;/P&gt;&lt;P&gt;As I mentioned this can be done if the startdate is fixed, but I don't see a way to do this with a variable startdate (depending on the article_id)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 06:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138738#M20122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-30T06:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138739#M20123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that you rather didn't need an aggregation load and more a check and summing of previous loaded records which could be done within a sorted load with: &lt;A href="https://community.qlik.com/docs/DOC-9314"&gt;Peek() or Previous() ?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Oct 2016 10:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138739#M20123</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-01T10:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138740#M20124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need to understand this better&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you denote how each of the RESULT's were calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="144" style="border: 0px; font-size: 13px; font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; color: rgb(61, 61, 61); width: 787px; height: 149px;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl63" height="35" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="80"&gt;ARTICLE_ID&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;PRODUCTGROUP_ID&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;STARTDATE&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;ADDED_AT_DATE&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;VALUE&lt;/TD&gt;&lt;TD class="xl66" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;RESULT&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="21" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: 0 solid black; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;300 &lt;SPAN style="color: #ff0000;"&gt;How 300?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="21" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: 0 solid black; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;200&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;0 w&lt;SPAN style="color: #ff0000;"&gt;hy Zero?&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="21" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: 0 solid black; font-style: inherit; font-family: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;700 How 700?&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD class="xl65" height="21" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: 0 solid black; font-style: inherit; font-family: inherit;" width="80"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;3&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border-top: none; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;400&lt;/TD&gt;&lt;TD class="xl67" style="padding-right: 4px; padding-left: 4px; border-top: 0 solid black; border-right: 0 solid black; border-bottom: 0 solid black; border-left: none; font-style: inherit; font-family: inherit;" width="80"&gt;700 how 700?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2016 11:44:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138740#M20124</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-10-02T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138741#M20125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Temp:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ARTICLE_ID&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt;, &lt;BR /&gt; &lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;A _jive_internal="true" data-containerid="2156" data-containertype="14" data-objectid="1117037" data-objecttype="2" href="https://community.qlik.com/message/1117037#1117037"&gt;https://community.qlik.com/message/1117037&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; (&lt;SPAN style="color: #0000ff;"&gt;html&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;codepage&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; 1252, &lt;SPAN style="color: #0000ff;"&gt;embedded&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;labels&lt;/SPAN&gt;, &lt;SPAN style="color: #0000ff;"&gt;table&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;is&lt;/SPAN&gt; @1);&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Left&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Join&lt;/SPAN&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;,&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;VALUE&lt;/SPAN&gt;) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Group&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;By&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt; *,&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;If&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt; &amp;gt;= &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ADDED_AT_DATE&lt;/SPAN&gt; &amp;lt;= &lt;SPAN style="color: #800000;"&gt;STARTDATE&lt;/SPAN&gt; +7,&lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;,0) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;RESULT&lt;/SPAN&gt;&lt;BR /&gt; &lt;SPAN style="color: #0000ff;"&gt;Resident&lt;/SPAN&gt; Temp;&lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;DROP&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Field&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;VALUE1&lt;/SPAN&gt;;&lt;BR /&gt; &lt;SPAN style="; color: #0000ff;"&gt;&lt;STRONG&gt;Drop&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;Table&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; Temp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;IMG __jive_id="139384" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139384_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Antonio&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Oct 2016 14:25:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138741#M20125</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2016-10-02T14:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138742#M20126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I took a look into your solution and for the sample data it works very well.&lt;/P&gt;&lt;P&gt;Unfortunately the main problem does not seem to be represented by the given sample data.&lt;/P&gt;&lt;P&gt;This problem lies within the part, where you calculate the product-group values:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;VALUE&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;VALUE1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; Temp&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;By&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PRODUCTGROUP_ID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not yet have the condition to only sum up data inside the given timespan.&lt;/P&gt;&lt;P&gt;I have tested it by adding two lines of sample data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ARTICLE_ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;PRODUCTGROUP_ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;STARTDATE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;ADDED_AT_DATE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;VALUE&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;RESULT&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;525&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;200&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;275&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;4&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;225&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG&gt;500&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;5&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;10&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;275&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;275&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;400&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value is, as I tried to explain, calculated for each and every article, not for the complete product group.&lt;/P&gt;&lt;P&gt;Hope this helps understanding the problem better, for the other ones helping as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138742#M20126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T07:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate values (difficult)</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138743#M20127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First I seperate the data into productgroups.&lt;/P&gt;&lt;P&gt;After this I take every article_id and sum up all values, whose added_at_date lies within the initial startdate and the startdate + 7 of the article_id-row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Explanation.bmp" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/139786_Explanation.bmp" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 07:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-values-difficult/m-p/1138743#M20127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-06T07:52:46Z</dc:date>
    </item>
  </channel>
</rss>

