<?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: Re: Insert rows between two date ranges in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712816#M256611</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64853" alt="QlikCommunity_Thread_130082_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64853_QlikCommunity_Thread_130082_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you find this helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 13:42:39 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-08-20T13:42:39Z</dc:date>
    <item>
      <title>Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712807#M256602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I have a requirement as below and please advise me on this.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Person Name XYZ&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hotel Check In Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/Aug/2013&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hotel Check Out Date&amp;nbsp; 05/Aug/2013&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When I search by giving date&amp;nbsp; as 03/Aug/2013 in this particular hotel, I should see person XYZ is already a inhouse guest.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Inserting rows from 01 to 04 as Check In Date would work and if this is ok, how to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So I guess something like above or what you have mentioned would work but my confusion is that how to handle between two dates and it is not a series.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;thanks,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Senarath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 10:31:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712807#M256602</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-20T10:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712808#M256603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read Henrics blg post on the issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/09/02/loops-in-the-script&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 10:35:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712808#M256603</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2014-08-20T10:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712809#M256604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An alternative solution is to use the IntervalMatch-statement. Combining your transactions with a calendar using interval match could solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The benefit is that you dont need to create additional transaction rows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 10:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712809#M256604</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2014-08-20T10:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712810#M256605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A simple example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; project,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [start date]+IterNo() as Date&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While&lt;/STRONG&gt; [start date]+iterno()&amp;lt;=[finish date]; &lt;/P&gt;&lt;P&gt;Load * From &amp;lt;&amp;gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 10:44:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712810#M256605</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-20T10:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712811#M256606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_130082_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64825_QlikCommunity_Thread_130082_Pic1.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14085323269108231" jivemacro_uid="_14085323269108231"&gt;
&lt;P&gt;tabCheckIns:&lt;/P&gt;
&lt;P&gt;LOAD * Inline [&lt;/P&gt;
&lt;P&gt;Guest Name,Hotel Check In Date,Hotel Check Out Date&lt;/P&gt;
&lt;P&gt;XYZ,01/Aug/2013,05/Aug/2013&lt;/P&gt;
&lt;P&gt;ABC,10/Sep/2013,15/Oct/2013&lt;/P&gt;
&lt;P&gt;BCD,03/Aug/2013,15/Aug/2013&lt;/P&gt;
&lt;P&gt;CDE,01/Oct/2013,03/Nov/2013&lt;/P&gt;
&lt;P&gt;DEF,30/Sep/2013,05/Oct/2013&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar:&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WeekName(Date) as Week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date) as Month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QuarterName(Date) as Quarter,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) as Year;&lt;/P&gt;
&lt;P&gt;LOAD Date(MinDate+IterNo()-1) as Date&lt;/P&gt;
&lt;P&gt;While MinDate+IterNo()-1 &amp;lt;= MaxDate;&lt;/P&gt;
&lt;P&gt;LOAD Date(Min([Hotel Check In Date])) as MinDate,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(Max([Hotel Check Out Date])) as MaxDate&lt;/P&gt;
&lt;P&gt;Resident tabCheckIns;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;IntervalMatch (Date)&lt;/P&gt;
&lt;P&gt;LOAD [Hotel Check In Date], [Hotel Check Out Date]&lt;/P&gt;
&lt;P&gt;Resident tabCheckIns;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 10:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712811#M256606</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-20T10:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712812#M256607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select Date 04/Aug/2013 in the calender, both customers should get selected.i.e I want to know number of in-house guests in a particular day.&lt;/P&gt;&lt;P&gt;Would it work under your scenario ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712812#M256607</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-20T11:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712813#M256608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you will gett two guests associated with aug 4. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712813#M256608</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2014-08-20T11:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712814#M256609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Vegar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712814#M256609</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-20T11:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712815#M256610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:47:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712815#M256610</guid>
      <dc:creator>senarath</dc:creator>
      <dc:date>2014-08-20T11:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712816#M256611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="64853" alt="QlikCommunity_Thread_130082_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/64853_QlikCommunity_Thread_130082_Pic2.JPG.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope you find this helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 13:42:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712816#M256611</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-20T13:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Insert rows between two date ranges</title>
      <link>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712817#M256612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 16:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Insert-rows-between-two-date-ranges/m-p/712817#M256612</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-08-20T16:30:20Z</dc:date>
    </item>
  </channel>
</rss>

