<?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: how to compare single Date Column value with all values of another Date Column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766087#M664508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use p() and e() function in a set analysis set modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Help file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Modifiers with implicit field value definitions&lt;/P&gt;&lt;P&gt;In the above examples, all field values have been explicitly defined or defined through searches. There is however an additional way to define a set of field values by the use of a nested set definition.&lt;/P&gt;&lt;P&gt;In such cases, the element functions P() and E() must be used, representing the element set of possible values and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression and one field, e.g. P({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;same as above. If the field in the element function is omitted, the function will return the possible values of the field specified in the outer assignment.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Supplier)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have supplied the product ‘Shoe’. The element function P( ) here returns a list of possible suppliers; those that are implied by the selection ‘Shoe’ in the field Product. The list of suppliers is then used as a selection in the field Customer.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&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;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2015 17:24:52 GMT</pubDate>
    <dc:creator>agomes1971</dc:creator>
    <dc:date>2015-01-26T17:24:52Z</dc:date>
    <item>
      <title>how to compare single Date Column value with all values of another Date Column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766084#M664505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to explain my problem, for privacy i cannot display my sample data, but my question is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have something like this table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NULLCOLUMN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE-1workday&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11.12.13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.12.13&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.11.13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.11.13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07.10.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06.10.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23.11.12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21.11.12&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07.07.12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06.07.12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.01.15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13.01.15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30.08.14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 27.08.14&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15.05.13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14.05.13&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #262626; font-family: arial, sans-serif; font-size: 13px;"&gt;I want to build&amp;nbsp; Pivot Table that has ID as dimension and one expression that counts the null values of NULLCOLUMN for all those DATE values &amp;lt;= than every value of "DATE-1workday".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #262626; font-family: arial, sans-serif; font-size: 13px;"&gt;Have someone any ideas about the expression script?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:31:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766084#M664505</guid>
      <dc:creator />
      <dc:date>2015-01-26T15:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare single Date Column value with all values of another Date Column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766085#M664506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with Indirect Set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try with p()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766085#M664506</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-01-26T15:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare single Date Column value with all values of another Date Column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766086#M664507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how i can use this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 15:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766086#M664507</guid>
      <dc:creator />
      <dc:date>2015-01-26T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare single Date Column value with all values of another Date Column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766087#M664508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only use p() and e() function in a set analysis set modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the Help file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Modifiers with implicit field value definitions&lt;/P&gt;&lt;P&gt;In the above examples, all field values have been explicitly defined or defined through searches. There is however an additional way to define a set of field values by the use of a nested set definition.&lt;/P&gt;&lt;P&gt;In such cases, the element functions P() and E() must be used, representing the element set of possible values and the excluded values of a field, respectively. Inside the brackets, it is possible to specify one set expression and one field, e.g. P({1} Customer). These functions cannot be used in other expressions:&lt;/P&gt;&lt;P&gt;Examples:&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Customer)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have bought the product ‘Shoe’. The element function P( ) here returns a list of possible customers; those that are implied by the selection ‘Shoe’ in the field Product.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;same as above. If the field in the element function is omitted, the function will return the possible values of the field specified in the outer assignment.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = P({1&amp;lt;Product={‘Shoe’}&amp;gt;} Supplier)&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that ever have supplied the product ‘Shoe’. The element function P( ) here returns a list of possible suppliers; those that are implied by the selection ‘Shoe’ in the field Product. The list of suppliers is then used as a selection in the field Customer.&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;Customer = E({1&amp;lt;Product={‘Shoe’}&amp;gt;})&amp;gt;} Sales )&lt;/P&gt;&lt;P&gt;returns the sales for current selection, but only those customers that never bought the product ‘Shoe’. The element function E( ) here returns the list of excluded customers; those that are excluded by the selection ‘Shoe’ in the field Product.&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;André Gomes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 17:24:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766087#M664508</guid>
      <dc:creator>agomes1971</dc:creator>
      <dc:date>2015-01-26T17:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to compare single Date Column value with all values of another Date Column</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766088#M664509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Andrè,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;but i don't have a singlie fix value that i can compare my variable with&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="Mu SP" style="font-family: arial, sans-serif; font-size: 13px; margin-bottom: 6px; color: #262626;"&gt;&lt;/P&gt;&lt;DIV&gt;but an ntire set of values,&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P class="Mu SP" style="font-family: arial, sans-serif; font-size: 13px; margin-bottom: 6px; color: #262626;"&gt;&lt;/P&gt;&lt;DIV&gt;all the values of DATE-1daywork.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Suggestions?&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 17:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-compare-single-Date-Column-value-with-all-values-of/m-p/766088#M664509</guid>
      <dc:creator />
      <dc:date>2015-01-26T17:43:56Z</dc:date>
    </item>
  </channel>
</rss>

