<?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: Opening Balance Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Opening-Balance-Problem/m-p/462166#M172609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have hardcoded the date in your variable it should be dynamic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vOPBAL=(SUM({$&amp;lt;FinancialYear=,MonthName=,[Posting Date] ={'$(=MakeDate(Max(Year), 3, 31))'}&amp;gt;}[Opn Doc Amt])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Apr 2013 11:42:02 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-04-17T11:42:02Z</dc:date>
    <item>
      <title>Opening Balance Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Opening-Balance-Problem/m-p/462165#M172608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have closing balance of&amp;nbsp; march 2012 i.e it would be opening balance for april 2012 financial year, i have the following logic using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;IF(Rowno()=1,vOPBAL,Above(Column(previous one)))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vOPBAL=(SUM({$&amp;lt;FinancialYear=,MonthName=,[Posting Date] ={'31/03/2012'}&amp;gt;}[Opn Doc Amt])&lt;/P&gt;&lt;P&gt; This works fine for the year 20113,&lt;/P&gt;&lt;P&gt;but for the year 2013 it again takes the closing balance of march 2012 whereas it should take closing balance of march 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching an excel file for better understanding....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 09:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Opening-Balance-Problem/m-p/462165#M172608</guid>
      <dc:creator>rohitians</dc:creator>
      <dc:date>2013-04-17T09:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Opening Balance Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Opening-Balance-Problem/m-p/462166#M172609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have hardcoded the date in your variable it should be dynamic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vOPBAL=(SUM({$&amp;lt;FinancialYear=,MonthName=,[Posting Date] ={'$(=MakeDate(Max(Year), 3, 31))'}&amp;gt;}[Opn Doc Amt])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 11:42:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Opening-Balance-Problem/m-p/462166#M172609</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-04-17T11:42:02Z</dc:date>
    </item>
  </channel>
</rss>

