<?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 Joiners and Leavers in Sense in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joiners-and-Leavers-in-Sense/m-p/988455#M337001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We want to analyse our products with a focus on joiners and leavers.&lt;/P&gt;&lt;P&gt;I found the beginning of it on the forum but now I'm stuck.&lt;/P&gt;&lt;P&gt;In below example, leavers for 2012 and joiners for 2013 are correct because I fixed the values in the formula.&lt;/P&gt;&lt;P&gt;My issue is to make it generic for this table in Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current formulas:&lt;/P&gt;&lt;P&gt;* joiners: Count( DISTINCT {$ &amp;lt; DPN= P({&amp;lt;Year_QVW={'2013'}&amp;gt;} DPN)- P({&amp;lt;Year_QVW={'2012'} &amp;gt;} DPN)&amp;gt;} DPN)&lt;/P&gt;&lt;P&gt;* Leavers: Count( DISTINCT {$ &amp;lt; DPN= P({&amp;lt;Year_QVW={'2012'}&amp;gt;} DPN)- P({&amp;lt;Year_QVW={'2013'}&amp;gt;} DPN)&amp;gt;} DPN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use max in the P(), it considers 2015, the max year of my selection, not the year of my column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea to repalce my fixed years by years relative to my columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102134_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 16:13:40 GMT</pubDate>
    <dc:creator>cleblois</dc:creator>
    <dc:date>2015-10-15T16:13:40Z</dc:date>
    <item>
      <title>Joiners and Leavers in Sense</title>
      <link>https://community.qlik.com/t5/QlikView/Joiners-and-Leavers-in-Sense/m-p/988455#M337001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We want to analyse our products with a focus on joiners and leavers.&lt;/P&gt;&lt;P&gt;I found the beginning of it on the forum but now I'm stuck.&lt;/P&gt;&lt;P&gt;In below example, leavers for 2012 and joiners for 2013 are correct because I fixed the values in the formula.&lt;/P&gt;&lt;P&gt;My issue is to make it generic for this table in Sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;current formulas:&lt;/P&gt;&lt;P&gt;* joiners: Count( DISTINCT {$ &amp;lt; DPN= P({&amp;lt;Year_QVW={'2013'}&amp;gt;} DPN)- P({&amp;lt;Year_QVW={'2012'} &amp;gt;} DPN)&amp;gt;} DPN)&lt;/P&gt;&lt;P&gt;* Leavers: Count( DISTINCT {$ &amp;lt; DPN= P({&amp;lt;Year_QVW={'2012'}&amp;gt;} DPN)- P({&amp;lt;Year_QVW={'2013'}&amp;gt;} DPN)&amp;gt;} DPN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use max in the P(), it considers 2015, the max year of my selection, not the year of my column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea to repalce my fixed years by years relative to my columns?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/102134_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 16:13:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joiners-and-Leavers-in-Sense/m-p/988455#M337001</guid>
      <dc:creator>cleblois</dc:creator>
      <dc:date>2015-10-15T16:13:40Z</dc:date>
    </item>
  </channel>
</rss>

