<?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: Difference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Difference/m-p/421181#M156843</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/gwassenaar" id="jive-9654423233422869281893" onmouseout="" onmouseover=""&gt;Gysbert Wassenaar&lt;/A&gt;, Really helpful answer let me check the scenarios what you had given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 May 2013 18:53:54 GMT</pubDate>
    <dc:creator>brindlogcool</dc:creator>
    <dc:date>2013-05-29T18:53:54Z</dc:date>
    <item>
      <title>Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Difference/m-p/421179#M156841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the difference between &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {$&amp;lt;Field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= Field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} Field2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; {$&amp;lt;Field1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= P(Field1)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;} Field2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;P() will give the list of possible values and the default function of Qlikview is also provides the list of possible values based on the selection. How the P() is different from the defalution selection subset&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 16:50:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference/m-p/421179#M156841</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-05-29T16:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Difference/m-p/421180#M156842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both are the same as &lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; font-family: Arial; color: #0000ff;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt; &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;Field2&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; font-size: 8pt; color: #737373; font-family: Arial;"&gt;). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the p() function is usually when you use a set modifier inside it. For example to find customers that have sales this year, but also last year: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;EM&gt;count({&amp;lt;Year={2013},Customer=p({&amp;lt;Year={2012}&amp;gt;}Customer)&amp;gt;} Customer)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;Year={2012,2013}&amp;gt;} Customer) would only count the customers that have sales in 2012 and/or 2013, not necessarily in both 2012 &lt;EM&gt;and&lt;/EM&gt; 2013.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 17:02:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference/m-p/421180#M156842</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-29T17:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Difference/m-p/421181#M156843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/gwassenaar" id="jive-9654423233422869281893" onmouseout="" onmouseover=""&gt;Gysbert Wassenaar&lt;/A&gt;, Really helpful answer let me check the scenarios what you had given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 18:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference/m-p/421181#M156843</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-05-29T18:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Difference</title>
      <link>https://community.qlik.com/t5/QlikView/Difference/m-p/421182#M156844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/gwassenaar" id="jive-9654423233422869281893" onmouseout="" onmouseover=""&gt;Gysbert Wassenaar&lt;/A&gt;, Really helpful answer let me check the scenarios what you had given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 18:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Difference/m-p/421182#M156844</guid>
      <dc:creator>brindlogcool</dc:creator>
      <dc:date>2013-05-29T18:54:48Z</dc:date>
    </item>
  </channel>
</rss>

