<?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: Problem with rolling months on total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903266#M314153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if you copy the set analysis expression to the total calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;year=,PeriodDate={"&amp;gt;=$(=AddMonths(Max(PeriodDate),-12)) &amp;lt;=$(=Max(PeriodDate))"}&amp;gt;} CValue)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Sum( total &amp;lt;PeriodDate&amp;gt;&lt;STRONG&gt; {&amp;lt;year=,PeriodDate={"&amp;gt;=$(=AddMonths(Max(PeriodDate),-12)) &amp;lt;=$(=Max(PeriodDate))"}&amp;gt;}&lt;/STRONG&gt;CValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 15:48:50 GMT</pubDate>
    <dc:creator>cesaraccardi</dc:creator>
    <dc:date>2015-05-21T15:48:50Z</dc:date>
    <item>
      <title>Problem with rolling months on total</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903265#M314152</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;&lt;/P&gt;&lt;P&gt;I need to calculate a market share for a group of products for each month and I'm using a formula like this:&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;year=,PeriodDate={"&amp;gt;=$(=AddMonths(Max(PeriodDate),-12)) &amp;lt;=$(=Max(PeriodDate))"}&amp;gt;} CValue)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Sum( total &amp;lt;PeriodDate&amp;gt; CValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two dimensions, PeriodDate + the group of products, that's why I need the the total part.&lt;/P&gt;&lt;P&gt;The problem is on the underlined part: I'd need it to have the total for each month but it keeps showing me the total only for the last month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you guys have any suggestion? That would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lucia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 10:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903265#M314152</guid>
      <dc:creator />
      <dc:date>2015-05-21T10:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with rolling months on total</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903266#M314153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if you copy the set analysis expression to the total calculation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;year=,PeriodDate={"&amp;gt;=$(=AddMonths(Max(PeriodDate),-12)) &amp;lt;=$(=Max(PeriodDate))"}&amp;gt;} CValue)&lt;/P&gt;&lt;P&gt;/&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; text-decoration: underline;"&gt;Sum( total &amp;lt;PeriodDate&amp;gt;&lt;STRONG&gt; {&amp;lt;year=,PeriodDate={"&amp;gt;=$(=AddMonths(Max(PeriodDate),-12)) &amp;lt;=$(=Max(PeriodDate))"}&amp;gt;}&lt;/STRONG&gt;CValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 15:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903266#M314153</guid>
      <dc:creator>cesaraccardi</dc:creator>
      <dc:date>2015-05-21T15:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with rolling months on total</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903267#M314154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The total qualifier only gives you the selected month, could your issue be related to that ? &lt;/P&gt;&lt;P&gt;the following post give more details into using total &lt;A href="https://community.qlik.com/qlik-blogpost/3285"&gt;The Aggregation Scope&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 15:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903267#M314154</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-05-21T15:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with rolling months on total</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903268#M314155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Cesar,&lt;/P&gt;&lt;P&gt;this was exactly the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 17:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-rolling-months-on-total/m-p/903268#M314155</guid>
      <dc:creator />
      <dc:date>2015-05-21T17:00:31Z</dc:date>
    </item>
  </channel>
</rss>

