<?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: Refining selection with P() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Refining-selection-with-P/m-p/136686#M9585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( {$&amp;lt; CustomerName = P({1&amp;lt;Product={1022}&amp;gt;}) , Pack &lt;STRONG&gt;-= &lt;/STRONG&gt;{50,52,54,58} &amp;gt;} Qty )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2018 06:46:40 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2018-10-05T06:46:40Z</dc:date>
    <item>
      <title>Refining selection with P()</title>
      <link>https://community.qlik.com/t5/App-Development/Refining-selection-with-P/m-p/136685#M9584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like a measure to only show results using the P() expression but add another level of criteria and I'm not sure the best way to include this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now I'm showing customers that purchase product 1022:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;CustomerName = P({1&amp;lt;Product={'1022'}&amp;gt;})&amp;gt;} Qty )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add another refinement to only bring in results for customers that purchase product 1022 and show the other products that these customers have purchased. But I don't want to include results for all products. I think the easiest way to do this is exclude the product families I don't want included in results, example 50, 52, 54, 58. This is referred in the data as "Pack".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my ideal result is customers that purchase product 1022 and then show the other products that this customer group has purchased not including results from Pack 50,52,54,58.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will be shown in a Pivot Table ideally.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 19:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Refining-selection-with-P/m-p/136685#M9584</guid>
      <dc:creator>pnutbutta</dc:creator>
      <dc:date>2018-10-04T19:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: Refining selection with P()</title>
      <link>https://community.qlik.com/t5/App-Development/Refining-selection-with-P/m-p/136686#M9585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It should be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Sum( {$&amp;lt; CustomerName = P({1&amp;lt;Product={1022}&amp;gt;}) , Pack &lt;STRONG&gt;-= &lt;/STRONG&gt;{50,52,54,58} &amp;gt;} Qty )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 06:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Refining-selection-with-P/m-p/136686#M9585</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-10-05T06:46:40Z</dc:date>
    </item>
  </channel>
</rss>

