<?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: Indirect Set Analysis for P() and E() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522119#M482810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain me please put this expressions in qvw and attach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 06:47:11 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2013-07-25T06:47:11Z</dc:date>
    <item>
      <title>Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522117#M482808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached my qvw I want to understand what is indirect set analysis how we can use E() and P() both function in my data.&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;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 06:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522117#M482808</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-07-25T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522118#M482809</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;&lt;STRONG&gt;Indirect Set Analysis&lt;/STRONG&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, 25 Jul 2013 06:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522118#M482809</guid>
      <dc:creator />
      <dc:date>2013-07-25T06:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522119#M482810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you explain me please put this expressions in qvw and attach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 06:47:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522119#M482810</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-07-25T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522120#M482811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;iN SCRIPT-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style="color: blue; font-size: 9.0pt; font-family: 'Courier New';"&gt;LOAD&lt;/STRONG&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;day&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;date_field&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;FROM TABLE&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Dimension- year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;EXPRESSION--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*09*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;}&amp;gt;})&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;//Excluded Sale&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;********************************&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt;"&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Dimension- year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;EXPRESSION--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;"*09*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;}&amp;gt;})&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: green;"&gt;//Possible Sale&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 06:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522120#M482811</guid>
      <dc:creator />
      <dc:date>2013-07-25T06:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522121#M482812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please modify set analysis demo and send back&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;&lt;/P&gt;&lt;P&gt;Vikas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 06:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522121#M482812</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2013-07-25T06:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522122#M482813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am also Confused,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can write like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year -= {"*09*"} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt; = &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: blue;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;"*09*"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;}&amp;gt;})&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: maroon;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: black;"&gt;Can you explain, Which scenario we are using P() and E()? &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2016 15:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522122#M482813</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-05T15:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: Indirect Set Analysis for P() and E()</title>
      <link>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522123#M482814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are doing is entering a 'normal' Set Analysis formula. That is used for direct selection of transctions to include in the calcullation of an expression - e.g. all transaktions in the years containing the value 09 (in your example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P &amp;amp; E are used for inderect selections. e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Show &lt;STRONG&gt;all&lt;/STRONG&gt; sales for customers which have bought a specific product.&lt;/LI&gt;&lt;LI&gt;Show &lt;STRONG&gt;all&lt;/STRONG&gt; sales for customers which have not bought a specific product.&lt;/LI&gt;&lt;LI&gt;Show &lt;STRONG&gt;all&lt;/STRONG&gt; sales for customers which have bought a specifik product but NOT bought another specific product&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 07:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Indirect-Set-Analysis-for-P-and-E/m-p/522123#M482814</guid>
      <dc:creator>klausskalts</dc:creator>
      <dc:date>2017-04-19T07:36:45Z</dc:date>
    </item>
  </channel>
</rss>

