<?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: SET analysis - P function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188392#M886834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count( {$&amp;lt;ECO_ID = P({$&amp;lt;Status_Name={'Open'},Change_Date={"&amp;lt;=$(vEnd_Period)"} &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ECO_ID &lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(P({$&amp;lt;Status_Name={'Implemented &amp;amp; Closed' , 'PL Reporting'},Change_Date={"&amp;lt;=$(vStart_Period)"} &amp;gt;} )&amp;gt;} Distinct ECO_ID )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; or &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be check date formates resulting in vEnd_Period, vStart_Period whether they result same format as Change_Date!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2016 18:16:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-09-20T18:16:17Z</dc:date>
    <item>
      <title>SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188390#M886832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;I am new here so be nice &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have built a QV dashborad for all the Engineering changes in my company (let's call them ECOs - Engineering Change Request).&lt;/P&gt;&lt;P&gt;Each ECO has status change date (per status: open--&amp;gt; approved --&amp;gt; implemented) that is connected to a calendar.&lt;/P&gt;&lt;P&gt;I would like to present according to the selected time period (month/quarter/year) all the ECO that were &lt;SPAN style="text-decoration: underline;"&gt;alive&lt;/SPAN&gt; at this period.&lt;/P&gt;&lt;P&gt;Meaning - if the user chooses Q1/15 - I would like to count (in a graph) all the handled ECOs, including the ECOs that had no status change in this period&lt;/P&gt;&lt;P&gt;(for example: count the ECOs that were opened in Q4/14 and got the next status on Q2/15 (and had no status change during Q1/15).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using the P function in Set analysis.&lt;/P&gt;&lt;P&gt;in the phrase below i tried to count al the ECOs that belong to the group of all the ECOs that got status open before the end of the selected period and NOT belong to the the group of ECOs that were closed before the start point of the selected period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count( {$&amp;lt;ECO_ID = P({$&amp;lt;Status_Name={'Open'},Change_Date={"&amp;lt;=$(vEnd_Period)"} &amp;gt;} )&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;P({$&amp;lt;Status_Name={'Implemented &amp;amp; Closed' , 'PL Reporting'},Change_Date={"&amp;lt;=$(vStart_Period)"} &amp;gt;} )&amp;gt;} Distinct ECO_ID )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obviously I was wrong because i get the wrong number.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone tell me where I was wrong...?&lt;/P&gt;&lt;P&gt;Or suggest a different solution for this (maybe in the script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Hofit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188390#M886832</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188391#M886833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really very difficult to me, would you provide sample. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:14:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188391#M886833</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-20T18:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188392#M886834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count( {$&amp;lt;ECO_ID = P({$&amp;lt;Status_Name={'Open'},Change_Date={"&amp;lt;=$(vEnd_Period)"} &amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ECO_ID &lt;/SPAN&gt;)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Count(P({$&amp;lt;Status_Name={'Implemented &amp;amp; Closed' , 'PL Reporting'},Change_Date={"&amp;lt;=$(vStart_Period)"} &amp;gt;} )&amp;gt;} Distinct ECO_ID )&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; or &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be check date formates resulting in vEnd_Period, vStart_Period whether they result same format as Change_Date!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188392#M886834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-20T18:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188393#M886835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please post some sample data and your expected result.&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2016 22:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188393#M886835</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2016-09-20T22:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188394#M886836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for your willingness to assist.&lt;/P&gt;&lt;P&gt;I am not sure I can upload the file here - security issues of my company.&lt;/P&gt;&lt;P&gt;in the meantime, i am checking the date format issue again (for the change date vs. the End period variable)&lt;/P&gt;&lt;P&gt;i see it still causes me issues..&lt;/P&gt;&lt;P&gt;anyway, &lt;/P&gt;&lt;P&gt;I just want to understand if the expression I wrote is basically correct - meaning if { P1( )-P2()&amp;nbsp; } gives me the group of the ECOs that are related to P1 group and not related to P2 group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks You very much for trying to assist &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188394#M886836</guid>
      <dc:creator />
      <dc:date>2016-09-21T14:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188395#M886837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;I see the date format is still causes me some issues here,..&lt;/P&gt;&lt;P&gt;will check it again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188395#M886837</guid>
      <dc:creator />
      <dc:date>2016-09-21T14:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: SET analysis - P function</title>
      <link>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188396#M886838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Marco&lt;/P&gt;&lt;P&gt;I cannot upload the data due to security issues for my company.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-analysis-P-function/m-p/1188396#M886838</guid>
      <dc:creator />
      <dc:date>2016-09-21T14:39:14Z</dc:date>
    </item>
  </channel>
</rss>

