<?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 Get the earliest sale date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2015304#M1221886</link>
    <description>&lt;P&gt;I am trying to get the first sale_date that is greater than the signed_up_at date.&lt;/P&gt;
&lt;P&gt;I want this stored as a separate table where each customer_ID exists once with the first sale_date. I then want to be able to link on customer_ID to get the rest of the sale dates for a customer.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;customer_ID&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;signed_up_at&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;sale_date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;05/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;12/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;124&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;06/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;124&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;08/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Dec 2022 09:33:32 GMT</pubDate>
    <dc:creator>business_intelligence</dc:creator>
    <dc:date>2022-12-12T09:33:32Z</dc:date>
    <item>
      <title>Get the earliest sale date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2015304#M1221886</link>
      <description>&lt;P&gt;I am trying to get the first sale_date that is greater than the signed_up_at date.&lt;/P&gt;
&lt;P&gt;I want this stored as a separate table where each customer_ID exists once with the first sale_date. I then want to be able to link on customer_ID to get the rest of the sale dates for a customer.&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;customer_ID&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;signed_up_at&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;sale_date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;05/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;123&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;30/11/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;12/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;124&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;06/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="24px"&gt;124&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;01/12/2022&lt;/TD&gt;
&lt;TD width="25%" height="24px"&gt;08/12/2022&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 09:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2015304#M1221886</guid>
      <dc:creator>business_intelligence</dc:creator>
      <dc:date>2022-12-12T09:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get the earliest sale date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2015443#M1221889</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/201714"&gt;@business_intelligence&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try This -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Temp:&lt;BR /&gt;NoConcatenate&lt;BR /&gt;Load &lt;SPAN&gt;customer_ID&lt;/SPAN&gt;, Min(&lt;SPAN&gt;sale_date&lt;/SPAN&gt;) as &lt;SPAN&gt;sale_dateTemp&lt;/SPAN&gt;&lt;BR /&gt;Resident Some_Table where &lt;SPAN&gt;sale_date&lt;/SPAN&gt;&amp;gt; &lt;SPAN&gt;signed_up_at&lt;/SPAN&gt;&lt;BR /&gt;Group by &lt;SPAN&gt;customer_ID;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Dec 2022 13:39:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2015443#M1221889</guid>
      <dc:creator>MendyS</dc:creator>
      <dc:date>2022-12-12T13:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Get the earliest sale date</title>
      <link>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2018539#M1221980</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/136772"&gt;@MendyS&lt;/a&gt;&amp;nbsp; that worked! thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 13:38:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-the-earliest-sale-date/m-p/2018539#M1221980</guid>
      <dc:creator>business_intelligence</dc:creator>
      <dc:date>2022-12-20T13:38:54Z</dc:date>
    </item>
  </channel>
</rss>

