<?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() and E() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104552#M894514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A short explanation about each function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P() let you define an element set based on possible values for a field implied by selections defined inside the parenthesis.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E() let you define an &lt;SPAN style="font-size: 13.3333px;"&gt;element &lt;/SPAN&gt;set based on excluded values of a field &lt;SPAN style="font-size: 13.3333px;"&gt;implied by selections defined inside the parenthesis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 13 Aug 2016 00:09:40 GMT</pubDate>
    <dc:creator>pablolabbe</dc:creator>
    <dc:date>2016-08-13T00:09:40Z</dc:date>
    <item>
      <title>P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104550#M894512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Expert&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create a report that said me if one DOCUMENT buy other product in the last 12 months, for example in this case the report have to return only 12345 a 10/2/2016 because in this actual month(08 august) the same document but other product in the last 12 months(10/02/2016 mont=february)&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 240px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="80"&gt;Document&lt;/TD&gt;&lt;TD width="80"&gt;Product&lt;/TD&gt;&lt;TD width="80"&gt;Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;12345&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10/2/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;12345&lt;/TD&gt;&lt;TD&gt;b&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10/8/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;455&lt;/TD&gt;&lt;TD&gt;a&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10/8/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;887&lt;/TD&gt;&lt;TD&gt;c&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;10/2/2016&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use P() and E() FUNCTIONS?&lt;/P&gt;&lt;P&gt;somebody have an example to applicate to this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ATTACHED THIS SAME EXCEL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104550#M894512</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104551#M894513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can you post an example of the final result that you need ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pablo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2016 00:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104551#M894513</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2016-08-13T00:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104552#M894514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A short explanation about each function &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P() let you define an element set based on possible values for a field implied by selections defined inside the parenthesis.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Example:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E() let you define an &lt;SPAN style="font-size: 13.3333px;"&gt;element &lt;/SPAN&gt;set based on excluded values of a field &lt;SPAN style="font-size: 13.3333px;"&gt;implied by selections defined inside the parenthesis.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="margin: 0 0 0 40px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2016 00:09:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104552#M894514</guid>
      <dc:creator>pablolabbe</dc:creator>
      <dc:date>2016-08-13T00:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104553#M894515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pablo, this will be the result&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;12345 a 10/2/2016 &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;because at this month(august) buy another product(b) and as the line show, he bought some other product(a) in the last 12 months&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;thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Aug 2016 00:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-and-E/m-p/1104553#M894515</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2016-08-13T00:16:32Z</dc:date>
    </item>
  </channel>
</rss>

