<?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 what is the difference between p() and e() ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657920#M1065125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; can anyone explain what is p() and e() ? use ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Sep 2014 14:22:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-09T14:22:19Z</dc:date>
    <item>
      <title>what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657920#M1065125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp; can anyone explain what is p() and e() ? use ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657920#M1065125</guid>
      <dc:creator />
      <dc:date>2014-09-09T14:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657921#M1065129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P() representing the element set of possible values&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales&lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&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() representing the element set of excluded values&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657921#M1065129</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-09T14:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657922#M1065131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read the mention thread related to P and E details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/501560"&gt;P() &amp;amp;amp; E()&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:26:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657922#M1065131</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-09-09T14:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657923#M1065134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*** NOTE:&amp;nbsp; SEE CORRECTION BELOW IN THREAD ***&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A very common usage of p() and e() is to do a filter of the global set of data in QLIK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that situation, p() is like a 'WHERE' clause and e() is like a 'WHERE NOT'&amp;nbsp; clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its a simplistic situation but it helps me...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="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;"&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;... this is all data WHERE product=shoe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold" style="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;"&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&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;"&gt;... this is all data WHERE NOT product=shoe&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:35:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657923#M1065134</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-09T14:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657924#M1065137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;Sorry but not agree with your statements...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;... this is all data WHERE product=shoe&amp;nbsp; XXXXXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;This is actually SUM(Sales) for Customers who bought Shoe at least once ..!!&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales &lt;/SPAN&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;... this is all data WHERE NOT product=shoe XXXXXXXX&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;STRONG&gt;This is actually SUM(Sales) for Customers who never bought Shoe ...&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;Of Cource, the above two will be affected by current selection...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;let me know if I am wrong..!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657924#M1065137</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-09T14:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657925#M1065139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no you are absolutely right .. thanks for calling it out! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 14:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657925#M1065139</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-09T14:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657926#M1065142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks to all&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 15:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657926#M1065142</guid>
      <dc:creator />
      <dc:date>2014-09-09T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: what is the difference between p() and e() ?</title>
      <link>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657927#M1065143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly close the thread by selecting appropriate answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 15:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/what-is-the-difference-between-p-and-e/m-p/657927#M1065143</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-09-09T15:09:16Z</dc:date>
    </item>
  </channel>
</rss>

