<?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: How can I subtract from a daily total sorted by a running total? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-can-I-subtract-from-a-daily-total-sorted-by-a-running-total/m-p/1388694#M31926</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tiffani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sort of new as well and I've noticed that the more specific a question is the more likely to get a reply. I think that if you reduce your question to something more specific to Qlik and not to the domain, you'll see few answers coming. From smaller questions and answers you'll be able to build up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 01:21:22 GMT</pubDate>
    <dc:creator>luismadriz</dc:creator>
    <dc:date>2017-11-01T01:21:22Z</dc:date>
    <item>
      <title>How can I subtract from a daily total sorted by a running total?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-subtract-from-a-daily-total-sorted-by-a-running-total/m-p/1388693#M31925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to create an application that has to do the following:&amp;nbsp; Allow the end user to simulate projected inventory levels by date and by part number if a machine or machines were taken down for a period of time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some challenges that I have ran into:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Consumption by part number is available, but supply is not.&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Capacity on the machines is not infinite.&amp;nbsp; There are X amount of available hours each day based on hours per shift and number of shifts.&amp;nbsp; I was not given a manufacturing schedule of the parts, so I am to assume the part numbers will be made based the greatest need. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So sum it up, I have to create a model that has these assumptions built in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL style="font-size: 13.3333px;"&gt;&lt;LI&gt;If the Part Number belongs to&amp;nbsp; Program 'X', its takes 2.5 hours to make 1 piece. Otherwise it's 2.0 hours. Let's call it vManuTime.&lt;/LI&gt;&lt;LI&gt;The supplier is not going to make over than what is demanded in total.&lt;/LI&gt;&lt;LI&gt;The supplier is going to make the parts based on t&lt;SPAN style="font-size: 13.3333px;"&gt;he greatest need which can be interpreted as: Part Numbers with the lowest inventory levels required&amp;nbsp; in the near future.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The supplier is going to make the parts in set lot/batch sizes.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Not all of the hours on the machines have to be used but you cannot use more than the available machine hours each day.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I gave up on enabling a user to be able to select a machine and date range to "take down" to simulate inventory levels in the UI, so I created an excel file with dates and machines hours that they can zero out the values and reload the app if needed.&lt;/P&gt;&lt;P&gt; &lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/181682_Capture.PNG" style="height: auto;" /&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table created that has, Date, Part Number, and Demand Qty.&amp;nbsp; I am stuck on how to assign machine hours per part based on the assumptions above.&amp;nbsp; I am essentially trying to do what the example excel table is doing by allocating machine hours(Supply=Machine Hours *&lt;SPAN style="font-size: 13.3333px;"&gt;vManuTime&lt;/SPAN&gt;) to each part number based on lowest to greatest inventory levels (Column G) each day (Column A) without making more than needed in total (example Row 8).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/181684_Capture.PNG" style="height: 385px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 21:41:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-subtract-from-a-daily-total-sorted-by-a-running-total/m-p/1388693#M31925</guid>
      <dc:creator>tleslie</dc:creator>
      <dc:date>2017-10-31T21:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I subtract from a daily total sorted by a running total?</title>
      <link>https://community.qlik.com/t5/App-Development/How-can-I-subtract-from-a-daily-total-sorted-by-a-running-total/m-p/1388694#M31926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tiffani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sort of new as well and I've noticed that the more specific a question is the more likely to get a reply. I think that if you reduce your question to something more specific to Qlik and not to the domain, you'll see few answers coming. From smaller questions and answers you'll be able to build up&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopes this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 01:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-can-I-subtract-from-a-daily-total-sorted-by-a-running-total/m-p/1388694#M31926</guid>
      <dc:creator>luismadriz</dc:creator>
      <dc:date>2017-11-01T01:21:22Z</dc:date>
    </item>
  </channel>
</rss>

