<?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: Distinct in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628140#M230769</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;STRONG style="color: #ff0000;"&gt;Set Analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sets can be used in aggregation functions. Aggregation functions normally aggregate over the set of possible records defined by the current selection. But an alternative set of records can be defined by a set expression. Hence, a set is conceptually similar to a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in the first response, you need to check what you want to achieve and make a difference with SELECT in SQL and the use of SET ANALYSIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 May 2014 17:13:29 GMT</pubDate>
    <dc:creator>Joseph_Musekura</dc:creator>
    <dc:date>2014-05-09T17:13:29Z</dc:date>
    <item>
      <title>Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628134#M230763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I am trying to convert the following sql &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&amp;nbsp; Distinct ID FROM invoiceLine" where number is null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to a set analysis expression.&lt;/P&gt;&lt;P&gt;Can you please help me with it?&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628134#M230763</guid>
      <dc:creator />
      <dc:date>2014-05-09T16:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628135#M230764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are melting Script and layout environments, when data is loaded it can be diplayed in a wide variety of ways&lt;/P&gt;&lt;P&gt;depending on your dimension and expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis is related to the way data is displayed and data must be "aggregated" in some way!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628135#M230764</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-05-09T16:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628136#M230765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how about this&lt;/P&gt;&lt;P&gt;select ID, count(*) from invoiceline where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;where number is null&lt;/SPAN&gt; group by ID...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here we have aggregate function...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:21:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628136#M230765</guid>
      <dc:creator />
      <dc:date>2014-05-09T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628137#M230766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For use in the script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628137#M230766</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2014-05-09T16:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628138#M230767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no in expression....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 16:31:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628138#M230767</guid>
      <dc:creator />
      <dc:date>2014-05-09T16:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628139#M230768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do it either with a search expression or the indirect E() operator. Here it is with E().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{$&amp;lt;ID = E({1&amp;lt;number={"*"}&amp;gt;})&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628139#M230768</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-05-09T17:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628140#M230769</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;STRONG style="color: #ff0000;"&gt;Set Analysis&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Sets can be used in aggregation functions. Aggregation functions normally aggregate over the set of possible records defined by the current selection. But an alternative set of records can be defined by a set expression. Hence, a set is conceptually similar to a selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned in the first response, you need to check what you want to achieve and make a difference with SELECT in SQL and the use of SET ANALYSIS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 17:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628140#M230769</guid>
      <dc:creator>Joseph_Musekura</dc:creator>
      <dc:date>2014-05-09T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628141#M230770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I am trying&lt;/P&gt;&lt;P&gt;Count(DISTINCT {$&amp;lt;ID= E(1&amp;lt;number={"*"}&amp;gt;)&amp;gt;})&lt;/P&gt;&lt;P&gt;But it gives me error "Error in set modifier element function" at curly brace after "number="&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any thing here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 19:44:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628141#M230770</guid>
      <dc:creator />
      <dc:date>2014-05-09T19:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628142#M230771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;count(distinct&amp;nbsp;&amp;nbsp;&amp;nbsp; RobSuggestion&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: =count(distinct {$&amp;lt;id = P({1&amp;lt;bonus={"*"}&amp;gt;})&amp;gt;} sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2014 19:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-in-set-analysis/m-p/628142#M230771</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-05-09T19:59:58Z</dc:date>
    </item>
  </channel>
</rss>

