<?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 AGGR in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137354#M600974</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes Sunny !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2018 13:10:19 GMT</pubDate>
    <dc:creator>souadouert</dc:creator>
    <dc:date>2018-10-25T13:10:19Z</dc:date>
    <item>
      <title>SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137350#M600970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to establish the expression set analysis of these conditions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count -&amp;gt; Number of customer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NB_PRODUCT +NB_ARTICL &amp;gt; 0 in DATE=$VAR_DATE&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;in current year -&amp;gt; YEAR=$YEAR_CURRENT , STATUT=' ok'&amp;nbsp; because a customer can have several status in different date, just find a date with the situation 'ok'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my expression&lt;/P&gt;&lt;P&gt;count(&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(sum(Aggr(sum( {&amp;lt; DATE={$(VAR_DATE)} ,&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;STATUT={$(=Max({&amp;lt;YEAR= {$(=(YEAR_CURRENT ))},STATUT={'OK'}&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;gt;} NB_PRODUCT +NB_ARTICL ),CUSTOMER_ID))&amp;gt;0,CUSTOMER_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:11:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137350#M600970</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2018-10-25T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137351#M600971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where are you planning to use this Souad? Also, can you share few rows of mocked up data to show what you have and what you want from it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 11:22:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137351#M600971</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-25T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137352#M600972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/216759_Capture.PNG" style="height: 234px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;CUSTOMER 200 in last date 201803 the statut ='nok' but in currect year 201801 the statut='ok'&amp;nbsp; and NB_articl+nb_PRODUCT=19 in last date&amp;nbsp; So i count this customer &lt;/P&gt;&lt;P&gt;CUSTOMER 100 &lt;SPAN style="font-size: 10pt;"&gt;in last date 201803 the statut ='nok' but in currect year 201801 the statut='ok'&amp;nbsp; and NB_articl+nb_PRODUCT=0 in last date&amp;nbsp; So i dont count this customer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;CUSTOMER 300 &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; in currect year 201801 the statut='ok'&amp;nbsp; and NB_articl+nb_PRODUCT=11&amp;nbsp; So i count this customer &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 12:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137352#M600972</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2018-10-25T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137353#M600973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, basically if customer is has status = 'ok' for any date in the $YEAR and the latest date's value &amp;gt; 0, we count them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:01:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137353#M600973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-25T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137354#M600974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes Sunny !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:10:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137354#M600974</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2018-10-25T13:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137355#M600975</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;STRONG&gt;Count(DISTINCT {&amp;lt;Customer =&amp;nbsp; {"=Index(Concat(DISTINCT {&amp;lt;YEAR= {$(=(YEAR_CURRENT))}&amp;gt;} '|' &amp;amp; Status &amp;amp; '|'), '|ok|') and FirstSortedValue(NB_articl+nb_PRODUCT, -Date) &amp;gt; 0"}&amp;gt;} Customer)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 13:24:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137355#M600975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-25T13:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS AGGR</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137356#M600976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 14:22:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-AGGR/m-p/137356#M600976</guid>
      <dc:creator>souadouert</dc:creator>
      <dc:date>2018-10-25T14:22:01Z</dc:date>
    </item>
  </channel>
</rss>

