<?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 extract and show the last value per month. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-extract-and-show-the-last-value-per-month/m-p/96102#M457624</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;Could you please help me to solve this small problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create monthly aggregation and take the "Ballance ammount" for the last day of the month.&lt;/P&gt;&lt;P&gt;Please be aware that there are more than one transaction on the last day so then the load order should be consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guessing is that I have to run this at the script load phase, and use previous function when date will change to the next then I can call the last value... but still not sure how it make happen or is it the right way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea: if(month(Previous(Date))&amp;gt;month(Date),Ballance,0) as monthly_result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214155" alt="QlikForum task 1.jpg" class="jive-image image-1" src="/legacyfs/online/214155_QlikForum task 1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 09:45:39 GMT</pubDate>
    <dc:creator>waszcma1</dc:creator>
    <dc:date>2018-09-21T09:45:39Z</dc:date>
    <item>
      <title>How to extract and show the last value per month.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-extract-and-show-the-last-value-per-month/m-p/96102#M457624</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;Could you please help me to solve this small problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create monthly aggregation and take the "Ballance ammount" for the last day of the month.&lt;/P&gt;&lt;P&gt;Please be aware that there are more than one transaction on the last day so then the load order should be consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My guessing is that I have to run this at the script load phase, and use previous function when date will change to the next then I can call the last value... but still not sure how it make happen or is it the right way to do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My idea: if(month(Previous(Date))&amp;gt;month(Date),Ballance,0) as monthly_result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="214155" alt="QlikForum task 1.jpg" class="jive-image image-1" src="/legacyfs/online/214155_QlikForum task 1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 09:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-extract-and-show-the-last-value-per-month/m-p/96102#M457624</guid>
      <dc:creator>waszcma1</dc:creator>
      <dc:date>2018-09-21T09:45:39Z</dc:date>
    </item>
  </channel>
</rss>

