<?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: Iterno + Date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060650#M87027</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/224051"&gt;@nchamilton162&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;Rates:&lt;/P&gt;
&lt;P&gt;Load&lt;BR /&gt;*&lt;BR /&gt;,Date(rate_contract_eff_date+IterNo()-1) as rate_master_date&lt;BR /&gt;Resident tmp_rates2&lt;BR /&gt;While rate_contract_eff_date + IterNo()-1&amp;lt;=rate_contract_expiration_date&lt;BR /&gt;&lt;STRONG&gt;and rate_contract_eff_date + IterNo()-1&amp;lt;=Today()&lt;/STRONG&gt;&lt;BR /&gt;;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 20:33:46 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2023-04-14T20:33:46Z</dc:date>
    <item>
      <title>Iterno + Date</title>
      <link>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060627#M87024</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;
&lt;P&gt;I'm attempting to build a date span. I have a contract effective date and a contract expiration date. I'm attempting to generate dates between those two dates. I'm loading an excel file in and I'm formatting the dates in Qlik using the following syntax (see date(floor ) below. Currently my rate_contract_expiration_date is 03/31/2025. If I run the Load script below using that date it does not generate my span dates. If I change the 3/31/2025 to 3/31/2023 it works fine. Is there some type of issue with the date being too far into the future? I don't get an error, it just doesn't load my table with the date spans.&amp;nbsp; Here is the info for the rate_contract_expiration_date field .&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nchamilton162_0-1681495112112.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/104952i4D54C4C34A8B94F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nchamilton162_0-1681495112112.png" alt="nchamilton162_0-1681495112112.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is part of a tmp table I load and then I build try to build the date span.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;,DATE(FLOOR(EFFECTIVE_DATE)) as rate_contract_eff_date&lt;BR /&gt;,DATE(FLOOR(EXPIRATION_DATE)) as rate_contract_expiration_date&lt;/P&gt;
&lt;P&gt;Here is my final load script&lt;/P&gt;
&lt;P&gt;Rates:&lt;/P&gt;
&lt;P&gt;Load &lt;BR /&gt;*&lt;BR /&gt;,Date(rate_contract_eff_date+IterNo()-1) as rate_master_date&lt;BR /&gt;Resident tmp_rates2&lt;BR /&gt;While rate_contract_eff_date + IterNo()-1&amp;lt;=rate_contract_expiration_date&lt;BR /&gt;and Date(rate_contract_expiration_date + IterNo()-1)&amp;lt;=Today()&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 17:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060627#M87024</guid>
      <dc:creator>nchamilton162</dc:creator>
      <dc:date>2023-04-14T17:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno + Date</title>
      <link>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060642#M87026</link>
      <description>&lt;P&gt;I think problem is here, it should be 'OR', not sure though.. -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;While rate_contract_eff_date + IterNo()-1&amp;lt;=rate_contract_expiration_date&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;FONT size="5" color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; Date(rate_contract_expiration_date + IterNo()-1)&amp;lt;=Today()&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 19:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060642#M87026</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2023-04-14T19:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Iterno + Date</title>
      <link>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060650#M87027</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/224051"&gt;@nchamilton162&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;
&lt;P&gt;Rates:&lt;/P&gt;
&lt;P&gt;Load&lt;BR /&gt;*&lt;BR /&gt;,Date(rate_contract_eff_date+IterNo()-1) as rate_master_date&lt;BR /&gt;Resident tmp_rates2&lt;BR /&gt;While rate_contract_eff_date + IterNo()-1&amp;lt;=rate_contract_expiration_date&lt;BR /&gt;&lt;STRONG&gt;and rate_contract_eff_date + IterNo()-1&amp;lt;=Today()&lt;/STRONG&gt;&lt;BR /&gt;;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 20:33:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Iterno-Date/m-p/2060650#M87027</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2023-04-14T20:33:46Z</dc:date>
    </item>
  </channel>
</rss>

