<?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 YTD calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/809473#M285705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the following code to calculate amount &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF( ValueLoop(1,12,1)=1 ,num(sum({$&amp;lt;Network={1},Src={1},BillMonthNo={'&amp;lt;=$(vBillMonthNo)'} &amp;gt;}Amount),'R # ##0,00')....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code works wneh nothing on BillMonth is selected therefore vBillMonthNo=12 so everything is calculated &lt;/P&gt;&lt;P&gt;but wen i select a month say Nov my vBillMonthNo becomes 11 but now it only calculates for one month &lt;/P&gt;&lt;P&gt;please assit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jan 2015 08:09:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-01-19T08:09:17Z</dc:date>
    <item>
      <title>YTD calculation</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/809473#M285705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have the following code to calculate amount &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF( ValueLoop(1,12,1)=1 ,num(sum({$&amp;lt;Network={1},Src={1},BillMonthNo={'&amp;lt;=$(vBillMonthNo)'} &amp;gt;}Amount),'R # ##0,00')....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code works wneh nothing on BillMonth is selected therefore vBillMonthNo=12 so everything is calculated &lt;/P&gt;&lt;P&gt;but wen i select a month say Nov my vBillMonthNo becomes 11 but now it only calculates for one month &lt;/P&gt;&lt;P&gt;please assit &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jan 2015 08:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation/m-p/809473#M285705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-01-19T08:09:17Z</dc:date>
    </item>
  </channel>
</rss>

