<?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: Number of days between two dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397133#M803010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;thanks&amp;nbsp; not exactly because I need only synthesis for each step as in the following example for switching to a command to the second&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183404_Capture.JPG" style="height: 377px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2017 15:46:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-15T15:46:03Z</dc:date>
    <item>
      <title>Number of days between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397131#M803008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;I have a table by customer and date of order and I would like to know for each client the time between his first order and his second, the second and the third and the third and more Could you help me? I tried to use the interval function but the result is not good &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;SPAN lang="en"&gt;the result must be the following and an example is attached&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;IMG alt="delay.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183384_delay.JPG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;Thank you for your help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397131#M803008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number of days between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397132#M803009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183399_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 14:45:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397132#M803009</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2017-11-15T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Number of days between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397133#M803010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 16px;"&gt;thanks&amp;nbsp; not exactly because I need only synthesis for each step as in the following example for switching to a command to the second&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/183404_Capture.JPG" style="height: 377px; width: 620px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:46:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397133#M803010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-15T15:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Number of days between two dates</title>
      <link>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397134#M803011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;finally, I found my answer using the interval function and the minimum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;= sum(aggr(Interval(&amp;nbsp; min(&amp;nbsp; [Date Commande],2)-min(&amp;nbsp;&amp;nbsp; [date],1),'D'),[Customer]))/&lt;SPAN style="font-size: 13.3333px;"&gt;count(distinct([Customer])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Nov 2017 07:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Number-of-days-between-two-dates/m-p/1397134#M803011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-17T07:57:46Z</dc:date>
    </item>
  </channel>
</rss>

