<?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: Set analysis - Inner aggregation not considering dimension? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-analysis-Inner-aggregation-not-considering-dimension/m-p/3956#M277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new key in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber([Security ID]&amp;amp;User) as &lt;SPAN style="color: #ff0000;"&gt;Key&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;COUNT({&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;Key&lt;/SPAN&gt; = {"=Count({&amp;lt;$(=vSelectedDate)&amp;gt;} DISTINCT [Account ID]) &amp;lt;= 3"}&amp;gt;} DISTINCT [Security ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2018 16:27:52 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-01-19T16:27:52Z</dc:date>
    <item>
      <title>Set analysis - Inner aggregation not considering dimension?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Inner-aggregation-not-considering-dimension/m-p/3955#M276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am try to build a table with the following metric by User.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({&amp;lt;[Security ID] = {"=Count({&amp;lt;$(=vSelectedDate)&amp;gt;} DISTINCT [Account ID]) &amp;lt;= 3"}&amp;gt;} DISTINCT [Security ID])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a KPI, it gives the correct answer. But if I put it in a table, it seems like the securities are grouped by user, but not the accounts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, "&lt;SPAN style="font-size: 13.3333px;"&gt;Count({&amp;lt;$(=vSelectedDate)&amp;gt;} DISTINCT [Account ID]) &amp;lt;= 3" does not consider the user on the table row, but all the accounts for all users.&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;Is there a way to avoid this?&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>Fri, 19 Jan 2018 15:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Inner-aggregation-not-considering-dimension/m-p/3955#M276</guid>
      <dc:creator>maxim1500</dc:creator>
      <dc:date>2018-01-19T15:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis - Inner aggregation not considering dimension?</title>
      <link>https://community.qlik.com/t5/App-Development/Set-analysis-Inner-aggregation-not-considering-dimension/m-p/3956#M277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a new key in your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoNumber([Security ID]&amp;amp;User) as &lt;SPAN style="color: #ff0000;"&gt;Key&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then try this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;COUNT({&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;Key&lt;/SPAN&gt; = {"=Count({&amp;lt;$(=vSelectedDate)&amp;gt;} DISTINCT [Account ID]) &amp;lt;= 3"}&amp;gt;} DISTINCT [Security ID])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 16:27:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-analysis-Inner-aggregation-not-considering-dimension/m-p/3956#M277</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-01-19T16:27:52Z</dc:date>
    </item>
  </channel>
</rss>

