<?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: Problem with Aggregation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126052#M370605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for text object you can this:&lt;/P&gt;&lt;P&gt;=sum(aggr(count(DISTINCT {$&amp;lt;USE_DATA={'2'},DISPATCH_TIME={'&amp;gt;01/05/2016'}&amp;gt;}DOCUMENT_ID),DOCUMENT_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2016 15:25:53 GMT</pubDate>
    <dc:creator>idogridish2</dc:creator>
    <dc:date>2016-05-11T15:25:53Z</dc:date>
    <item>
      <title>Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126046#M370599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody, I have a dude with aggregation. I need to do something but I don't know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="124277" alt="Captura de pantalla.jpg" class="jive-image image-1" src="/legacyfs/online/124277_Captura de pantalla.jpg" style="height: 357px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I need count the quantity of Document_ID that appear more that once and use_data=2 and dispatch&amp;gt;'01/05/2016'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, in this example, I must count 3 (4833237, 4833242, 4833258) because are the document_id&amp;nbsp; that be repeated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And not must count: 4833218, 4833248 and 4833255 because appear once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126046#M370599</guid>
      <dc:creator />
      <dc:date>2016-05-11T14:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126047#M370600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT {&amp;lt;Document_ID = {"=Count({&amp;lt;use_data = {2}, dispatch = {'&amp;gt;$(=Date(MonthStart(Today())))'}&amp;gt;}Document_ID) &amp;gt; 1"}, &lt;SPAN style="font-size: 13.3333px;"&gt;use_data = {2}, dispatch = {'&amp;gt;$(=Date(MonthStart(Today())))'}&lt;/SPAN&gt;&amp;gt;} Document_ID)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126047#M370600</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T14:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126048#M370601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, no works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126048#M370601</guid>
      <dc:creator />
      <dc:date>2016-05-11T14:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126049#M370602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/aleira27"&gt;aleira27&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;you can use Group By in the script,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;by creating a new table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New_Temp_Table_Name:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document_ID,&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document_ID&lt;/SPAN&gt;) as [Doc Count]&lt;/P&gt;&lt;P&gt;resident &lt;SPAN style="font-size: 13.3333px;"&gt;Old_Table_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;use_data=2 and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dispatch&amp;gt;'01/05/2016'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Group By &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document_ID&lt;/SPAN&gt;&lt;/SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;noconcatanate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New_&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Table_Name:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;LOAD &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Document_ID,&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Doc Count]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;resident &lt;SPAN style="font-size: 13.3333px;"&gt;New_Temp_Table_Name&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 13.3333px;"&gt;where &lt;SPAN style="font-size: 13.3333px;"&gt;[Doc Count]&amp;gt;=2;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table &lt;SPAN style="font-size: 13.3333px;"&gt;New_Temp_Table_Name;&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;Hope that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126049#M370602</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-05-11T14:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126050#M370603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 14:48:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126050#M370603</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T14:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126051#M370604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;I attach a file with the sample.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I need count the quantity of Document_ID that appear more that once and use_data=2 and dispatch_time_floor&amp;gt;'01/05/2016' (variable called vFechaFiltro)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:09:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126051#M370604</guid>
      <dc:creator />
      <dc:date>2016-05-11T15:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126052#M370605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for text object you can this:&lt;/P&gt;&lt;P&gt;=sum(aggr(count(DISTINCT {$&amp;lt;USE_DATA={'2'},DISPATCH_TIME={'&amp;gt;01/05/2016'}&amp;gt;}DOCUMENT_ID),DOCUMENT_ID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126052#M370605</guid>
      <dc:creator>idogridish2</dc:creator>
      <dc:date>2016-05-11T15:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126053#M370606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you may be make the file a little smaller&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 15:26:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126053#M370606</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-11T15:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126054#M370607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are there not possibilities without create new tables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because I have a problem.. the date &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'01/05/2016' are in a variable in the application and the idea is that if the user change the date the result changes, because I need calculate in an expresion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I attach the .qvw file to see mi example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126054#M370607</guid>
      <dc:creator />
      <dc:date>2016-05-11T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Aggregation</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126055#M370608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can't you download?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2016 17:33:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-Aggregation/m-p/1126055#M370608</guid>
      <dc:creator />
      <dc:date>2016-05-11T17:33:09Z</dc:date>
    </item>
  </channel>
</rss>

