<?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: Min Date for specific customer field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034417#M640369</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is probably a matter of when the variable is being evaluated. If you define the variable vFirstOrderDate with no equal sign it will be defined as a string that later can be evaluated with a $-sign expansion in the straight table. If it has an equal sign it will not look like a string but as an expression and it will be evaluated immediately. That means that it will not have any dimensions that qualify it and will pick the first date in your calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script the variable can be created like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFirstOrderDate = 'Min(%Date)' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And be included as an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vFirstOrderDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 22:33:30 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2016-02-02T22:33:30Z</dc:date>
    <item>
      <title>Min Date for specific customer field</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034414#M640366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to create a variable that calculates the first job creation date and job posting date (%Date) for a specific customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below picture shows the equation working on a straight table.&amp;nbsp; but when i create the variable vFirstOrderDate = min(%Date) I get the first date in my calendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a simple solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dates.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/113345_dates.jpg" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 20:04:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034414#M640366</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T20:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date for specific customer field</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034415#M640367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the concern is? Can you elaborate a little more?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034415#M640367</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-02-02T21:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date for specific customer field</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034416#M640368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create a variable/equation that can pull the first date a customer had a posting.&amp;nbsp; I will use that to count how many first time customer postings there are per week/year/month.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 21:42:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034416#M640368</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T21:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date for specific customer field</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034417#M640369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is probably a matter of when the variable is being evaluated. If you define the variable vFirstOrderDate with no equal sign it will be defined as a string that later can be evaluated with a $-sign expansion in the straight table. If it has an equal sign it will not look like a string but as an expression and it will be evaluated immediately. That means that it will not have any dimensions that qualify it and will pick the first date in your calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the load script the variable can be created like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vFirstOrderDate = 'Min(%Date)' ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And be included as an expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vFirstOrderDate)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 22:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034417#M640369</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-02-02T22:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Min Date for specific customer field</title>
      <link>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034418#M640370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works great for the straight table.&amp;nbsp; but I want to be able to count how many orders were created in a given week/month/year whatever my selection may be.&amp;nbsp; I get the error "nested aggregation not allowed"&amp;nbsp; when i attempt to count the $(vFirstOrderDate).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 22:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Min-Date-for-specific-customer-field/m-p/1034418#M640370</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-02T22:57:18Z</dc:date>
    </item>
  </channel>
</rss>

