<?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: Calculate with 2 date fields in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539754#M201697</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this blog post helps: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates" style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Creating Reference Dates for Intervals&lt;/A&gt;. Your problems sounds very similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Dec 2013 16:01:26 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-12-06T16:01:26Z</dc:date>
    <item>
      <title>Calculate with 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539752#M201695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make a chart with a resource planning. I have 3 fields, start date, end date and fte. What I need is to make a chart that shows months and a line with the sum of FTE's.&lt;/P&gt;&lt;P&gt;But how the date is loaded, the fte is plotted on the startdate. How can I make the chart that shows the FTE over the months. So if the start date is jan 13 and the end date is dec 13 and the FTE is 1,0. It should show a bar every month for 1 fte.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you guys can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 14:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539752#M201695</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-12-06T14:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539753#M201696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from what I understand it seems you need to generate the missing data - the missing dates, that is, so that&lt;/P&gt;&lt;P&gt;=&amp;gt; out of those two records (jan13 and dec13, each with FTE=1)&lt;/P&gt;&lt;P&gt;=&amp;gt; you will generate every day inbetween, each with FTE=1&lt;/P&gt;&lt;P&gt;Right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vStartDatum = num(makedate((year(TODAY())), 1, 13));&lt;BR /&gt;LET vEndDatum = num(MakeDate((year(TODAY())),12,13));&lt;/P&gt;&lt;P&gt;Datumsliste:&lt;BR /&gt;LOAD date($(vStartDatum)+IterNo()-1) as Datumsfeld&lt;BR /&gt;AutoGenerate (1)&lt;BR /&gt;While $(vStartDatum)+IterNo()-1 &amp;lt;= $(vEndDatum);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(the basis of a master_calendar in all our apps)&lt;/P&gt;&lt;P&gt;=&amp;gt; You can then just join the FTE_value to every record in this date_list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 14:18:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539753#M201696</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-12-06T14:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539754#M201697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this blog post helps: &lt;A _jive_internal="true" class="font-color-normal" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates" style="font-style: inherit; font-family: inherit; color: #3d3d3d;"&gt;Creating Reference Dates for Intervals&lt;/A&gt;. Your problems sounds very similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 16:01:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539754#M201697</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-06T16:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539755#M201698</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;Thanks for the help, I created the calendar based on the start date.&lt;/P&gt;&lt;P&gt;But how can I can join the FTE's to every relevant date between the start and end date?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 09:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539755#M201698</guid>
      <dc:creator>pauldamen</dc:creator>
      <dc:date>2013-12-23T09:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate with 2 date fields</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539756#M201699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to look into IntervalMatch (you may need the extended syntax).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 15:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-with-2-date-fields/m-p/539756#M201699</guid>
      <dc:creator>Nicole-Smith</dc:creator>
      <dc:date>2013-12-23T15:54:10Z</dc:date>
    </item>
  </channel>
</rss>

