<?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: (P) / (E) in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655123#M448181</link>
    <description>&lt;P&gt;Thanks Sunny.&amp;nbsp; That worked perfectly.&amp;nbsp; Have a great weekend.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 19:02:08 GMT</pubDate>
    <dc:creator>tmumaw</dc:creator>
    <dc:date>2019-12-06T19:02:08Z</dc:date>
    <item>
      <title>(P) / (E) in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655120#M448179</link>
      <description>&lt;P&gt;Trying to use the (P) and having problems.&amp;nbsp; Any idea what might be wrong with this?&amp;nbsp; What I am trying to achieve is to count the number of customers in all years.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;FONT size="1" color="#0000ff"&gt;Count&lt;/FONT&gt;&lt;FONT size="1"&gt;(&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;DISTINCT&lt;/FONT&gt;&lt;FONT size="1"&gt;{$&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;StartYear_Ind&lt;/FONT&gt;&lt;FONT size="1"&gt; = {1},&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Sold To]&lt;/FONT&gt;&lt;FONT size="1"&gt; = &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;P&lt;/FONT&gt;&lt;FONT size="1"&gt;({1&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Valid To Year]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT size="1" color="#808080"&gt;$(=$(vCYear) - 2)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;}&amp;gt;})*&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;P&lt;/FONT&gt;&lt;FONT size="1"&gt;({1&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Valid To Year]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT size="1" color="#808080"&gt;$(=$(vCYear) - 1)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;}&amp;gt;})&amp;gt;} &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Sold To]&lt;/FONT&gt;&lt;FONT size="1"&gt; )*P({1&amp;lt;&lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Valid To Year]&lt;/FONT&gt;&lt;FONT size="1"&gt;={&lt;/FONT&gt;&lt;STRONG&gt;&lt;I&gt;&lt;FONT size="1" color="#808080"&gt;$(=$(vCYear) - 0)&lt;/FONT&gt;&lt;/I&gt;&lt;/STRONG&gt;&lt;FONT size="1"&gt;}&amp;gt;})&amp;gt;} &lt;/FONT&gt;&lt;FONT size="1" color="#800000"&gt;[Sold To]&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT size="1" color="#ff0000"&gt;) &lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655120#M448179</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2024-11-16T01:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: (P) / (E) in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655121#M448180</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(DISTINCT {&amp;lt;StartYear_Ind = {1}, [Sold To] = P({1&amp;lt;[Valid To Year] = {$(=$(vCYear) - 2)}&amp;gt;}) * P({1&amp;lt;[Valid To Year] = {$(=$(vCYear) - 1)}&amp;gt;}) * P({1&amp;lt;[Valid To Year] = {$(=$(vCYear) - 0)}&amp;gt;})&amp;gt;} [Sold To])&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Dec 2019 18:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655121#M448180</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-06T18:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: (P) / (E) in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655123#M448181</link>
      <description>&lt;P&gt;Thanks Sunny.&amp;nbsp; That worked perfectly.&amp;nbsp; Have a great weekend.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 19:02:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E-in-Set-Analysis/m-p/1655123#M448181</guid>
      <dc:creator>tmumaw</dc:creator>
      <dc:date>2019-12-06T19:02:08Z</dc:date>
    </item>
  </channel>
</rss>

