<?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 without selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093991#M363505</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm really sorry but it's not good for two reason :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you change the dimension, and you replace the group GRP by the field Article, you have "1" in TOP column when the Turnover is negative....and you have not only "1" but sometimes 2-3-4-5-6...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I extract to Excel the table with "Article" in dimension, and I create a function in Excel, the result is 1963 for total TOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- If you replace in the "IF" the "1" by "Sum(CA)" like that :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; sum( aggr( if (sum( CA) &amp;gt; 0 , sum( CA) , 0), [$(=GetCurrentField( GRP ))] ,Code_Article))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The total of Top if 12 390 842$. But normaly the result should be minus that the colume "CA N" (12 328 606$).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Do you understand ? (I'm not sure with my english...)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 14:34:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-01T14:34:07Z</dc:date>
    <item>
      <title>Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093983#M363497</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 with my app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one dimension : &lt;/P&gt;&lt;P&gt;- Country&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And 3 expression :&lt;/P&gt;&lt;P&gt;- Turnover N : TO&lt;/P&gt;&lt;P&gt;- Turnover N-1 : TON&lt;/P&gt;&lt;P&gt;- Common Turnover N-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the "Common Turnover N-1", I want to have the Turnover N-1 Only for products wich have Turnover in N and N-1.&lt;/P&gt;&lt;P&gt;So I use this expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum ( aggr( if ( sum(TO) &amp;gt; 0 AND sum({&amp;lt;YEAR={$(vMaxYearN1)}&amp;gt;}TO) &amp;gt; 0 , sum({&amp;lt;YEAR={$(vMaxYearN1)}&amp;gt;}TO) , 0 ) , Product))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I have all dimension, the result is good.&lt;/P&gt;&lt;P&gt;But when I clik on one country, the result change.....because the expression work on common article for just this country.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want the expression work on all product, with or without selection, To have the same result...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure I explain correctly, sorry for my english...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicolas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 13:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093983#M363497</guid>
      <dc:creator />
      <dc:date>2016-01-28T13:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093984#M363498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can clear selections in a field using set analysis, e.g. to clear selections in Country:&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: 13px;"&gt;sum ({&amp;lt;Country= &amp;gt;} aggr( if ( sum({&amp;lt;Country= &amp;gt;} TO) &amp;gt; 0 AND sum({&amp;lt;YEAR={$(vMaxYearN1)}, Country= &amp;gt;}TO) &amp;gt; 0 , sum({&amp;lt;YEAR={$(vMaxYearN1)}, Country= &amp;gt;}TO) , 0 ) , Product))&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: 13px;"&gt;&lt;BR /&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: 13px;"&gt;Not sure if this is what you want or what you need, so it would be helpful if you could explain your data model a bit more detailed, best by uploading a small sample QVW.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jan 2016 18:17:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093984#M363498</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-28T18:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093985#M363499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for that, but it's not what I need.&lt;/P&gt;&lt;P&gt;I give you a small sample QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The column CA N is the Turn Over&lt;/P&gt;&lt;P&gt;The column Top CA is just a TOP column with "1" if the product has turnover, and "0" if not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension is a group cycle, with :&lt;/P&gt;&lt;P&gt;- Région (Country)&lt;/P&gt;&lt;P&gt;- Organisation (Company)&lt;/P&gt;&lt;P&gt;- Marque (Brand)&lt;/P&gt;&lt;P&gt;- Gamme (Product Family)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I clik on a Région or Organisation, the result of "Top" column changing...And I don't want !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for that &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 15:26:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093985#M363499</guid>
      <dc:creator />
      <dc:date>2016-01-29T15:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093986#M363500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like attached?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jan 2016 17:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093986#M363500</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-01-29T17:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093987#M363501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I just looked your sample.&lt;/P&gt;&lt;P&gt;It's always change....look, when you go on "Region" and click on "7", the result move from 153 to 125 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093987#M363501</guid>
      <dc:creator />
      <dc:date>2016-02-01T09:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093988#M363502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in my QV version. It returns same value 152 with or without selection in Region.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using 11.20 SR11 X64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version are you using?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093988#M363502</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T11:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093989#M363503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use 11.20 SR12 x64.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it's runing for Region 7 but you selected a Gamme and a Fournisseur.&lt;/P&gt;&lt;P&gt;If you just Select a ANNEE and a MONTH, and clik to 7 the result is wrong &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 11:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093989#M363503</guid>
      <dc:creator />
      <dc:date>2016-02-01T11:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093990#M363504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the issue is a grain mismatch between the inner dimension Article in your advanced aggregation and the chart dimension. Have a look at&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4418"&gt;Pitfalls of the Aggr function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you see without selecting a Region is not the correct value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the chart dimension to your aggr() dimensions, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( aggr( if (sum( CA) &amp;gt; 0 , 1 , 0), &lt;STRONG&gt;[$(=GetCurrentField( GRP ))]&lt;/STRONG&gt; ,Code_Article))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the values don't change, and I think the values are correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 14:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093990#M363504</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T14:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093991#M363505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm really sorry but it's not good for two reason :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you change the dimension, and you replace the group GRP by the field Article, you have "1" in TOP column when the Turnover is negative....and you have not only "1" but sometimes 2-3-4-5-6...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I extract to Excel the table with "Article" in dimension, and I create a function in Excel, the result is 1963 for total TOP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;- If you replace in the "IF" the "1" by "Sum(CA)" like that :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; sum( aggr( if (sum( CA) &amp;gt; 0 , sum( CA) , 0), [$(=GetCurrentField( GRP ))] ,Code_Article))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The total of Top if 12 390 842$. But normaly the result should be minus that the colume "CA N" (12 328 606$).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Do you understand ? (I'm not sure with my english...)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 14:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093991#M363505</guid>
      <dc:creator />
      <dc:date>2016-02-01T14:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093992#M363506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"If you change the dimension, and you replace the group GRP by the field Article, you have "1" in TOP column when the Turnover is negative....and you have not only "1" but sometimes 2-3-4-5-6...&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;I extract to Excel the table with "Article" in dimension, and I create a function in Excel, the result is 1963 for total TOP."&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;If you change the dimension to Article, you shouldn't just use the same expression I posted above, rather something like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;=if (sum( CA) &amp;gt; 0 , 1 , 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;and enable total mode 'sum-of-rows'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;And I think it's correct that you'll get a total larger than the total for CA N, because I am summing only the positive amounts, not also the negative.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093992#M363506</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093993#M363507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I'm ok, I made that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the dimension to Article.&lt;/P&gt;&lt;P&gt;Change the expression to If (sum(CA) &amp;gt; 0 , 1 , 0)&lt;/P&gt;&lt;P&gt;And Change the Total to "Sum of Rows"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Total il 1963. It's the good Total.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But with the other Expression, and the group, the Total is 8697....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:31:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093993#M363507</guid>
      <dc:creator />
      <dc:date>2016-02-01T15:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093994#M363508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you want the GRP dimension field in the advanced aggregation when you are not using it in your chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With only Article as dimension, you can remove the GRP dimension field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( aggr( if (sum( CA) &amp;gt; 0 , 1 , 0),Code_Article))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I am just missing what you are trying to do. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:02:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093994#M363508</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-02-01T16:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis without selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093995#M363509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No I want to see result by GRP but calculation need to be effective at the article level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So to verify, we can test with other expression and Article in dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And normaly, we should have the same result between the two expression.&lt;/P&gt;&lt;P&gt;1963.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you understand what I mean ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-without-selection/m-p/1093995#M363509</guid>
      <dc:creator />
      <dc:date>2016-02-01T16:08:03Z</dc:date>
    </item>
  </channel>
</rss>

