<?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: While between two dates - whichever is less in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829878#M1214392</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9788"&gt;@qlikwiz123&lt;/a&gt;&amp;nbsp; may be this&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;While AddMonths(MonthStart($(vDateMin)),IterNo()-1) &amp;lt;= rangemin(MonthStart(End D&lt;SPAN&gt;ate), makedate(2022,3,21));&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2021 16:13:25 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2021-08-19T16:13:25Z</dc:date>
    <item>
      <title>While between two dates - whichever is less</title>
      <link>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829855#M1214385</link>
      <description>&lt;P&gt;I am generating months and years between two dates as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Date(AddMonths(MonthStart($(vDateMin)),IterNo()-1),'MMM YYYY') as Months,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;Year(Date(AddMonths(MonthStart($(vDateMin)),IterNo()-1),'MMM YYYY')) as Years&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;//Date(AddYears(YearStart($(vDateMin)),IterNo()-1),'YYYY') as Years&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;RESIDENT JIRA&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;While AddMonths(MonthStart($(vDateMin)),IterNo()-1) &amp;lt;= MonthStart(End D&lt;/FONT&gt;ate);&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;I need to add another date (03/31/2022) in WHILE where it generates the years until End Date or 03/31/2022 - whichever date is less. How do I do that?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 15:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829855#M1214385</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2021-08-19T15:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: While between two dates - whichever is less</title>
      <link>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829878#M1214392</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/9788"&gt;@qlikwiz123&lt;/a&gt;&amp;nbsp; may be this&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;While AddMonths(MonthStart($(vDateMin)),IterNo()-1) &amp;lt;= rangemin(MonthStart(End D&lt;SPAN&gt;ate), makedate(2022,3,21));&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 16:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829878#M1214392</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2021-08-19T16:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: While between two dates - whichever is less</title>
      <link>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829900#M1214396</link>
      <description>&lt;P&gt;This worked perfectly. Thank you&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/336"&gt;@Kushal_Chawda&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 17:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/While-between-two-dates-whichever-is-less/m-p/1829900#M1214396</guid>
      <dc:creator>qlikwiz123</dc:creator>
      <dc:date>2021-08-19T17:48:38Z</dc:date>
    </item>
  </channel>
</rss>

