<?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: Prob in P() and E() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933438#M962591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Hey,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;But as per my understanding,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer)&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;will give the sum of sales for Customer only and not for Suppplier.&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;also if you see in 2nd a nd 3rd expression, i want sum of sales but i am getting sum for other products as well&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: #f2f2f2;"&gt;Please correct me if i am wrong.&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: #f2f2f2;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2015 10:07:58 GMT</pubDate>
    <dc:creator>nikhilgarg</dc:creator>
    <dc:date>2015-10-08T10:07:58Z</dc:date>
    <item>
      <title>Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933433#M962586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I am trying to implement the P() and E() in sample application but couldn't do so.&lt;/P&gt;&lt;P&gt;In P() expressions, it seems they are not giving the expected results.&lt;/P&gt;&lt;P&gt;Can anyone help me in this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933433#M962586</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-10-08T09:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933434#M962587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you trying to do?&lt;/P&gt;&lt;P&gt;What results do you get? And what do you expect?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933434#M962587</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-10-08T09:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933435#M962588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil, I see it right, in example:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Customer = P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer)&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;It's translated as: Summarize the sales of the customers who has buy 'Shoe'. Thats all the sales of those customers, not only the 'Shoe' Sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shoe was sold to Cutomer1, customer2 and [blank] customer, so it's the same as:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Customer={'','Customer1','Customer2'}&amp;gt;}Sales) //Wich result is 1800&lt;/P&gt;&lt;P&gt;Sales Customer '': 1500&lt;/P&gt;&lt;P&gt;Sales Customer 'Customer1': 100&lt;/P&gt;&lt;P&gt;Sales Customer 'Customer2': 200&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933435#M962588</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T09:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933436#M962589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What in the result is unexpected? If I select 'Shoe', I get the following result:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image2.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/101412_Image2.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and this corresponds in my mind quite well with what the P() function returns: You have numbers for the correct suppliers (blank, 3, 4 and 5) but 0 for the excluded ones (1, 2 and 6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 09:56:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933436#M962589</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-08T09:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933437#M962590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;But as per my understanding, &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;will give the sum of sales for Customer only and not for Suppplier.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please correct me if i am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933437#M962590</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-10-08T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933438#M962591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Hey,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;But as per my understanding,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer)&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;will give the sum of sales for Customer only and not for Suppplier.&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;also if you see in 2nd a nd 3rd expression, i want sum of sales but i am getting sum for other products as well&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: #f2f2f2;"&gt;Please correct me if i am wrong.&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: #f2f2f2;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933438#M962591</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-10-08T10:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933439#M962592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;Hey,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;But as per my understanding,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer)&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;will give the sum of sales for Customer only and not for Suppplier.&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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: 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: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;also if you see in 2nd a nd 3rd expression, i want sum of sales but i am getting sum for other products as well&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: #f2f2f2;"&gt;Please correct me if i am wrong.&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: #f2f2f2;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:09:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933439#M962592</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2015-10-08T10:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933440#M962593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it has nothing to do with the sum of sales. The P() returns the Customers that are associated with 'Shoe'. That's all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when you use the above function the way you do, you will get sum of sales for customers that are associated with 'Shoe'. All sales, independent of product and supplier. The only filter is on customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933440#M962593</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-08T10:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933441#M962594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want sum of sales only for 'Shoe', you should use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Product = {'Shoe'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you, in addition, want to exclude records where the customer is NULL, you should use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;Product = {'Shoe'}, Customer={"*"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933441#M962594</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-08T10:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Prob in P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933442#M962595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer) returns the customers who has relation with product Shoe, if you want only Shoe sales you can add that condition to set analysis:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({&amp;lt;Customer = P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer), &lt;SPAN style="font-size: 10pt;"&gt;Product = {'Shoe'}&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Wich doesn't makes more sense as you can directly ask for &lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="font-size: 10pt;"&gt;Product = {'Shoe'}. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It can be usefull in something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sum({&amp;lt;Customer = P({&amp;lt;Product = {'Shoe'}&amp;gt;}Customer), Product = {'Socks'}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;It returns the sales of Socks for the customers who has a relation with Shoe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 10:14:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prob-in-P-and-E/m-p/933442#M962595</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-10-08T10:14:30Z</dc:date>
    </item>
  </channel>
</rss>

