<?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 Set analysis aggregation for a field with multiple values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265275#M398630</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 have the following set analysis that works to give student course completion for students having Status_value as 1-Junior&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]='1-Junior'" } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to modify the above expression to give me a total count of student course completion across all Status_values. I tried the following but got 0 as result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]='1-Junior', '2- Sophomore'" } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&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;Kindly suggest!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2017 16:09:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-13T16:09:09Z</dc:date>
    <item>
      <title>Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265275#M398630</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 have the following set analysis that works to give student course completion for students having Status_value as 1-Junior&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]='1-Junior'" } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to modify the above expression to give me a total count of student course completion across all Status_values. I tried the following but got 0 as result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]='1-Junior', '2- Sophomore'" } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&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;Kindly suggest!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265275#M398630</guid>
      <dc:creator />
      <dc:date>2017-02-13T16:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265276#M398631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]= { '1-Junior', '2- Sophomore'} " } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265276#M398631</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-02-13T16:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265277#M398632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId] = , [Status_Value] = {'1-Junior', '2- Sophomore'} &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;Or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum(aggr(count (DISTINCT {$&amp;lt;[StudentId]={"=[Status_Value]=&lt;SPAN style="color: #ff0000;"&gt;{&lt;/SPAN&gt;'1-Junior&lt;SPAN style="color: #ff0000;"&gt;', '&lt;/SPAN&gt;2- Sophomore&lt;SPAN style="color: #ff0000;"&gt;'}&lt;/SPAN&gt;" } &amp;gt;} if ($(vrDateRange), [StudentId]) ),[Course Number], [ResultEnd Date]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:16:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265277#M398632</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-13T16:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265278#M398633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried. Returns 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:20:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265278#M398633</guid>
      <dc:creator />
      <dc:date>2017-02-13T16:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265279#M398634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First expression does not return correct value. 2nd expression returns 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265279#M398634</guid>
      <dc:creator />
      <dc:date>2017-02-13T16:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265280#M398635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Sum(Aggr(Count (DISTINCT {$&amp;lt;[StudentId] = &lt;SPAN style="color: #ff0000;"&gt;{"=Match([Status_Value], '1-Junior', '2- Sophomore')"}&lt;/SPAN&gt;&amp;gt;} if ($(vrDateRange), [StudentId])), [Course Number], [ResultEnd Date]))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=Sum(Aggr(Count (DISTINCT {$&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;[Status_Value] =&amp;nbsp; {'1-Junior', '2- Sophomore'}&lt;/SPAN&gt;&amp;gt;} if ($(vrDateRange), [StudentId])), [Course Number], [ResultEnd Date]))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265280#M398635</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-13T16:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis aggregation for a field with multiple values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265281#M398636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be remove "&lt;STRONG&gt;=&lt;/STRONG&gt;" and then check&lt;/P&gt;&lt;P&gt; or else use Match function to retrieve the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Match(Dim,'Value1','Value2')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-aggregation-for-a-field-with-multiple-values/m-p/1265281#M398636</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-13T16:25:23Z</dc:date>
    </item>
  </channel>
</rss>

