<?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 Get last balance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241330#M91760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls post your application.&lt;/P&gt;&lt;P&gt;I will send you that application after solving error in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Aug 2010 17:46:40 GMT</pubDate>
    <dc:creator>suniljain</dc:creator>
    <dc:date>2010-08-03T17:46:40Z</dc:date>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241326#M91756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table the shows transactions for parts with a running balance. I need to get the part and the "last" balance. For example the first table looks like :&lt;/P&gt;&lt;P&gt;Date Part Tranaction Qty Balance&lt;/P&gt;&lt;P&gt;8/32010 A Reciept 10 10&lt;/P&gt;&lt;P&gt;8/3/2010 A Issued 2 8&lt;/P&gt;&lt;P&gt;8/3/2010 A Sold 5 3&lt;/P&gt;&lt;P&gt;8/3/2010 B Reciept 40 40&lt;/P&gt;&lt;P&gt;8/3/2010 B Sold 25 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a table that only has the last balance. So I want:&lt;/P&gt;&lt;P&gt;8/3/2010 A 3&lt;/P&gt;&lt;P&gt;8/3/2010 B 15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I get this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:00:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241326#M91756</guid>
      <dc:creator />
      <dc:date>2010-08-03T17:00:19Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241327#M91757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Stephen&lt;/P&gt;&lt;P&gt;Try This One&lt;/P&gt;&lt;P&gt;X:&lt;BR /&gt;LOAD Date,&lt;BR /&gt; Part,&lt;BR /&gt; Tranaction ,&lt;BR /&gt; if(Transaction = 'Receipt',Qty,Qty*-1) as Qty&lt;BR /&gt;FROM&lt;BR /&gt;Stock.xls(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;Y:&lt;BR /&gt;load *,recno() as d resident X order by Product,Date;&lt;BR /&gt;drop table X;&lt;BR /&gt;//exit script;&lt;BR /&gt;Main:&lt;BR /&gt;Load&lt;BR /&gt; Part,&lt;BR /&gt; Date,&lt;BR /&gt; Qty,&lt;BR /&gt;&lt;BR /&gt; if (peek(Part)=Part,peek(ClosingQty)+Qty,Qty) as ClosingQty&lt;BR /&gt;resident Y order by d;&lt;BR /&gt;drop field d;&lt;BR /&gt;drop table Y;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Jain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:07:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241327#M91757</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-03T17:07:48Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241328#M91758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Sunil&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241328#M91758</guid>
      <dc:creator />
      <dc:date>2010-08-03T17:39:21Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241329#M91759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunil,&lt;/P&gt;&lt;P&gt;I tried your script and if I don't drop your field "d" and I create a straight table using Date and Part as dimensions and I create a expression Max(d) I do get the pointer the ClosingQty I want but I cant seem to get an expression to get the value to work.&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241329#M91759</guid>
      <dc:creator />
      <dc:date>2010-08-03T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241330#M91760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls post your application.&lt;/P&gt;&lt;P&gt;I will send you that application after solving error in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:46:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241330#M91760</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-03T17:46:40Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241331#M91761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached. Thanks for your help Sunil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241331#M91761</guid>
      <dc:creator />
      <dc:date>2010-08-03T17:52:14Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241332#M91762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TEST:&lt;BR /&gt;LOAD&lt;BR /&gt; RowNo() AS Id,&lt;BR /&gt; Date,&lt;BR /&gt; Part,&lt;BR /&gt; Tranaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance&lt;BR /&gt;INLINE [&lt;BR /&gt;Date, Part, Tranaction, Qty, Balance&lt;BR /&gt;8/3/2010, A, Reciept, 10, 10&lt;BR /&gt;8/3/2010, A, Issued, 2, 8&lt;BR /&gt;8/3/2010, A, Sold, 5, 3&lt;BR /&gt;8/3/2010, B, Reciept, 40, 40&lt;BR /&gt;8/3/2010, B, Sold, 25, 15&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;TEST1:&lt;BR /&gt;LOAD&lt;BR /&gt;MAX(Id) AS Id,&lt;BR /&gt;Part&lt;BR /&gt;RESIDENT TEST&lt;BR /&gt;GROUP BY Part;&lt;BR /&gt;&lt;BR /&gt;FINAL:&lt;BR /&gt;INNER JOIN (TEST1)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT TEST;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE TEST;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 17:56:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241332#M91762</guid>
      <dc:creator />
      <dc:date>2010-08-03T17:56:17Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241333#M91763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eduardo,&lt;/P&gt;&lt;P&gt;INLINE [&lt;BR /&gt;Date, Part, Tranaction, Qty, Balance&lt;BR /&gt;8/3/2010, A, Reciept, 10, 10&lt;BR /&gt;8/3/2010, A, Issued, 2, 8&lt;BR /&gt;8/3/2010, A, Sold, 5, 3&lt;/P&gt;&lt;P&gt;8/4/2010, A, Receipt, 10, 13&lt;/P&gt;&lt;P&gt;8/4/2010,A,Sold,7,6&lt;/P&gt;&lt;P&gt;The table I have has many dates for each part and I need the ending balance for each date.&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 18:10:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241333#M91763</guid>
      <dc:creator />
      <dc:date>2010-08-03T18:10:06Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241334#M91764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sjcharles,&lt;/P&gt;&lt;P&gt;maybe this resolve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ORIGINAL:&lt;BR /&gt;LOAD Date,&lt;BR /&gt; Part,&lt;BR /&gt; Transaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\ecorrea.SERVER\Desktop\GetLastQty.xls&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;BR /&gt;&lt;BR /&gt;AUX_TABLE:&lt;BR /&gt;LOAD&lt;BR /&gt; Date,&lt;BR /&gt; Part,&lt;BR /&gt; Date &amp;amp; Part AS KEY,&lt;BR /&gt; Transaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance,&lt;BR /&gt; RowNo() AS Id&lt;BR /&gt;RESIDENT ORIGINAL;&lt;BR /&gt;&lt;BR /&gt;TEMP:&lt;BR /&gt;LOAD&lt;BR /&gt;MAX(Id) AS Id,&lt;BR /&gt;Date &amp;amp; Part AS KEY&lt;BR /&gt;RESIDENT AUX_TABLE&lt;BR /&gt;GROUP BY Date, Part;&lt;BR /&gt;&lt;BR /&gt;FINAL:&lt;BR /&gt;INNER JOIN (TEMP)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT AUX_TABLE;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE AUX_TABLE;&lt;BR /&gt;DROP TABLE ORIGINAL;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 18:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241334#M91764</guid>
      <dc:creator />
      <dc:date>2010-08-03T18:37:50Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241335#M91765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your the man - work great! Thanks Eduardo.&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 18:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241335#M91765</guid>
      <dc:creator />
      <dc:date>2010-08-03T18:45:47Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241336#M91766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One last task, I need to fill in the "missing" dates with the Quantity from the date the part last had a balance so I can graph quantity on hand each day.&lt;/P&gt;&lt;P&gt;So if the quantity on hand for part A on 8/4/2010 is 7 and the next date that the quatity changes in 8/15/2010 to 20. I need to fill in the dates from 8/5/2010 to 8/14/2010 with a quantity of 7 for part A.&lt;/P&gt;&lt;P&gt;Help!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 19:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241336#M91766</guid>
      <dc:creator />
      <dc:date>2010-08-03T19:17:19Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241337#M91767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This code is not completed, but is the way... I try to complete the informatiom using the function peek(), but only one record was completed.&lt;/P&gt;&lt;P&gt;So... I stoped here...&lt;/P&gt;&lt;P&gt;I Create a table with the dates was missing, and join with the previous table.&lt;/P&gt;&lt;P&gt;ORIGINAL:&lt;BR /&gt;LOAD DATE(Date, 'DD/MM/YYYY') AS Date,&lt;BR /&gt; Part,&lt;BR /&gt; Transaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance&lt;BR /&gt;FROM&lt;BR /&gt;C:\Users\ecorrea.SERVER\Desktop\GetLastQty.xls&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;BR /&gt;&lt;BR /&gt;AUX_TABLE:&lt;BR /&gt;LOAD&lt;BR /&gt; Date,&lt;BR /&gt; Part,&lt;BR /&gt; Date &amp;amp; Part AS KEY,&lt;BR /&gt; Transaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance,&lt;BR /&gt; RowNo() AS Id&lt;BR /&gt;RESIDENT ORIGINAL;&lt;BR /&gt;&lt;BR /&gt;FINAL:&lt;BR /&gt;LOAD&lt;BR /&gt;MAX(Id) AS Id,&lt;BR /&gt;Date &amp;amp; Part AS KEY&lt;BR /&gt;RESIDENT AUX_TABLE&lt;BR /&gt;GROUP BY Date, Part;&lt;BR /&gt;&lt;BR /&gt;INNER JOIN (FINAL)&lt;BR /&gt;LOAD *&lt;BR /&gt;RESIDENT AUX_TABLE;&lt;BR /&gt;&lt;BR /&gt;T:&lt;BR /&gt;LOAD&lt;BR /&gt; min(Date) as MinDate,&lt;BR /&gt; max(Date) as MaxDate&lt;BR /&gt;RESIDENT FINAL;&lt;BR /&gt;&lt;BR /&gt;LET Start = peek('MinDate');&lt;BR /&gt;LET End = peek('MaxDate');&lt;BR /&gt;LET NumOfDays = End - Start + 1;&lt;BR /&gt;&lt;BR /&gt;DATA:&lt;BR /&gt;JOIN (FINAL)&lt;BR /&gt;LOAD&lt;BR /&gt; $(Start) + Rowno() -1 as Date&lt;BR /&gt;AUTOGENERATE $(NumOfDays);&lt;BR /&gt;&lt;BR /&gt;TESTE:&lt;BR /&gt;LOAD&lt;BR /&gt; Date,&lt;BR /&gt; Part,&lt;BR /&gt; IF(ISNULL(Part) = -1, PEEK(Part), Part) AS Part_,&lt;BR /&gt; Transaction,&lt;BR /&gt; Qty,&lt;BR /&gt; Balance&lt;BR /&gt;RESIDENT FINAL;&lt;BR /&gt;&lt;BR /&gt;DROP TABLE T;&lt;BR /&gt;DROP TABLE FINAL;&lt;BR /&gt;DROP TABLE AUX_TABLE;&lt;BR /&gt;DROP TABLE ORIGINAL;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 20:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241337#M91767</guid>
      <dc:creator />
      <dc:date>2010-08-03T20:49:27Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241338#M91768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still can't get it to work. Anyone?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Aug 2010 23:30:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241338#M91768</guid>
      <dc:creator />
      <dc:date>2010-08-03T23:30:11Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241339#M91769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;I solved Your Problem.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil Jain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 09:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241339#M91769</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-04T09:20:07Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241340#M91770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunil. I have one more task I must accomplish. Add a transaction for Part "A" on 8/8/2010 to add (Reciept) a quantity of 10. So now on the 8th the quantity for part A is 17. I need to add the dates of 8/5, 8/6/ and 8/7 and show a quantity of 7 for part A.&lt;/P&gt;&lt;P&gt;How would I do this?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 15:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241340#M91770</guid>
      <dc:creator />
      <dc:date>2010-08-04T15:25:55Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241341#M91771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stephen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No of record does not make any sense for this logic . pls check this by adding that records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 17:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241341#M91771</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-04T17:12:51Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241342#M91772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunil,&lt;/P&gt;&lt;P&gt;I have attached a new Excel file. We want to graph "all" days. Meaning, for part A I want "all" days from 6/15/2010 to 7/17/2010. Not just the days for which the balance changed based on transaction for the day. Your code is gives me the ending balance for any day that has activity (thank you). But I need to fill in the "no activity" dates with the ending balance from the last date with activity. So, In the excel file on row 9 for 7/4/2010 the ending balance is 7. The next transaction (activity) date is 7/17/2010. I need to add the dates of 7/5, 7/6, 7/7 . . . . . to 7/16 and show that part A has a balance of 7.&lt;/P&gt;&lt;P&gt;We want to graph all days of the month and show the balance on hand for each date (regardless of whether it has activity). I can create a "master" calendar with all of the dates, but I don't know how to fill in the "no activity" dates with the part number ("A") and the last ending balance.&lt;/P&gt;&lt;P&gt;Hope this help explain what I am trying to accomplish.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Aug 2010 17:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241342#M91772</guid>
      <dc:creator />
      <dc:date>2010-08-04T17:42:18Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241343#M91773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;remove group by statement from script . it will solved your problem.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 12:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241343#M91773</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-05T12:28:31Z</dc:date>
    </item>
    <item>
      <title>Get last balance</title>
      <link>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241344#M91774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls remove group by from script.&lt;/P&gt;&lt;P&gt;it will solve your problem.&lt;/P&gt;&lt;P&gt;Regards;&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 12:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-last-balance/m-p/241344#M91774</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-08-05T12:38:50Z</dc:date>
    </item>
  </channel>
</rss>

