<?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 Is this possible with p()? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-this-possible-with-p/m-p/111744#M17392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Product:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, FinishedProduct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 111, 411 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, 411 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112, 412&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 412, 412&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;ProductSales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, Miller, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, Miller, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 412, Smith, 100&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this data, I would like to accomplish the following result (without using applymap etc. in the script):&lt;BR /&gt;&lt;IMG alt="2018-09-10_163319.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213154_2018-09-10_163319.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I think this should be possible with p() or standard set analysis. &lt;/P&gt;&lt;P&gt;My best guess is&lt;BR /&gt;sum( {&amp;lt; Product = P( FinishedProduct)&amp;nbsp; &amp;gt;}&amp;nbsp; Sales) &lt;/P&gt;&lt;P&gt;but this did not work. &lt;BR /&gt;Is this possible with p()? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2018 15:09:46 GMT</pubDate>
    <dc:creator>john_oll</dc:creator>
    <dc:date>2018-09-10T15:09:46Z</dc:date>
    <item>
      <title>Is this possible with p()?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-with-p/m-p/111744#M17392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Product:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, FinishedProduct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 111, 411 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, 411 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 112, 412&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 412, 412&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;ProductSales:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product, Customer, Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, Miller, 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 411, Miller, 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 412, Smith, 100&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this data, I would like to accomplish the following result (without using applymap etc. in the script):&lt;BR /&gt;&lt;IMG alt="2018-09-10_163319.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/213154_2018-09-10_163319.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I think this should be possible with p() or standard set analysis. &lt;/P&gt;&lt;P&gt;My best guess is&lt;BR /&gt;sum( {&amp;lt; Product = P( FinishedProduct)&amp;nbsp; &amp;gt;}&amp;nbsp; Sales) &lt;/P&gt;&lt;P&gt;but this did not work. &lt;BR /&gt;Is this possible with p()? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2018 15:09:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-with-p/m-p/111744#M17392</guid>
      <dc:creator>john_oll</dc:creator>
      <dc:date>2018-09-10T15:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible with p()?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-with-p/m-p/111745#M17393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, this isn't possible with p() or e() because they are related to the (not) possible values from a global point of view and not on a dimension-level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside this I'm not sure that your association of the tables per Product is suitable or if it shouldn't be better on FisnishedProduct? Is there any tag available to differ between Product and RawProduct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2018 11:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-with-p/m-p/111745#M17393</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2018-09-11T11:23:58Z</dc:date>
    </item>
  </channel>
</rss>

