<?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 Question:  Calculating Average Balance for Actual Days Outstanding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-Calculating-Average-Balance-for-Actual-Days-Outstanding/m-p/376805#M495270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, need your help.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an app that needs to calculate the average loan balance outstanding for the month.&amp;nbsp; However, I cannot simply take the average of the sum of the daily balance and divide by the number of calendar days in the month, since these loans are only outstanding for a few days--it is a stock lending operation.&amp;nbsp; What I need is to calculate the balance only for the days that the loan is actually outstanding during the month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed this generic example.&amp;nbsp; I copy and paste an image below, and also attach this example as an Excel file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19700" class="jive-image-thumbnail jive-image" onclick="" alt="DB_QV_ActualDays.jpg" src="https://community.qlik.com/legacyfs/online/19700_DB_QV_ActualDays.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As shown, I want the Actual Average by Days Outstanding in Row 36.&amp;nbsp; This Average I calculated using CountIF in Excel.&amp;nbsp; I don't know how to do so in QlikView.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice and comments would be welcomed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 02:37:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-10T02:37:53Z</dc:date>
    <item>
      <title>Question:  Calculating Average Balance for Actual Days Outstanding</title>
      <link>https://community.qlik.com/t5/QlikView/Question-Calculating-Average-Balance-for-Actual-Days-Outstanding/m-p/376805#M495270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, need your help.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an app that needs to calculate the average loan balance outstanding for the month.&amp;nbsp; However, I cannot simply take the average of the sum of the daily balance and divide by the number of calendar days in the month, since these loans are only outstanding for a few days--it is a stock lending operation.&amp;nbsp; What I need is to calculate the balance only for the days that the loan is actually outstanding during the month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I developed this generic example.&amp;nbsp; I copy and paste an image below, and also attach this example as an Excel file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="19700" class="jive-image-thumbnail jive-image" onclick="" alt="DB_QV_ActualDays.jpg" src="https://community.qlik.com/legacyfs/online/19700_DB_QV_ActualDays.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As shown, I want the Actual Average by Days Outstanding in Row 36.&amp;nbsp; This Average I calculated using CountIF in Excel.&amp;nbsp; I don't know how to do so in QlikView.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice and comments would be welcomed.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 02:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-Calculating-Average-Balance-for-Actual-Days-Outstanding/m-p/376805#M495270</guid>
      <dc:creator />
      <dc:date>2012-08-10T02:37:53Z</dc:date>
    </item>
  </channel>
</rss>

