<?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: Counting dates from weeks in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822021#M289791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anbu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works in a way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it possible with this type of code to have the end user make selections and changes through inputfields that would infect the dates? I want him to be able to (for example) change the Time field so that the Module one takes 4 weeks instead of 2 and this change would affect the starting dates of the modules coming after it.&amp;nbsp; Is it possible with this or should the script be more leveled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 12:24:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-12-12T12:24:28Z</dc:date>
    <item>
      <title>Counting dates from weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822019#M289789</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;How can I create a loop and variables&amp;nbsp; to count the starting dates for the rest of the modules with this information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 427px; border-collapse: collapse;"&gt; &lt;TBODY&gt;&lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; width: 48pt; height: 15pt; background-color: white;" width="64"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; width: 95pt; background-color: white;" width="127"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Module&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; width: 65pt; background-color: white;" width="86"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Starting date&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; width: 47pt; background-color: white;" width="62"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Time&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; width: 66pt; background-color: white;" width="88"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Project Phase&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Design&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5.1.2015&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Basic functions&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Optional upgrade&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Extra feature 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;4&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Extra feature 2&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;5&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Assembly&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;6&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Service package 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;2&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;7&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Service package 2&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;3&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;8&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Shipping&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;9&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR style="height: 15pt;"&gt; &lt;TD height="20" style="border: 0px black; height: 15pt; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Product 1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;Done&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt; &lt;TD align="right" style="border: 0px black; background-color: white;"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 12pt;"&gt;10&lt;/SPAN&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;Time is number of weeks and the Project Phase tells the order in which the schedule is made. The modules can be all of these ten but also just some of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with this would be highly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Heidi &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 09:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822019#M289789</guid>
      <dc:creator />
      <dc:date>2014-12-12T09:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Counting dates from weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822020#M289790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load *,Date(If(IsNull(StrtDt), Peek(StrtDtFin) + Previous(Time)*7,StrtDt)) As StrtDtFin;&lt;/P&gt;&lt;P&gt;Load Product,Module,Date#([Starting date],'DD.MM.YYYY')+0 As StrtDt,Time,[Project Phase] Inline [&lt;/P&gt;&lt;P&gt;Product,Module,Starting date,Time,Project Phase&lt;/P&gt;&lt;P&gt;Product 1,Design,5.1.2015,2,1&lt;/P&gt;&lt;P&gt;Product 1,Basic functions,,4,2&lt;/P&gt;&lt;P&gt;Product 1,Optional upgrade,,5,3&lt;/P&gt;&lt;P&gt;Product 1,Extra feature 1,,8,4&lt;/P&gt;&lt;P&gt;Product 1,Extra feature 2,,1,5&lt;/P&gt;&lt;P&gt;Product 1,Assembly,,6,6&lt;/P&gt;&lt;P&gt;Product 1,Service package 1,,2,7&lt;/P&gt;&lt;P&gt;Product 1,Service package 2,,3,8&lt;/P&gt;&lt;P&gt;Product 1,Shipping,,1,9&lt;/P&gt;&lt;P&gt;Product 1,Done,,1,10 ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 11:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822020#M289790</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-12-12T11:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Counting dates from weeks</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822021#M289791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Anbu!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works in a way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is it possible with this type of code to have the end user make selections and changes through inputfields that would infect the dates? I want him to be able to (for example) change the Time field so that the Module one takes 4 weeks instead of 2 and this change would affect the starting dates of the modules coming after it.&amp;nbsp; Is it possible with this or should the script be more leveled?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-dates-from-weeks/m-p/822021#M289791</guid>
      <dc:creator />
      <dc:date>2014-12-12T12:24:28Z</dc:date>
    </item>
  </channel>
</rss>

