<?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 Accumulate back with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232364#M83993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a line chart which simply counts by period (distinct) values. I want to create another expression which is like backward accumulation but with user defined adjustments. I cannot get the expression correct and the attached example hopefully expresses what I am trying to achieve in more detail.&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;v9sr4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Oct 2010 12:58:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-10-08T12:58:37Z</dc:date>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232364#M83993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a line chart which simply counts by period (distinct) values. I want to create another expression which is like backward accumulation but with user defined adjustments. I cannot get the expression correct and the attached example hopefully expresses what I am trying to achieve in more detail.&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;P&gt;v9sr4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 12:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232364#M83993</guid>
      <dc:creator />
      <dc:date>2010-10-08T12:58:37Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232365#M83994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;I think the easiest is to change the script and calculate the number of machines per month in it.&lt;/P&gt;&lt;P&gt;Then add a ration field to use the factor depending on the month.&lt;/P&gt;&lt;P&gt;You'll find enclosed an update of your document.&lt;/P&gt;&lt;P&gt;I hope it help !&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Sébastien&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 13:41:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232365#M83994</guid>
      <dc:creator />
      <dc:date>2010-10-08T13:41:42Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232366#M83995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 13:43:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232366#M83995</guid>
      <dc:creator />
      <dc:date>2010-10-08T13:43:02Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232367#M83996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sebastien,&lt;/P&gt;&lt;P&gt;Thanks for the reply. Unfortunately the counts cannot be pre-calculated - this is only an example but in reality there are many different fields that can be selected and so the counts are dynamic.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Oct 2010 14:01:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232367#M83996</guid>
      <dc:creator />
      <dc:date>2010-10-08T14:01:39Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232368#M83997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if I understand the question. But if I do, one solution is an AsOf table connecting each month to the correct current and previous months, and giving a denominator for that specific connection. Then aggregate by the connected months to get the final totals. See attached.&lt;/P&gt;&lt;P&gt;Set analysis can't solve it since a set is only calculated once for the chart, not once per dimension value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Oct 2010 00:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232368#M83997</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-09T00:14:32Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232369#M83998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats excellent, John!&lt;/P&gt;&lt;P&gt;My users wanted to dynamically change the 'denominator' values but I am trying to convince them its not possible outside a load. The only thing I can think is to have them stored in an xls they can maintain and then force a reload.&lt;/P&gt;&lt;P&gt;Once again, thank you for your energy!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 11:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232369#M83998</guid>
      <dc:creator />
      <dc:date>2010-10-11T11:15:22Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232370#M83999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;gordon.savage wrote:My users wanted to dynamically change the 'denominator' values but I am trying to convince them its not possible outside a load.&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;It's possible. I didn't quite pick up on that being what you meant in the original question. Attached is one solution. I've put the Denominator field in a separate table so that it isn't repeated unnecessarily, and turned it into an inputfield. Then I manipulate a chart to only show the denominators for WtyMth, since I don't want them changing the raw data or accumulation. Then I allow input of the data by using an inputsum(Denominator) for the expression. In the example, I only allow entry for the most recent 10 months, but this could be expanded to whatever you need. A 0 value appears to exclude the month instead of causing a division by 0, simplifying things.&lt;/P&gt;&lt;P&gt;There's probably some way to avoid the inputsum() and still allow input of the fields for just WtyMth. A table box avoids the inputsum(), but I don't think can exclude the other accumulation types. And just having Denominator as an expression didn't seem to allow input. I don't have a lot of experience with input fields, so I'm just guessing that what I have could be simplified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 19:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232370#M83999</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-11T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Accumulate back with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232371#M84000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome John, just awesome.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 09:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Accumulate-back-with-set-analysis/m-p/232371#M84000</guid>
      <dc:creator />
      <dc:date>2010-10-12T09:45:52Z</dc:date>
    </item>
  </channel>
</rss>

