<?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: Showing Min + Max dates from an order date dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672953#M1057877</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;Take a look on the attached file. I think that is what you looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Oct 2014 12:46:02 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-10-07T12:46:02Z</dc:date>
    <item>
      <title>Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672952#M1057876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, I was hoping someone would be able to help me, I'm fairly new to QV and don't have any coding experience and I have hit a problem with a straight table that may be pretty basic;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a chart and currently the I am showing all of the orders associate with the Visitor_ID no for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="150" style="border: 1px solid #000000; width: 228px; height: 97px;" width="227"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Visitor_ID&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Order_Date&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;232156&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2009&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;232156&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;05/05/2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;232156&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;09/12/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;232156&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123594&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/03/2010&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to show is this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="75" style="border: 1px solid rgb(0, 0, 0); width: 282px; height: 23px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Visitor_ID&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;First_Order_Date&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Last_Order_Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;232156&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;01/01/2009&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;123594&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/03/2010&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;02/03/2010&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anyway I can do this in a Chart using either an edited Dimension or an expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nicola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672952#M1057876</guid>
      <dc:creator />
      <dc:date>2014-10-07T12:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672953#M1057877</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;Take a look on the attached file. I think that is what you looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672953#M1057877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-07T12:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672954#M1057878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gabriel, thanks for the quick reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only however have one field containing a date not two, I wanted to split out the first date associated with a customer and that last one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Nicola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672954#M1057878</guid>
      <dc:creator />
      <dc:date>2014-10-07T12:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672955#M1057879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Nicola.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look on the script of the qvw that I've attached before.&lt;/P&gt;&lt;P&gt;I've created an excel file with this structure:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="150" style="border: 1px solid #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;" width="227"&gt;&lt;THEAD style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat;" valign="middle"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Visitor_ID&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH class="header" style="border: 1px solid #000000; font-style: inherit; font-family: inherit; text-align: center; color: #ffffff; background-color: #6690bc; background-position: no-repeat;" valign="middle"&gt;Order_Date&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;232156&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;01/01/2009&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;232156&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;05/05/2010&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;232156&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;09/12/2011&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;232156&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;12/12/2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;123594&lt;/TD&gt;&lt;TD style="border: 1px solid #000000; font-style: inherit; font-family: inherit;"&gt;02/03/2010&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the LOAD I do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD Visitor_ID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(min(Order_Date)) as Min_Date,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date(max(Order_Date)) as Max_Date&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;Book1.xlsx&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Sheet1)&lt;/P&gt;&lt;P&gt;Group by Visitor_ID;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this way I get the min and the max dates in separated fields, grouping by Visitor ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 12:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672955#M1057879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-07T12:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672956#M1057880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK thanks Gabriel, i'd hoped that there was a way to do it without having to make any changes to the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again&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;Nicola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672956#M1057880</guid>
      <dc:creator />
      <dc:date>2014-10-07T13:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672957#M1057881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's also possible to make it without changes in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look on the attached file.&lt;/P&gt;&lt;P&gt;There i've created expressions on the table with min(Order_Date) and max(Order_Date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672957#M1057881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-10-07T13:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Showing Min + Max dates from an order date dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672958#M1057882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks very much Gabriel, work great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Nicola&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Oct 2014 13:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-Min-Max-dates-from-an-order-date-dimension/m-p/672958#M1057882</guid>
      <dc:creator />
      <dc:date>2014-10-07T13:13:55Z</dc:date>
    </item>
  </channel>
</rss>

