<?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 Count days in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231768#M83468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I need some help.&lt;/P&gt;&lt;P&gt;In my excel I have 2 dates, one is DateInitial and the other si DateFinal, DateFinal &amp;gt;= DateInitial&lt;/P&gt;&lt;P&gt;Example (dd/mm/yyyy): 28/01/2010, 03/03/2010&lt;/P&gt;&lt;P&gt;I need count the days between this dates and get the days in the diferent months between this two dates.&lt;/P&gt;&lt;P&gt;for example in january we have 3 days (31 - 28), february 28 days, march 03 days.&lt;/P&gt;&lt;P&gt;how can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Oct 2010 21:00:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-07T21:00:30Z</dc:date>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231768#M83468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;I need some help.&lt;/P&gt;&lt;P&gt;In my excel I have 2 dates, one is DateInitial and the other si DateFinal, DateFinal &amp;gt;= DateInitial&lt;/P&gt;&lt;P&gt;Example (dd/mm/yyyy): 28/01/2010, 03/03/2010&lt;/P&gt;&lt;P&gt;I need count the days between this dates and get the days in the diferent months between this two dates.&lt;/P&gt;&lt;P&gt;for example in january we have 3 days (31 - 28), february 28 days, march 03 days.&lt;/P&gt;&lt;P&gt;how can i do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 21:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231768#M83468</guid>
      <dc:creator />
      <dc:date>2010-10-07T21:00:30Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231769#M83469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can use (untested)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;=Interval(Date('03/03/2010') - Date('28/01/2010'), 'DD')&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Oct 2010 22:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231769#M83469</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-10-07T22:14:40Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231770#M83470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks but I need to save the days in the differents months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 14:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231770#M83470</guid>
      <dc:creator />
      <dc:date>2010-10-08T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231771#M83471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So... are you loading the Excel file into QlikView? Are you loading DateInitial and DateFinal as fields? Setting variables to them?&lt;/P&gt;&lt;P&gt;I might generate all the dates in the range, add a month field to that table, and then count dates by month. But I'm very unclear what your question really is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 23:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231771#M83471</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-08T23:33:36Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231772#M83472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i'm loading the excel:&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;ID InitialDate(dd/mm/yy) FinalDate(dd/mm/yy)&lt;/P&gt;&lt;P&gt;1 01/01/10 05/05/10&lt;/P&gt;&lt;P&gt;Month Days&lt;/P&gt;&lt;P&gt;1 31&lt;/P&gt;&lt;P&gt;2 28&lt;/P&gt;&lt;P&gt;3 31&lt;/P&gt;&lt;P&gt;4 30&lt;/P&gt;&lt;P&gt;5 31&lt;/P&gt;&lt;P&gt;I need save the days for month... in this case, we have 30 days in january (31 - 01), 28 days in febraury, 31 days in march, 30 days in april and 05 days in may...&lt;/P&gt;&lt;P&gt;I need save all the months and the quantity of days in this months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 14:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231772#M83472</guid>
      <dc:creator />
      <dc:date>2010-10-12T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231773#M83473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's one approach:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;Days:&lt;BR /&gt;LOAD *&lt;BR /&gt;,rangemin(FinalDate,daystart(monthend(Month)))&lt;BR /&gt;-rangemax(InitialDate,Month) + 1 as Days&lt;BR /&gt;;&lt;BR /&gt;LOAD *&lt;BR /&gt;,date(monthstart(InitialDate,iterno()-1),'M YYYY') as Month&lt;BR /&gt;RESIDENT Ranges&lt;BR /&gt;WHILE monthstart(InitialDate,iterno()-1) &amp;lt;= FinalDate&lt;BR /&gt;;&lt;BR /&gt;DROP FIELDS InitialDate, FinalDate from Days;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 18:26:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231773#M83473</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-12T18:26:17Z</dc:date>
    </item>
    <item>
      <title>Count days</title>
      <link>https://community.qlik.com/t5/QlikView/Count-days/m-p/231774#M83474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot, this help's me soo much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 19:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-days/m-p/231774#M83474</guid>
      <dc:creator />
      <dc:date>2010-10-13T19:27:38Z</dc:date>
    </item>
  </channel>
</rss>

