<?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 Weekly Opening and Closing(Outstanding)Balance calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190397#M883107</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a requirement to figure out Opening and closing(Outstanding) balance on a weekly basis. I have list of tickets where Created and resolved date is available. I want to evaluate Opening balance for a week and closing(Outstanding) at the end of the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this scenario, My Outstanding at the end of the week will become Opening balance for next week. Here, I have created week on the basis of created date and my week starts from Monday till Saturday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the attached excel and i need a report in the same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if you all have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>khan_imran</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190397#M883107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a requirement to figure out Opening and closing(Outstanding) balance on a weekly basis. I have list of tickets where Created and resolved date is available. I want to evaluate Opening balance for a week and closing(Outstanding) at the end of the week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this scenario, My Outstanding at the end of the week will become Opening balance for next week. Here, I have created week on the basis of created date and my week starts from Monday till Saturday,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the attached excel and i need a report in the same format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if you all have any queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190397#M883107</guid>
      <dc:creator>khan_imran</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190398#M883108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138370_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Ticket, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Created Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Resolved Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Sample Data (2).xls]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(biff, embedded labels, table is [Sample data$]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MinMax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Min([Created Date]) as MinDate,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Max([Resolved Date]) as MaxDate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vMin = Peek('MinDate');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vMax = Peek('MaxDate');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table MinMax;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Calendar:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; WeekEnd(Date) as WeekEnding;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD Date($(vMin) + IterNo() - 1) as Date&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AutoGenerate 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;While $(vMin) + IterNo() - 1 &amp;lt; $(vMax);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Left Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IntervalMatch(Date)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Created Date], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Resolved Date]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Straight Table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;WeekEnding&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Above([Outstanding for the week]), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT If(WeekEnding - 7 &amp;lt;= [Created Date], Ticket))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT Ticket)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Count(DISTINCT If(WeekEnding &amp;gt;= [Resolved Date], Ticket))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[Total for the week] - [Closed for the week]&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 19:32:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190398#M883108</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T19:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190399#M883109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. It is working fine. However, I am not getting Opening balance for first week of a month. For example, If i select Month as July and my first week is coming as 27Jun to 2Jul, then I should get an opening balance from week ending 25th or 26th June.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please suggest how could i bring opening balance for my week of a month from closing balance of last week of a month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Imran Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 05:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190399#M883109</guid>
      <dc:creator>khan_imran</dc:creator>
      <dc:date>2016-09-23T05:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190400#M883110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try replacing your first expression to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Above(&lt;SPAN style="color: #ff0000;"&gt;Count({1}DISTINCT Ticket) - Count({1}DISTINCT If(WeekEnding &amp;gt;= [Resolved Date], Ticket))&lt;/SPAN&gt;), 0)&lt;SPAN style="color: #ff0000;"&gt; * Avg(1)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/138509_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 15:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190400#M883110</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-23T15:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190401#M883111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or may be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alt(Above(Count({&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;WeekEnding&lt;/STRONG&gt;&amp;gt;&lt;/SPAN&gt;}DISTINCT Ticket) - Count({&lt;SPAN style="color: #ff0000;"&gt;&amp;lt;&lt;STRONG style="font-size: 13.3333px;"&gt;WeekEnding&lt;/STRONG&gt;&amp;gt;&lt;/SPAN&gt;}DISTINCT If(WeekEnding &amp;gt;= [Resolved Date], Ticket))), 0) * Avg(1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on what selections you want to ignore. All or just WeekEnding &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Sep 2016 15:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190401#M883111</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-23T15:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190402#M883112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny for giving the perfect solution for my requirement. It worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 08:57:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190402#M883112</guid>
      <dc:creator>khan_imran</dc:creator>
      <dc:date>2016-09-24T08:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Opening and Closing(Outstanding)Balance calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190403#M883113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am glad it did &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Sep 2016 20:19:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Opening-and-Closing-Outstanding-Balance-calculation/m-p/1190403#M883113</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-24T20:19:52Z</dc:date>
    </item>
  </channel>
</rss>

