<?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 Variable in set analysis with aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422407#M428923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colleagues, good day!&lt;/P&gt;&lt;P&gt;In my dummy model i have two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table with settings&lt;/P&gt;&lt;P&gt;Set:&lt;/P&gt;&lt;P&gt;LOAD Id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Settings);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//Table with sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD Id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In qvw i created variable vComp, which calculate the date week before based on &lt;SPAN style="font-size: 13.3333px;"&gt;EndDate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;is it possible to calculate in set analysis sum of sales for those Dates &amp;gt;=&lt;SPAN style="font-size: 13.3333px;"&gt;vComp. The idea - value of this variable should be aggregated by Id, because One Id could have several &lt;SPAN style="font-size: 13.3333px;"&gt;vComp values.&lt;/SPAN&gt;&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;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Oct 2017 13:17:54 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-24T13:17:54Z</dc:date>
    <item>
      <title>Variable in set analysis with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422407#M428923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Colleagues, good day!&lt;/P&gt;&lt;P&gt;In my dummy model i have two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Table with settings&lt;/P&gt;&lt;P&gt;Set:&lt;/P&gt;&lt;P&gt;LOAD Id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EndDate&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Settings);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;//Table with sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD Id, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Test.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In qvw i created variable vComp, which calculate the date week before based on &lt;SPAN style="font-size: 13.3333px;"&gt;EndDate.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;is it possible to calculate in set analysis sum of sales for those Dates &amp;gt;=&lt;SPAN style="font-size: 13.3333px;"&gt;vComp. The idea - value of this variable should be aggregated by Id, because One Id could have several &lt;SPAN style="font-size: 13.3333px;"&gt;vComp values.&lt;/SPAN&gt;&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;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 13:17:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422407#M428923</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T13:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in set analysis with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422408#M428924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So how would the find table look like? Would you be able to share expected output in an Excel file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 13:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422408#M428924</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-24T13:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Variable in set analysis with aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422409#M428925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See please new input file and output.&lt;BR /&gt;set analysis should calculate data only for yellow cells.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Oct 2017 13:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-in-set-analysis-with-aggregation/m-p/1422409#M428925</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T13:37:02Z</dc:date>
    </item>
  </channel>
</rss>

