<?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: Help with Running Total in Line Chart in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281920#M26709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample would be great, can you upload one please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jan 2017 17:38:41 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-05T17:38:41Z</dc:date>
    <item>
      <title>Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281919#M26708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First time post, long time viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hey everyone, I've been getting advice from you great people for awhile, but now I have an issue that's a little more specific to my environment. I have an inventory system which has about 60k parts in it. My goal here is I'm trying to show a sum of the running total of part quantity on hand, with the addition of purchase orders and the subtraction of sales orders related to these parts. I'm trying to put this into a line chart, with the ReqDate as the dimension, so I can see when inventory is going up and down.&lt;/P&gt;&lt;P&gt;It may be a little easier if I explain like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1_OH:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Partno&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Qty&lt;/SPAN&gt; -(This is loading on hand amount in system)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 30&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table2_SO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SalesOrder&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Partno&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Qty&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReqDate -(Date Qty will be subtracted from Running Total)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/22/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/17/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/03/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Table3_PO:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;PurchaseOrder&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Partno&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Qty&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ReqDate -(Date Qty will be Added to Running Total)&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/14/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/05/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3/12/2017&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Now obviously my data is on a much bigger scale, but the premise is mostly the same. I believe I have an issue with there being no ReqDate associated when I load the Table1_OH. I've tried load Date(today()) as reqdate on that table and using RangeSum function in line chart, but then the on hand sums go whacky on dates where Sales Orders or Purchase Orders hit the system.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Sorry guys, I know this is lengthy. I can upload a sample of what I've got if anyone needs.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 17:26:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281919#M26708</guid>
      <dc:creator />
      <dc:date>2017-01-05T17:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281920#M26709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample would be great, can you upload one please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 17:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281920#M26709</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T17:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281921#M26710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Added sample to original message. Don't rely on what's in the measure field of the line chart. I was testing many different solutions (:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 18:24:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281921#M26710</guid>
      <dc:creator />
      <dc:date>2017-01-05T18:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281922#M26711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this what you want to see?&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/148491_Capture.PNG" style="height: 192px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(Sum(Aggr(Sum(DISTINCT OH), partno)), 0, RowNo())), (reqdate,(Numeric, Ascending)))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 18:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281922#M26711</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T18:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281923#M26712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;That's getting closer, but that is only looking at the OH and I need to show the sum of OH + qtyord - qtyneed in a cumulative line chart. I'm not sure this is an accurate start to that, as this is showing and increase in OH, yet qtyord or qtyneed hasn't been added to the Expression yet.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The OH should only be showing what's currently in inventory from the date of the load and should theoretically be flat in the line chart, as nothing else is affecting it yet.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I've thought about joining the tables, then trying the loads and I think I'm starting to get somewhere. See the top 3 tables, Left is On Hand and is loaded Date(today()) as reqdate, so now I have the sum and a beginning date. Middle are purchases and the dates they need to be added to On Hand, and Right are sales and dates they need to be removed from the system.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Associated with each purchase order and sales orders are a few parts and qtys, so adding partno to the middle and right table will break down what parts are making up the sum.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;IMG alt="thisproj.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148501_thisproj.PNG" style="height: 288px; width: 620px;" /&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now I just need to get this into an accumulative line chart at the bottom if you know an Expression for that?&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-New app attached to main question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 20:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281923#M26712</guid>
      <dc:creator />
      <dc:date>2017-01-05T20:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281924#M26713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Aggr(RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(Aggr(Sum(DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(Aggr(Sum(DISTINCT qtyord), partno)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum(Aggr(Sum(DISTINCT qtyneed), wono, partno))), 0, RowNo())), (reqdate,(Numeric, Ascending)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="148503" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148503_Capture.PNG" style="height: 198px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 20:53:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281924#M26713</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-05T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281925#M26714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's getting much closer, but unfortunately once you click a date past today, it starts the On Hand Inventory at 0, instead of what it was at the end of the previous date. I'm assuming this is because I added Date(today()) as reqdate in my On Hand table, so once we clicked a date that was outside of that date, it will return with a 0 amount of On Hand to start with.&lt;/P&gt;&lt;P&gt;It seems like the only way to really do this is to load this accumulative sum in the data load. That way, when a date is selected, we see what the inventory amount should be like on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've attached what I've got so far. with your very helpful expression in the line chart. Notice though, when we click a date that isn't today, the OH amount changes to 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 19:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281925#M26714</guid>
      <dc:creator />
      <dc:date>2017-01-06T19:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281926#M26715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This?&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/148618_Capture.PNG" style="height: 170px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reqdate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;reqdate = {"=reqdate &amp;lt; Date(Today()+120)"}&amp;gt;} Aggr(RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT qtyord), purno,partno)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum({&amp;lt;reqdate&amp;gt;} Aggr(Sum({&amp;lt;reqdate&amp;gt;}DISTINCT qtyneed), wono, partno))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), 0, RowNo())), (reqdate,(Numeric, Ascending))))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 19:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281926#M26715</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-06T19:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281927#M26716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately there's been another request for this app and I've been trying to no avail to get it done. Your previous expression has worked as needed, so I'll be marking you answer Helpful regardless. However, I was wondering if you could help me just one step further? Currently the chart is a cumulative sum of OnHand + QtyOrd - QtyNeed for all Parts. What I've just been asked is if we can add another line to the chart showing if an individual Part has a cumulative sum &amp;lt; 0, take that sum * -1 and add it to the original expression above. Doing this should make the 2nd line as basically a type of forecast of what we should have and help us tackle issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried doing the cumulative sum in the Resident Load without success. Then I tried using your expression in a table with Reqdate, so i could export and then import the sums as a temporary fix, but it doesn't group by individual Part.&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp;&amp;nbsp; Thanks again for all your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 18:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281927#M26716</guid>
      <dc:creator />
      <dc:date>2017-01-07T18:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281928#M26717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you need to show me an example using two parts where one the cumulative sum &amp;lt;0 and other cumulative sum &amp;gt;0 and how the whole new expression needs to look like.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 19:14:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281928#M26717</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-07T19:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281929#M26718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check top right table of attached app. Notice how measures are all null. Now filter for part 50-46PQ and then you start seeing the dates and cumulative values where it's &amp;lt; 0. Even thought part is a column, it doesn't group by part unless you select one.&lt;/P&gt;&lt;P&gt;Keeping the filter on, notice how measure 2 now shows up in the line chart, but it doesn't when there is no part filter selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 19:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281929#M26718</guid>
      <dc:creator />
      <dc:date>2017-01-07T19:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281930#M26719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the chart on the top right can be fixed using this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Only({&amp;lt;reqdate = {"=reqdate &amp;lt; Date(Today()+120)"}&amp;gt;} Aggr(RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT qtyord), purno)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum({&amp;lt;reqdate&amp;gt;} Aggr(Sum({&amp;lt;reqdate&amp;gt;}DISTINCT qtyneed), wono))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), 0, RowNo())), &lt;SPAN style="color: #ff0000;"&gt;partno&lt;/SPAN&gt;, (reqdate,(Numeric, Ascending)))) &amp;lt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;reqdate = {"=reqdate &amp;lt; Date(Today()+120)"}&amp;gt;} Aggr(RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT qtyord), purno)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum({&amp;lt;reqdate&amp;gt;} Aggr(Sum({&amp;lt;reqdate&amp;gt;}DISTINCT qtyneed), wono))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), 0, RowNo())), &lt;SPAN style="color: #ff0000;"&gt;partno&lt;/SPAN&gt;, (reqdate,(Numeric, Ascending)))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how that play a role in the main chart, I still don't understand.... but may be this....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Column(1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;reqdate = {"=reqdate &amp;lt; Date(Today()+120)"}&amp;gt;}Aggr(If(RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT qtyord), purno)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum({&amp;lt;reqdate&amp;gt;} Aggr(Sum({&amp;lt;reqdate&amp;gt;}DISTINCT qtyneed), wono))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), 0, RowNo())) &amp;lt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(Above(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT OH), row1)),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum({&amp;lt;reqdate&amp;gt;}Aggr(Sum({&amp;lt;reqdate&amp;gt;} DISTINCT qtyord), purno)), &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; -Sum({&amp;lt;reqdate&amp;gt;} Aggr(Sum({&amp;lt;reqdate&amp;gt;}DISTINCT qtyneed), wono))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ), 0, RowNo()))), partno, (reqdate,(Numeric, Ascending)))) * -1)&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/148659_Capture.PNG" style="height: 143px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 20:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281930#M26719</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-07T20:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281931#M26720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afraid that still didn't fix it. If you filter for part 50-46PQ, you see that there's a negative value at 1/11/2017, but if we export the table with no filter, search for the same part, there is no negative value on this date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My goal for the 2nd measure is to use the cumulative total for the sum of all parts, which is measure1, and then look at every individual part on every date, and if any individual part has a cumulative qty of &amp;lt; 0, I want to take that qty, times it by -1, and then add it to the cumulative total on that date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will make measure1 show the cumulative and measure2 show what should be the cumulative total if we're to meet all the part demands. I hope this clarifies things a little further. I really do appreciate all your help (:&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 21:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281931#M26720</guid>
      <dc:creator />
      <dc:date>2017-01-07T21:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281932#M26721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see a negative value for part 50-46 PQ, is this not right?&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/148660_Capture.PNG" style="height: 195px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/148661_Capture.PNG" style="height: 150px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing here? Attaching the Excel file, may be you can show me what you want in the Excel file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 21:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281932#M26721</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-07T21:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281933#M26722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you get time, add me as a connection or send me a private message. I have added you as a connection which gives you the option to see me private message, but since you are not my connection, I cannot send you a private message.&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, 07 Jan 2017 22:04:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281933#M26722</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-07T22:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281934#M26723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've made much progress with the app, but ran into an issue here. If you filter for Formula, measure2 should flatline at 0 once it starts going into the negatives, but unfortunately it keeps trickling down with it. However, if you remove partno from measure2, that you added in your last expression, it works as it should, but then it doesn't work for the cumulative sum if you remove the filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jan 2017 23:48:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281934#M26723</guid>
      <dc:creator />
      <dc:date>2017-01-07T23:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Running Total in Line Chart</title>
      <link>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281935#M26724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try the attached... don't like the solution, but I think the way you have structured your whole requirement, this is the best I can do.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2017 00:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Help-with-Running-Total-in-Line-Chart/m-p/1281935#M26724</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-08T00:47:43Z</dc:date>
    </item>
  </channel>
</rss>

