<?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 Aggr with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591367#M738049</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to group by my required data &amp;nbsp;on the basis of&amp;nbsp;DF_PACKNR with distinct POD numbers so I have used the below aggr function for it and its working fine.&lt;/P&gt;&lt;P&gt;count(aggr(distinct(DF_POD),DF_PACKNR))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Now I want to apply one more condition on it with different column where need to sort the data on the basis of&amp;nbsp;DF_USER='VR1'.&lt;/P&gt;&lt;P&gt;after applying set analysis on it, Its showing no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please provide some solution for it to apply set analysis with Aggr.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>nikita23</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591367#M738049</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to group by my required data &amp;nbsp;on the basis of&amp;nbsp;DF_PACKNR with distinct POD numbers so I have used the below aggr function for it and its working fine.&lt;/P&gt;&lt;P&gt;count(aggr(distinct(DF_POD),DF_PACKNR))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But Now I want to apply one more condition on it with different column where need to sort the data on the basis of&amp;nbsp;DF_USER='VR1'.&lt;/P&gt;&lt;P&gt;after applying set analysis on it, Its showing no data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could you please provide some solution for it to apply set analysis with Aggr.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591367#M738049</guid>
      <dc:creator>nikita23</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591378#M738050</link>
      <description>It would be easier to provide if you could post some sample data and an example on how you are trying to apply Set to your expression.&lt;BR /&gt;&lt;BR /&gt;Are you applying the set inside the count or inside the aggr or both?&lt;BR /&gt;Does your SET look like this: {$&amp;lt;DF_USER={'VR1'}&amp;gt;} ?</description>
      <pubDate>Thu, 13 Jun 2019 07:03:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591378#M738050</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-13T07:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591387#M738051</link>
      <description>&lt;P&gt;Hi Vegar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am applying like this as below:&lt;/P&gt;&lt;P&gt;AGGR(COUNT(DISTINCT {&amp;lt;DF_USER={'VR1'}&amp;gt;} DF_POD), DF_PACKNR)&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 07:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591387#M738051</guid>
      <dc:creator>nikita23</dc:creator>
      <dc:date>2019-06-13T07:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591507#M738052</link>
      <description>Have you tried&lt;BR /&gt;AGGR( {&amp;lt;DF_USER={'VR1'}&amp;gt;} COUNT(DISTINCT {&amp;lt;DF_USER={'VR1'}&amp;gt;} DF_POD), DF_PACKNR)&lt;BR /&gt;?</description>
      <pubDate>Thu, 13 Jun 2019 10:48:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591507#M738052</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-06-13T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591545#M738053</link>
      <description>&lt;P&gt;Have you tried this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count({&amp;lt;DF_USER = {'VR1'}&amp;gt;} Aggr(DISTINCT Only({&amp;lt;DF_USER = {'VR1'}&amp;gt;} DF_POD), DF_PACKNR))&lt;/LI-CODE&gt;&lt;P&gt;or this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(Aggr(DISTINCT Only({&amp;lt;DF_USER = {'VR1'}&amp;gt;} DF_POD), DF_PACKNR))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 11:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1591545#M738053</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-13T11:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1592013#M738054</link>
      <description>&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Its now working fine in our scenario I mean its giving wrong counts.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 10:39:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1592013#M738054</guid>
      <dc:creator>nikita23</dc:creator>
      <dc:date>2019-06-14T10:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Aggr with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1592022#M738055</link>
      <description>&lt;P&gt;Would you be able to share a sample to show what you are getting and provide the number/s you are hoping to get?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 10:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggr-with-set-analysis/m-p/1592022#M738055</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-06-14T10:56:55Z</dc:date>
    </item>
  </channel>
</rss>

