<?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 + Set analysis with the same DIM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393794#M423407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem w AGGR with Set analysis the there is the same DIM in both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare in chart current year to previosu year and I have the expressions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[This Year]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;Year={$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear))}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, Year, Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Year Ago]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;&lt;STRONG style="color: #ff0000;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;{$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear)-1)}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, &lt;STRONG style="color: #ff0000; text-decoration: underline;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;,&lt;/SPAN&gt; Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This is working fine when no Year is selected.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;When Year is selected (even the same as vCurrentYear) second expression &lt;SPAN style="font-size: 13.3333px;"&gt;[Year Ago] &lt;/SPAN&gt;is not working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I noticed that if I remove Year from AGGR Dimensions it is showing results whether Year is selected or not, however values are different with and without Year as AGGR Dim&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;Year={$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear)-1)}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I have tried putting set analysis at different places but still they were not working&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;aggr &lt;/SPAN&gt;( count (&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;sum(aggr ( count (&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;aggr &lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS} &lt;/SPAN&gt;&lt;/SPAN&gt;( count ( &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt; - I have QV 11.20 - this is underlined by QV as wrong, but it's giving results (different than other)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-family: 'Segoe UI';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I have also tried with '1' instead of $ in set analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can anyone help how to keep Year in Set Analysis and AGGR DIM ?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 10:36:04 GMT</pubDate>
    <dc:creator>karolina_</dc:creator>
    <dc:date>2017-12-13T10:36:04Z</dc:date>
    <item>
      <title>AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393794#M423407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem w AGGR with Set analysis the there is the same DIM in both&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to compare in chart current year to previosu year and I have the expressions:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[This Year]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;Year={$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear))}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, Year, Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Year Ago]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;&lt;STRONG style="color: #ff0000;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;{$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear)-1)}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, &lt;STRONG style="color: #ff0000; text-decoration: underline;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="color: #ff0000; text-decoration: underline;"&gt;,&lt;/SPAN&gt; Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;This is working fine when no Year is selected.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;When Year is selected (even the same as vCurrentYear) second expression &lt;SPAN style="font-size: 13.3333px;"&gt;[Year Ago] &lt;/SPAN&gt;is not working.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I noticed that if I remove Year from AGGR Dimensions it is showing results whether Year is selected or not, however values are different with and without Year as AGGR Dim&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;Year={$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear)-1)}&amp;gt;} aggr(Count(DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline; font-family: calibri, verdana, arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I have tried putting set analysis at different places but still they were not working&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;aggr &lt;/SPAN&gt;( count (&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;sum(aggr ( count (&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS} &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: 'Segoe UI';"&gt;&lt;BR /&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;sum(&lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;aggr &lt;SPAN style="color: #000000; font-size: 13.3333px;"&gt;{SET ANALYSIS} &lt;/SPAN&gt;&lt;/SPAN&gt;( count ( &lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 8pt;"&gt; - I have QV 11.20 - this is underlined by QV as wrong, but it's giving results (different than other)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-family: 'Segoe UI';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #000000; font-size: 8pt; font-family: 'Segoe UI';"&gt;&lt;SPAN style="font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;I have also tried with '1' instead of $ in set analysis.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Can anyone help how to keep Year in Set Analysis and AGGR DIM ?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 10:36:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393794#M423407</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2017-12-13T10:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393795#M423408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if you use set in aggr() like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;sum(&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;aggr &lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;(&amp;nbsp; &lt;STRONG&gt;{&amp;lt;Year&amp;gt;}&lt;/STRONG&gt; count (&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;Edit: Of course, if your field is RoK, then the expression would be like: &lt;EM&gt; = &lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;aggr &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;(&amp;nbsp; &lt;STRONG&gt;{&amp;lt;RoK&amp;gt;}&lt;/STRONG&gt; count (&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: calibri, verdana, arial, sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 10:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393795#M423408</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-13T10:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393796#M423409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;BR /&gt;It is not working but this is:&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif;"&gt;sum({&amp;lt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;{$(=if(GetSelectedCount(Year)=1,Only(Year),vCurrentYear)-1)}&amp;gt;} aggr(Count( &lt;STRONG style=": ; color: #ff0000;"&gt;{&amp;lt;Year&amp;gt;}&lt;/STRONG&gt; DISTINCT&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif;"&gt;if([Date2]&amp;gt;=MonthStart and [Date2]&amp;lt;=MonthEnd, ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif;"&gt;),ID, &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;Year&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;,&lt;/SPAN&gt; Month, Date2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Can you edit your answer so i will mark it?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a million!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 10:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393796#M423409</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2017-12-13T10:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393797#M423410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgot to whole expression to english &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Point is:&lt;BR /&gt;correct form is not &lt;EM style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;aggr &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;(&amp;nbsp; &lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;Year&amp;gt;}&lt;/STRONG&gt; count (&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;but &lt;EM style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;{SET ANALYSIS}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;aggr &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;(&amp;nbsp; count ( &lt;EM style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;&lt;STRONG style="font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;{&amp;lt;Year&amp;gt;}&lt;/STRONG&gt; &lt;/EM&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;which I would not try without your help, so I asked for edit your expression to mark it as vcorrect.&lt;/SPAN&gt;&lt;EM style="color: #000000; font-size: 13.3333px; font-style: inherit; font-family: calibri, verdana, arial, sans-serif; font-weight: inherit;"&gt;&lt;EM style="font-size: 13.3333px; font-family: calibri, verdana, arial, sans-serif; color: #000000;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 14:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393797#M423410</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2017-12-13T14:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393798#M423411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general the set component in aggr(), like&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggr( {Set Analysis} Count(...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;is equivalent to (unless you are using older version of qv than 12)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Aggr( Count ( &amp;lt;Set Analysis&amp;gt; ....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried the one I suggested? Isn't it working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 04:44:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393798#M423411</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-14T04:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: AGGR + Set analysis with the same DIM</title>
      <link>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393799#M423412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using 11.20. &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr( {Set Analysis} Count( - is marked as wrong in expres&lt;/EM&gt;sion, but it is giving results. However not for previous year when Year is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only &lt;EM style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aggr( Count ( &amp;lt;Set Analysis&amp;gt; .. &lt;/EM&gt;gives results &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2017 07:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AGGR-Set-analysis-with-the-same-DIM/m-p/1393799#M423412</guid>
      <dc:creator>karolina_</dc:creator>
      <dc:date>2017-12-14T07:24:00Z</dc:date>
    </item>
  </channel>
</rss>

