<?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() &amp; E() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596798#M221023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P() - gives possible values, E() - excluded values.&lt;/P&gt;&lt;P&gt;They are used in Set Analysis.&lt;/P&gt;&lt;P&gt;You may find additional information in your QlikView Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 11:10:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-03T11:10:31Z</dc:date>
    <item>
      <title>P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596796#M221021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is P() &amp;amp; E() and where should i use them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Thanks and Regards,&lt;/P&gt;&lt;P&gt;Villyee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:03:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596796#M221021</guid>
      <dc:creator>vanderson009</dc:creator>
      <dc:date>2014-04-03T11:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596797#M221022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3&gt;Set Modifiers with Implicit Field Value Definitions&lt;/H3&gt;&lt;P&gt;In the above examples, all field values have been explicitly defined or defined through searches. There is however an additional way to define a set of field values by the use of a nested set definition. &lt;/P&gt;&lt;P&gt;In such cases, the element functions P() and E() must be used, representing the element set of possible values and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression and one field, e.g. P({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;P class="example"&gt;Examples:&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;} Customer)&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&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;/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;BR /&gt;same as above. If the field in the element function is omitted, the function will return the possible values of the field specified in the outer assignment. &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;} Supplier)&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;returns the sales for current selection, but only those customers that ever have supplied the product ‘Shoe’. The element function P( ) here returns a list of possible suppliers; those that are implied by the selection ‘Shoe’ in the field Product. The list of suppliers is then used as a selection in the field Customer. &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;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.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596797#M221022</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-03T11:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596798#M221023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P() - gives possible values, E() - excluded values.&lt;/P&gt;&lt;P&gt;They are used in Set Analysis.&lt;/P&gt;&lt;P&gt;You may find additional information in your QlikView Help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:10:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596798#M221023</guid>
      <dc:creator />
      <dc:date>2014-04-03T11:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596799#M221024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indirect Set Analysis&lt;/P&gt;&lt;P&gt;• p( ) = Possible&lt;/P&gt;&lt;P&gt;• e( ) = Excluded&lt;/P&gt;&lt;P&gt;Excluded&lt;/P&gt;&lt;P&gt;Possible&lt;/P&gt;&lt;P&gt;Customer = p({&amp;lt;Year={$(=max(Year)-1)}&amp;gt;} Customer)&lt;/P&gt;&lt;P&gt;Returns customers who had an association to last year.&lt;/P&gt;&lt;P&gt;sum(({&amp;lt;Year={$(=max(Year))},&lt;/P&gt;&lt;P&gt;Customer = p({&amp;lt;Year={$(=max(Year)-1)} Customer&amp;gt;}) Sales)&lt;/P&gt;&lt;P&gt;Returns this year’s sales for customers who had sales last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;CompanyName = p({$&amp;lt;CategoryName={'Baby Clothes'}&amp;gt;}&lt;/P&gt;&lt;P&gt;CompanyName)&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sales for Customers who purchased Baby Clothes.&lt;/P&gt;&lt;P&gt;The set p({}) returns the values of CompanyName (Customer) that&lt;/P&gt;&lt;P&gt;purchased Baby Clothes.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;CompanyName = p({$&amp;lt;CategoryName={'Baby Clothes'}&amp;gt;}&lt;/P&gt;&lt;P&gt;CompanyName) - p({$&amp;lt;CategoryName={'SportsWear'}&amp;gt;}&lt;/P&gt;&lt;P&gt;CompanyName)&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Sales for Customers who purchased Baby Clothes but not&lt;/P&gt;&lt;P&gt;Sportswear.The first set p({}) returns CompanyName that purchased&lt;/P&gt;&lt;P&gt;Baby Clothes.The second set p({}) returns CompanyName that&lt;/P&gt;&lt;P&gt;Purchased SportsWear.The Unary Operator "-" between the two gives&lt;/P&gt;&lt;P&gt;a list of Customers (CompanyName)that belong to the first but not the&lt;/P&gt;&lt;P&gt;other set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596799#M221024</guid>
      <dc:creator>manojkulkarni</dc:creator>
      <dc:date>2014-04-03T11:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596800#M221025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Villyee Anderson,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;What is P() &amp;amp; E() and where should i use them?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; P() For Possible Value Example(=&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Cust= P({1&amp;lt;ProName={‘Jeans’}&amp;gt;})&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Here Customer-&amp;gt; Buy-&amp;gt; Possible Of Product (Jeans) -&amp;gt;SalesAmount&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E() For&amp;nbsp; Excluded Value&amp;nbsp; &lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Example(=&lt;SPAN class="Bold"&gt;sum(&lt;/SPAN&gt; {$&amp;lt;Cust= E({1&amp;lt;ProName={‘Jeans’}&amp;gt;})&amp;gt;} Sales &lt;SPAN class="Bold"&gt;)&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;Regards By &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;ArjunKrish&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN class="jiveTT-hover-user jive-username-link"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596800#M221025</guid>
      <dc:creator>arjunkrishnan</dc:creator>
      <dc:date>2014-04-03T11:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596801#M221026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;suppose u have ten customer in 2014 march u r checking weather u have the same number of customer is present in the year 2013 march its called possible&lt;/P&gt;&lt;P&gt;excluded is a reverse of possible if u have 100 customer in 2014 march but in 2013 u have 1000 customer we will exclude the customer who present in the year both the year another than the customer we will take &lt;/P&gt;&lt;P&gt;for best eg:&amp;nbsp; 2013 u have month from jan to dec and there sales is 100k&lt;/P&gt;&lt;P&gt;but for 2014 u have month from jan to april 10k&lt;/P&gt;&lt;P&gt;u can say that last year sales is high when compare to this year &lt;/P&gt;&lt;P&gt;so we want to check only for month jan to april for 2013 suppose u have 20k&lt;/P&gt;&lt;P&gt;now u can say last year sale is better than previours year for this we use possible ,exclude is a reverse of possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 11:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596801#M221026</guid>
      <dc:creator>nizamsha</dc:creator>
      <dc:date>2014-04-03T11:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: P() &amp; E()</title>
      <link>https://community.qlik.com/t5/QlikView/P-E/m-p/596802#M221027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nizam,&lt;/P&gt;&lt;P&gt;It is possible to show this in a chart? if possible then can you give me a simple example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2015 07:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/P-E/m-p/596802#M221027</guid>
      <dc:creator />
      <dc:date>2015-04-08T07:14:07Z</dc:date>
    </item>
  </channel>
</rss>

