<?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: Rolling Twelve Months in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545403#M40123</link>
    <description>&lt;P&gt;Hello Pradosh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work.&lt;/P&gt;&lt;P&gt;I have a date field also , my dimension is Year(DateField).&lt;/P&gt;&lt;P&gt;The problem is for instance when this field has value 2019 it is not able to fetch values of Year 2018 but we want sum of rolling twelve months which in many cases will require data from past year also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2019 11:55:38 GMT</pubDate>
    <dc:creator>arvindjha2050</dc:creator>
    <dc:date>2019-02-16T11:55:38Z</dc:date>
    <item>
      <title>Rolling Twelve Months</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545345#M40120</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have requirement for Rolling Period in Line Chart&lt;/P&gt;&lt;P&gt;Dimension : Year&lt;/P&gt;&lt;P&gt;Measure : sum(Attrition) for the year / average(employees) for last 12 months&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is the dimension Year where we need to calculate average for rolling last 12 months .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example for Dimension 2019 : Number of employees who left in 2019 / Average of employees for last 12 months(i.e. from Mar 2018 to Feb 2019)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can it be done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 20:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545345#M40120</guid>
      <dc:creator>arvindjha2050</dc:creator>
      <dc:date>2021-12-21T20:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Twelve Months</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545371#M40121</link>
      <description>&lt;P&gt;if you have a date column it will be easier to do so&lt;/P&gt;&lt;P&gt;Please refer the below for reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Documents/Date-Level-Analysis-WTD-MTD-QTD-YTD-Current-Year-Previous-Year/ta-p/1495515" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Documents/Date-Level-Analysis-WTD-MTD-QTD-YTD-Current-Year-Previous-Year/ta-p/1495515&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What do you mean by average of employees here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 07:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545371#M40121</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-16T07:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Twelve Months</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545372#M40122</link>
      <description>&lt;PRE&gt;something similar to below should work Please check the field names once
dimension = year

measure = sum(Attrition)/ (count(Distinct{&amp;lt;date_column={"&amp;gt;=addmonths(today(),-12)  &amp;lt;= today()"}&amp;gt;} Empoyees)/12)&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Feb 2019 07:27:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545372#M40122</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-16T07:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rolling Twelve Months</title>
      <link>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545403#M40123</link>
      <description>&lt;P&gt;Hello Pradosh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work.&lt;/P&gt;&lt;P&gt;I have a date field also , my dimension is Year(DateField).&lt;/P&gt;&lt;P&gt;The problem is for instance when this field has value 2019 it is not able to fetch values of Year 2018 but we want sum of rolling twelve months which in many cases will require data from past year also.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arvind&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 11:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Rolling-Twelve-Months/m-p/1545403#M40123</guid>
      <dc:creator>arvindjha2050</dc:creator>
      <dc:date>2019-02-16T11:55:38Z</dc:date>
    </item>
  </channel>
</rss>

