<?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: Date generation in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032807#M15892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works just fine. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 13:04:20 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-14T13:04:20Z</dc:date>
    <item>
      <title>Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032803#M15888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my problem, I have 3 columns, 1 ID, 1 Start date and 1 End date from an Excel spreadsheet. What I would like to is create a table in the script with 2 columns: the ID duplicated and the detail of each day (example hereafter).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="264"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="32" width="88"&gt;Operation&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="88"&gt;Start&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="88"&gt;End&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;01/03/2016&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;04/03/2016&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none;"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;08/09/2017&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;12/09/2017&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;==&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;-webkit-right&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 176px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Operation&lt;/TD&gt;&lt;TD style="color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;Date&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;01/03/2016&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;02/03/2016&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;03/03/2016&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;A&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;04/03/2016&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;08/09/2017&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="32" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;B&lt;/TD&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; text-align: -webkit-right;"&gt;09/09/2017&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="32" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;10/09/2017&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;11/09/2017&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;B&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-top-style: none; border-left-style: none; color: #575757; text-align: -webkit-right; font-family: arial, helvetica, sans-serif; vertical-align: baseline; background-color: rgba(0, 0, 0, 0);"&gt;&lt;SPAN style="font-size: 13.3333px; text-align: -webkit-right;"&gt;12/09/2017&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my first post, so please let me know if I did something wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 09:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032803#M15888</guid>
      <dc:creator />
      <dc:date>2016-04-14T09:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032804#M15889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Operation,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date(Start + IterNo() - 1) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While Start + IterNo() - 1 &amp;lt;= End;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operation, Start, End&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A, 01/03/2016, 04/03/2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;B, 08/09/2017, 12/09/2017&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 10:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032804#M15889</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T10:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032805#M15890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sunny T&lt;/P&gt;&lt;P&gt;Thanks for your quick answer. Unfortunately, I am not able to apply it because the data I want to load come from an excel file and I need to calculate the dates directly from the loaded data. I should have been more precise in the statement of my issue, apologies. Hereafter is the code I use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[shopfloor]:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;[Operation],&lt;/P&gt;&lt;P&gt;[Start],&lt;/P&gt;&lt;P&gt;[End],&lt;/P&gt;&lt;P&gt;//Date("Start" + IterNo() - 1) as "Newdate"&lt;/P&gt;&lt;P&gt;//While "Start" + IterNo() - 1 &amp;lt;= "End"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; FROM [lib://Desktop/Myexcelfile.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is sheet1);&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>Thu, 14 Apr 2016 12:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032805#M15890</guid>
      <dc:creator />
      <dc:date>2016-04-14T12:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032806#M15891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Inline was just an example to show how this can be done. Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[shopfloor]:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;LOAD Operation,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; Date(Start + IterNo() - 1) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;While Start + IterNo() - 1 &amp;lt;= End;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Operation],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Start],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[End]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Desktop/Myexcelfile.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is sheet1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 12:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032806#M15891</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-14T12:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032807#M15892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works just fine. Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathieu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032807#M15892</guid>
      <dc:creator />
      <dc:date>2016-04-14T13:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Date generation</title>
      <link>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032808#M15893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your question is now answered, please flag the Correct Answer.&lt;/P&gt;&lt;P&gt;If not, please let us know what part of this topic you still need help with &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 13:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-generation/m-p/1032808#M15893</guid>
      <dc:creator>oknotsen</dc:creator>
      <dc:date>2016-04-14T13:11:11Z</dc:date>
    </item>
  </channel>
</rss>

