<?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 Rolling issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360691#M133976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Marcsliving.&lt;/P&gt;&lt;P&gt;Although the hard-coded locations is less than ideal it has given me something to work on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can get around the problem relating to Rangeavg and multiple dimensions let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again.&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 16:10:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-21T16:10:44Z</dc:date>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360681#M133966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached an example of QVW that illustrates the problem that I have. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&lt;SPAN style="text-decoration: underline;"&gt;NTRODUCTION&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;In summary, the example contains just 2 tables:&lt;/P&gt;&lt;P&gt;- MasterCalendar&lt;/P&gt;&lt;P&gt;- Jobs file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The 2 are linked by a date that I call OrderDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Jobs" file has a number of fields but the ones of interest are:&lt;/P&gt;&lt;P&gt;- No - this is the job number (this is not unique as there can be a number of entries for the same "job"&lt;/P&gt;&lt;P&gt;- Amount - This is the amount charged for each job&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have data spaning 4 years&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;REQUIREMENT&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt; We need to show both monthly totals (as in the example) and 12-month rolling averages against time. Just to clarify, for each month we need to show the average of the 12 previous months as at that time&amp;nbsp; (e.g. for Jan 2011 it should show the average of Feb 2010 through to Jan 2011). This needs to be broken down by location as shown in my example for the totals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The location dimension appears to be confusing QlikView. Any pointers would be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360681#M133966</guid>
      <dc:creator />
      <dc:date>2012-03-20T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360682#M133967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try an expression like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rangeavg( Above (count({$&amp;lt;Year =, Month =, OrderDate =&amp;gt;} DISTINCT [No]),0,12))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if I completly get what you are looking for. The {$&amp;lt;Year =, Month =, OrderDate =&amp;gt;} will make it so selections to date wont affect the chart so it will show correctly. (IE It needs all data for months to show correct avg.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360682#M133967</guid>
      <dc:creator />
      <dc:date>2012-03-20T15:31:33Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360683#M133968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean link for field&amp;nbsp;&amp;nbsp; JobDate not for OrderDate or i missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:39:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360683#M133968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T15:39:50Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360684#M133969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies Alfasierra - I renamed some of the field names to make it easier to understand.. yes you are right - the link field is "JobDate".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360684#M133969</guid>
      <dc:creator />
      <dc:date>2012-03-20T15:52:59Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360685#M133970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc, &lt;/P&gt;&lt;P&gt;Thanx for responding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to show the entire timeline (Jan 2007 - now) broken by month (as in the example attached) - for the "rolling" part this should be previous 12 months (if available).&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;For March 2007 for example it will be the average of Jan 2007 - March 2007 (only 3 values are available)&lt;/P&gt;&lt;P&gt;For Nov 2007 for example it will be the average of Jan 2007 - Nov 2007 (only 11 values are available)&lt;/P&gt;&lt;P&gt;For Mar 2008 for example it will be the average of Apr 2007 - Mar 2008 (last 12 values)&lt;/P&gt;&lt;P&gt;For Jan 2012 for example it will be the average of Feb 2011 - Jan 2012 (last 12 values)&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 15:59:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360685#M133970</guid>
      <dc:creator />
      <dc:date>2012-03-20T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360686#M133971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct that should be what&lt;/P&gt;&lt;P&gt;Rangeavg( Above (count({$&amp;lt;Year =, Month =, OrderDate =&amp;gt;} DISTINCT [No]),0,12))&lt;/P&gt;&lt;P&gt;is doing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It takes the distinct count of jobs per dimension, then it averages the previous 11 (12 including the current month)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360686#M133971</guid>
      <dc:creator />
      <dc:date>2012-03-20T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360687#M133972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried the rangeavg approach and I don't seem to be getting the "separation" that I expect. For a start I am not getting rolling values by location (see chart below) - it seems that "rolling" does not like more than one dimension to be present in the chart.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;IMG alt="location.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/12275_location.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360687#M133972</guid>
      <dc:creator />
      <dc:date>2012-03-20T16:13:59Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360688#M133973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexis did u try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; Year = , Month = , JobDate={"&amp;gt;=$(=AddMonths(MonthStart(Today()), -12))&amp;lt;=$(=(AddMonths(Today(), 0)))"} &amp;gt;} Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360688#M133973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-20T16:21:22Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360689#M133974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;alfasierra wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexis did u try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt; Year = , Month = , JobDate={"&amp;gt;=$(=AddMonths(MonthStart(Today()), -12))&amp;lt;=$(=(AddMonths(Today(), 0)))"} &amp;gt;} Amount)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I did Alfasierra and getting the same behaviour - I know my document is a little on the large size but have you downloaded to see the problem that I am reporting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 16:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360689#M133974</guid>
      <dc:creator />
      <dc:date>2012-03-20T16:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360690#M133975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a set number of locations? I know the Rangeavg and Above functions don't seem to like more than 1 dimension. (Could try total?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the number of locations will not change you could create an expression for each. then use set analysis to limit each expression to the correct location. That should make it so the avg only flows for each location&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 17:28:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360690#M133975</guid>
      <dc:creator />
      <dc:date>2012-03-20T17:28:44Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360691#M133976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Marcsliving.&lt;/P&gt;&lt;P&gt;Although the hard-coded locations is less than ideal it has given me something to work on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone can get around the problem relating to Rangeavg and multiple dimensions let me know..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx again.&lt;/P&gt;&lt;P&gt;Alexis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 16:10:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360691#M133976</guid>
      <dc:creator />
      <dc:date>2012-03-21T16:10:44Z</dc:date>
    </item>
    <item>
      <title>Rolling issue</title>
      <link>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360692#M133977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep an eye one this one, they seem to be having a similar issue with multiple dimensions &lt;A href="https://community.qlik.com/message/202981"&gt;Re: Previous value in Full Accumulation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 16:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rolling-issue/m-p/360692#M133977</guid>
      <dc:creator />
      <dc:date>2012-03-21T16:14:26Z</dc:date>
    </item>
  </channel>
</rss>

