<?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 with p() and inequality in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348557#M129128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count({$&amp;lt;QvsI = {'I'}, CalendarDateKey1&amp;gt;={'CalendarDateKey'}&amp;gt;}QvsI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2012 20:57:26 GMT</pubDate>
    <dc:creator>goldnejea8</dc:creator>
    <dc:date>2012-05-15T20:57:26Z</dc:date>
    <item>
      <title>Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348553#M129124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following script as an expression but I need it to be greater than or equal to the CalendarDateKey. The normal set analysis&amp;nbsp; for &amp;gt;= is not working with a p() function. Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;QvsI = {"I"}, CalendarDateKey1=p(CalendarDateKey)&amp;gt;}QvsI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 20:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348553#M129124</guid>
      <dc:creator />
      <dc:date>2012-05-11T20:50:27Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348554#M129125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({$&amp;lt;QvsI = {'I'}, CalendarDateKey1={"&amp;gt;=CalendarDateKey"}&amp;gt;}QvsI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2012 22:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348554#M129125</guid>
      <dc:creator />
      <dc:date>2012-05-11T22:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348555#M129126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use the given script the output is all zeros. &lt;/P&gt;&lt;P&gt;I have attached a test .qvd. I am having the same issue with the count for quotes too so I just attached that since I already had a test file made using that formula. As you can see, when I put the p() function in with the = sign, it gives me fairly accurate output for the quotes but I need to add the inequality &amp;gt;= to the function. When I use the format above (in column Quotes Test) it gives output of all zeros.&lt;/P&gt;&lt;P&gt;It might be my formatting on the dates but I'm still not sure how to fix this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2012 18:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348555#M129126</guid>
      <dc:creator />
      <dc:date>2012-05-14T18:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348556#M129127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Does anyone have a suggestion on how to correct this date comparison issue?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 19:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348556#M129127</guid>
      <dc:creator />
      <dc:date>2012-05-15T19:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348557#M129128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Count({$&amp;lt;QvsI = {'I'}, CalendarDateKey1&amp;gt;={'CalendarDateKey'}&amp;gt;}QvsI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 20:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348557#M129128</guid>
      <dc:creator>goldnejea8</dc:creator>
      <dc:date>2012-05-15T20:57:26Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with p() and inequality</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348558#M129129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; This script gets a syntax error.&lt;/P&gt;&lt;P&gt;I had tried the script given by Juan, which is what I think you were getting at, but this isn't working. As you can see in my test .qvw above this isn't working in the field Quote Test because it makes all values zero.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2012 21:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-p-and-inequality/m-p/348558#M129129</guid>
      <dc:creator />
      <dc:date>2012-05-15T21:11:33Z</dc:date>
    </item>
  </channel>
</rss>

