<?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 Count Distinct - Customer Cycle in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-Cycle/m-p/1945272#M1219546</link>
    <description>&lt;P&gt;Dear QlikView Experts,&lt;/P&gt;
&lt;P&gt;I need to calculate :&lt;/P&gt;
&lt;P&gt;1- count distinct&amp;nbsp; customer&amp;nbsp; with Datefin&amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay))&lt;/P&gt;
&lt;P&gt;Formula : count(distinct aggr(if(Datefin&amp;gt;0 and Datefin&amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay)),[IDCLIENT]),[IDCLIENT],DATEPRODSQL))&lt;/P&gt;
&lt;P&gt;2- Cumulative count of customers with&amp;nbsp;Datefin &amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay))&lt;/P&gt;
&lt;P&gt;==&amp;gt; When I select year in dateField , I need to display all customers with datefin &amp;lt;= $(vCurrentYear)&lt;/P&gt;
&lt;P&gt;3 - Returning Customer :&lt;/P&gt;
&lt;P&gt;Formula :&amp;nbsp; count( distinct aggr(if(DATEPRODSQL &amp;gt; 0 and DATEPRODSQL &amp;gt; DATEFIN_LASTDOS AND DRetour&amp;lt;=360,[IDCLIENT]),[IDCLIENT],DATEPRODSQL))&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Jun 2022 07:51:28 GMT</pubDate>
    <dc:creator>Jamal</dc:creator>
    <dc:date>2022-06-18T07:51:28Z</dc:date>
    <item>
      <title>Count Distinct - Customer Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-Cycle/m-p/1945272#M1219546</link>
      <description>&lt;P&gt;Dear QlikView Experts,&lt;/P&gt;
&lt;P&gt;I need to calculate :&lt;/P&gt;
&lt;P&gt;1- count distinct&amp;nbsp; customer&amp;nbsp; with Datefin&amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay))&lt;/P&gt;
&lt;P&gt;Formula : count(distinct aggr(if(Datefin&amp;gt;0 and Datefin&amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay)),[IDCLIENT]),[IDCLIENT],DATEPRODSQL))&lt;/P&gt;
&lt;P&gt;2- Cumulative count of customers with&amp;nbsp;Datefin &amp;lt;= MakeDate($(vCurrentYear),$(vCurrentMonthNum),$(vCurrentDay))&lt;/P&gt;
&lt;P&gt;==&amp;gt; When I select year in dateField , I need to display all customers with datefin &amp;lt;= $(vCurrentYear)&lt;/P&gt;
&lt;P&gt;3 - Returning Customer :&lt;/P&gt;
&lt;P&gt;Formula :&amp;nbsp; count( distinct aggr(if(DATEPRODSQL &amp;gt; 0 and DATEPRODSQL &amp;gt; DATEFIN_LASTDOS AND DRetour&amp;lt;=360,[IDCLIENT]),[IDCLIENT],DATEPRODSQL))&lt;/P&gt;
&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2022 07:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-Distinct-Customer-Cycle/m-p/1945272#M1219546</guid>
      <dc:creator>Jamal</dc:creator>
      <dc:date>2022-06-18T07:51:28Z</dc:date>
    </item>
  </channel>
</rss>

