<?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 Month Breakdown with loops in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Month-Breakdown-with-loops/m-p/802907#M1029221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I was wondering if it was possible to split up the number of days per month between 2 dates using something like a while loop. My initial thought was that you could create a max and min date then maybe use some inner loops for breaking that up.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78048_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Say you start off with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you might get to something like this with a unique reference, although there will probably be more than one year so Unique month would have +12 for 2014, +24 for 2015 etc.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78049_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And then add the days of the month so to finish like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78068_Capture3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;N.B it does not always start from the 1st of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible or is there no function that would incorporate months in this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 15:36:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-02-13T15:36:18Z</dc:date>
    <item>
      <title>Month Breakdown with loops</title>
      <link>https://community.qlik.com/t5/QlikView/Month-Breakdown-with-loops/m-p/802907#M1029221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. I was wondering if it was possible to split up the number of days per month between 2 dates using something like a while loop. My initial thought was that you could create a max and min date then maybe use some inner loops for breaking that up.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78048_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Say you start off with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you might get to something like this with a unique reference, although there will probably be more than one year so Unique month would have +12 for 2014, +24 for 2015 etc.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78049_Capture2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And then add the days of the month so to finish like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture3.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78068_Capture3.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;N.B it does not always start from the 1st of the month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible or is there no function that would incorporate months in this way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 15:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Month-Breakdown-with-loops/m-p/802907#M1029221</guid>
      <dc:creator />
      <dc:date>2015-02-13T15:36:18Z</dc:date>
    </item>
  </channel>
</rss>

