<?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 How to fill empty recurring dates using script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435658#M34507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load rows from an Excel file like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="EmptyDatesProblem.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187684_EmptyDatesProblem.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've to fill empty values (in the red squares) automatically with the first value (01/11/2017 for example) until it changes, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the simplest way to do this using script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 10:43:09 GMT</pubDate>
    <dc:creator>arnould_it</dc:creator>
    <dc:date>2017-12-20T10:43:09Z</dc:date>
    <item>
      <title>How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435658#M34507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to load rows from an Excel file like below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="EmptyDatesProblem.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187684_EmptyDatesProblem.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've to fill empty values (in the red squares) automatically with the first value (01/11/2017 for example) until it changes, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the simplest way to do this using script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:43:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435658#M34507</guid>
      <dc:creator>arnould_it</dc:creator>
      <dc:date>2017-12-20T10:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435659#M34508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are many threads on the same topic : &lt;A href="https://community.qlik.com/thread/198867"&gt;Fill in missing dates till today&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else upload excel data for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:46:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435659#M34508</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2017-12-20T10:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435660#M34509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;meanwhile I investigate on your suggestions here is the source Excel file attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 10:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435660#M34509</guid>
      <dc:creator>arnould_it</dc:creator>
      <dc:date>2017-12-20T10:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435661#M34510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe the attached Sample?&lt;/P&gt;&lt;P&gt;Please check data in Sheet 2 for XL....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187753_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 17:21:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435661#M34510</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-12-20T17:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435662#M34511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you a Qlik Sense version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking too many rows for each New Date/ora and I don't understand why&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each New Date/ora have to be unique&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting from the initial Xls file I've just to fill empty date (giorno) cells, repeating the same date (giorno) for each empty cells until encountering a new date (giorno)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435662#M34511</guid>
      <dc:creator>arnould_it</dc:creator>
      <dc:date>2017-12-20T18:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435663#M34512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you asked for fill in the dates...&lt;/P&gt;&lt;P&gt;Ex: 01/11/2017 for Ora 1 then Ora 2 has missing date, hence I populated same date which is 01/11/2017. The date then changes to 02/11/2017 and is being repeated again....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isn't this what you want?&lt;/P&gt;&lt;P&gt;And the script can be used both in QlikView and Qlik Sense....&lt;/P&gt;&lt;P&gt;Just copy paste the script and it will work.&lt;/P&gt;&lt;P&gt;Or maybe you are looking to repeat dates?&lt;/P&gt;&lt;P&gt;Like 01/11/2017 till 24/11/2017? again repeat for Ora 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please post a screenshot how you want the dates to be&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 18:49:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435663#M34512</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-12-20T18:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435664#M34513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like below:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="187826" alt="EmptyDatesProblem_expected.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187826_EmptyDatesProblem_expected.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I have not a QlikView license, only Qlik Sense, so I can't view your script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 08:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435664#M34513</guid>
      <dc:creator>arnould_it</dc:creator>
      <dc:date>2017-12-21T08:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435665#M34514</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;Script:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;if(len(trim(giorno))=0, peek(giorno,RecNo()-(ora)), giorno) as Date&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; giorno,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ora,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TFumi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PFumi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Portata,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Massa fumi"&lt;/P&gt;&lt;P&gt;FROM [lib://Desktop/TabellaFlussi_NOVEMBRE-2017.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Tabella Flussi$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data Model:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187845_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Hope it helps..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 11:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435665#M34514</guid>
      <dc:creator>kaanerisen</dc:creator>
      <dc:date>2017-12-21T11:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435666#M34515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess what you seeking is the reply from Kaan erisen below, that should work for you.&lt;/P&gt;&lt;P&gt;I generated dates which are different to your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 13:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435666#M34515</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2017-12-21T13:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to fill empty recurring dates using script</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435667#M34516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks, it works good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 08:35:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-fill-empty-recurring-dates-using-script/m-p/1435667#M34516</guid>
      <dc:creator>arnould_it</dc:creator>
      <dc:date>2017-12-22T08:35:40Z</dc:date>
    </item>
  </channel>
</rss>

