<?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: Set analysis for rolling twelve months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344167#M127100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use the following set analysis it is working good but I can´t change when the rolling twelve month should starts, it always starts with the last month. I thought that I should use like -1 where the xx is but it doesn´t matter what I do.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;PeriodCounter={"&amp;lt;=$(#=max(PeriodCounter)&lt;SPAN style="color: #ff0000;"&gt;xx&lt;/SPAN&gt;)"}, PeriodCounter={"&amp;gt;=$(#=max(PeriodCounter)-12)"}, Month=, Year=, Quarter=&amp;gt;} CustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one that have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2012 12:25:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-08T12:25:32Z</dc:date>
    <item>
      <title>Set analysis for rolling twelve months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344164#M127097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've problems to get my set analysis working properly good. Se example below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;PeriodCounter={"&amp;gt;$(#=max(PeriodCounter)-13) &amp;lt;=$(#=max(PeriodCounter)-1)"}, Month=, Year=, Quarter=&amp;gt;}CustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So when I've not done any selections everything looks good, see attached picture Chart1. But when I do a selection in the chart for one month the results get really wrong, see attached picture Chart2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one that have a good solution? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;BL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 09:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344164#M127097</guid>
      <dc:creator />
      <dc:date>2012-06-08T09:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for rolling twelve months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344165#M127098</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;It seems that there is one or more fields that are linked to the date that still need to be excluded (selection ignored) in addition to Month, Year and Quarter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344165#M127098</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-06-08T10:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for rolling twelve months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344166#M127099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;I've done something similar before. QV dimensionates metrics. If you add several months in a metric and then dimensionate the metric by the month, it desaggregate again your adding by the month. You can show it in a text box but not in a chart monthly dimensionated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Solutions: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Bring that calculation on the script by looping and groupping those months. &lt;/P&gt;&lt;P&gt;(if they are many subgroups it'll take longer)&lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;Create a calendar in wich every new period encapsulates 12 periods of the regular calendar.&lt;/P&gt;&lt;P&gt;(Creates 12 records per each record of the original calendar) &lt;/P&gt;&lt;P&gt;OR &lt;/P&gt;&lt;P&gt;Make it in a series of text boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculating TAM and BeforeTAM (months -13 to -24) is usually required by clients. I think it's necesary to come up with a suitable solution and post it in this community.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 10:44:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344166#M127099</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2012-06-08T10:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis for rolling twelve months</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344167#M127100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use the following set analysis it is working good but I can´t change when the rolling twelve month should starts, it always starts with the last month. I thought that I should use like -1 where the xx is but it doesn´t matter what I do.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;PeriodCounter={"&amp;lt;=$(#=max(PeriodCounter)&lt;SPAN style="color: #ff0000;"&gt;xx&lt;/SPAN&gt;)"}, PeriodCounter={"&amp;gt;=$(#=max(PeriodCounter)-12)"}, Month=, Year=, Quarter=&amp;gt;} CustomerID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any one that have any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2012 12:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-for-rolling-twelve-months/m-p/344167#M127100</guid>
      <dc:creator />
      <dc:date>2012-06-08T12:25:32Z</dc:date>
    </item>
  </channel>
</rss>

