<?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() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/p/m-p/774192#M1031915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum{1&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum of all the sales where productId is among all the (P)ossible values for the 2014&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 14:13:09 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2015-01-27T14:13:09Z</dc:date>
    <item>
      <title>p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774190#M1031913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explan me, what we are telling in the below piece of syntax??&lt;/P&gt;&lt;P&gt;productID = P({$}productID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;complete expression-&amp;gt;&lt;/P&gt;&lt;P&gt;sum{1&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Suraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:07:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774190#M1031913</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2015-01-27T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774191#M1031914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;P() means possible, in your expression, you are saying to take all the possible productID and year = 2014, i think you can replace the expression &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum{1&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales) to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;year={2014}&amp;gt;}sales).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774191#M1031914</guid>
      <dc:creator>maleksafa</dc:creator>
      <dc:date>2015-01-27T14:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774192#M1031915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum{1&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum of all the sales where productId is among all the (P)ossible values for the 2014&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774192#M1031915</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-01-27T14:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774193#M1031916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here in the expression P() means Possible and by expression sum{1&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales) you get all possible rows of productID in the year 2014 and sum the sales value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774193#M1031916</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2015-01-27T14:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774194#M1031917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the explanation!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 14:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774194#M1031917</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2015-01-27T14:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: p()</title>
      <link>https://community.qlik.com/t5/QlikView/p/m-p/774195#M1031918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about the 1 in the above expression sum&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&lt;STRONG&gt;1&lt;/STRONG&gt;&amp;lt;productID = P({$}productID),year={2014}&amp;gt;}sales) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Does it add anything to the expression, removing it would it not be the same?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 11:56:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/p/m-p/774195#M1031918</guid>
      <dc:creator />
      <dc:date>2015-09-17T11:56:58Z</dc:date>
    </item>
  </channel>
</rss>

