<?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: Run Rate Algorithm in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Rate-Algorithm/m-p/1184327#M882609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2016 19:40:08 GMT</pubDate>
    <dc:creator>m_woolf</dc:creator>
    <dc:date>2016-09-27T19:40:08Z</dc:date>
    <item>
      <title>Run Rate Algorithm</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Rate-Algorithm/m-p/1184326#M882608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for assistance in coding the following tables run rate based on sporadic weekly sales data. The data is available as daily sales volume by customer and by product&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure this is possible as the run rate would be required for each product customer combination by day but any alternative ideas on run rates for data sets of this size and complexity would be welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Calc&lt;/SPAN&gt; 1: starting point no prior data therefore no run rate&lt;/P&gt;&lt;P&gt;Calc 2: no promo sales so run rate is total of that week for std sales only&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Calc 3 :&lt;/SPAN&gt;both promo and std sales so total of both for that week = run rate&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Calc 4: &lt;SPAN style="font-size: 13.3333px;"&gt;no Std sales so run rate is total of that week for promo sales only&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Calc 5: &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;no sales so last week containing sales would calculate as the run rate (so if no sales for two months then the sales from the last point of sale would be used)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;My table below would therefore not contain columns for std and promo merely a run rate for each week for each product and customer.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="549" style="width: 664px; height: 395px;" width="664"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="40" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid black; border-right: none; border-bottom: 0.5pt solid black; border-left: none;" width="70"&gt;Product&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid black; border-right: none; border-bottom: 0.5pt solid black; border-left: none;" width="64"&gt;Week&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid black; border-right: none; border-bottom: 0.5pt solid black; border-left: none;" width="77"&gt;Std Sales&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid black; border-right: none; border-bottom: 0.5pt solid black; border-left: none;" width="98"&gt;Promo Sales&lt;/TD&gt;&lt;TD class="xl65" style="font-size: 11pt; color: black; font-weight: bold; font-family: Calibri; border-top: 0.5pt solid black; border-right: none; border-bottom: 0.5pt solid black; border-left: none;" width="77"&gt;Run Rate&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="21" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="64"&gt;wk3&lt;/TD&gt;&lt;TD align="right" class="xl69" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;200&lt;/TD&gt;&lt;TD align="right" class="xl69" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="98"&gt;100&lt;/TD&gt;&lt;TD align="right" class="xl69" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="21" style="border-top: none;" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="64"&gt;wk4&lt;/TD&gt;&lt;TD class="xl70" width="77"&gt;300&lt;/TD&gt;&lt;TD class="xl70" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="21" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="64"&gt;wk5&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="77"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="98"&gt;200&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="21" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="64"&gt;wk6&lt;/TD&gt;&lt;TD class="xl70" width="77"&gt;200&lt;/TD&gt;&lt;TD class="xl70" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" width="77"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="21" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl66" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="64"&gt;wk7&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="77"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="98"&gt;100&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="77"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl68" height="20" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="64"&gt;Wk8&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl76" height="21" style="border-top: none;" width="70"&gt;1&lt;/TD&gt;&lt;TD class="xl76" style="border-top: none; border-left: none;" width="64"&gt;Wk9&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="77"&gt;0&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl73" height="20"&gt;2&lt;/TD&gt;&lt;TD class="xl74" width="64"&gt;wk4&lt;/TD&gt;&lt;TD class="xl75" width="77"&gt;450&lt;/TD&gt;&lt;TD class="xl75" style="border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl75" style="border-left: none;" width="77"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl71" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="64"&gt;wk5&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;150&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="98"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl71" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;wk6&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl71" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD class="xl66" style="font-size: 10pt; font-family: Arial; background: #d9d9d9;" width="64"&gt;wk7&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;150&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="98"&gt;150&lt;/TD&gt;&lt;TD class="xl67" style="font-size: 10pt; font-family: Arial; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl71" height="20" style="border-top: none;"&gt;2&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="64"&gt;Wk8&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;450&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl79" height="21" style="font-size: 11pt; color: black; font-family: Calibri; border-width: 0.5pt 0.5pt 1pt; border-style: solid; border-color: windowtext; background: #d9d9d9;"&gt;2&lt;/TD&gt;&lt;TD class="xl76" style="border-top: none; border-left: none;" width="64"&gt;Wk9&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="77"&gt;0&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl77" style="border-top: none; border-left: none;" width="77"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl78" height="20"&gt;3&lt;/TD&gt;&lt;TD class="xl74" style="border-left: none;" width="64"&gt;wk3&lt;/TD&gt;&lt;TD class="xl75" width="77"&gt;600&lt;/TD&gt;&lt;TD class="xl75" width="98"&gt;300&lt;/TD&gt;&lt;TD class="xl75" width="77"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;wk4&lt;/TD&gt;&lt;TD class="xl70" width="77"&gt;900&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;wk5&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="98"&gt;600&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="77"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" width="64"&gt;wk6&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;600&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;wk7&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="77"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="98"&gt;300&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;" width="77"&gt;600&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl72" height="20" style="border-top: none;"&gt;3&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;" width="64"&gt;Wk8&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;900&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;" width="77"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl80" height="20" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;"&gt;3&lt;/TD&gt;&lt;TD class="xl81" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="64"&gt;Wk9&lt;/TD&gt;&lt;TD class="xl82" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;0&lt;/TD&gt;&lt;TD class="xl82" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="98"&gt;0&lt;/TD&gt;&lt;TD class="xl82" style="font-size: 11pt; color: black; font-family: Calibri; border: 0.5pt solid windowtext; background: #d9d9d9;" width="77"&gt;900&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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/Run-Rate-Algorithm/m-p/1184326#M882608</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run Rate Algorithm</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Rate-Algorithm/m-p/1184327#M882609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 19:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Rate-Algorithm/m-p/1184327#M882609</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2016-09-27T19:40:08Z</dc:date>
    </item>
  </channel>
</rss>

