<?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: Select moore months in Set Analys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259198#M849826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or just &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PeriodID={"&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=Max(PeriodID) - 12)&lt;/SPAN&gt; as i suggested above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;$(=Max(PeriodID)) is a given, assuming of course you meant to write &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;&lt;STRONG&gt;=&lt;/STRONG&gt;$(=Max(PeriodID))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 10:34:44 GMT</pubDate>
    <dc:creator>adamdavi3s</dc:creator>
    <dc:date>2017-03-09T10:34:44Z</dc:date>
    <item>
      <title>Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259191#M849819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is it possible to get this?&lt;/P&gt;&lt;P&gt;If I select a year and lets say febr and mars&amp;nbsp; and get the result for the same months in a set analysis like this?&lt;/P&gt;&lt;P&gt;this is what I have stored in a variable for Last Year Month Today and of course I only get the last mont in my selection.&lt;/P&gt;&lt;P&gt;Can I change it in some way to get the two selected months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PeriodID = {$(=Max(PeriodID) - 12)},&lt;/P&gt;&lt;P&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Period = ,&lt;/P&gt;&lt;P&gt;Month = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259191#M849819</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259192#M849820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK so you're selecting Year and Month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;PeriodID={"&amp;gt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;$(=Max(PeriodID) - 12)&lt;/SPAN&gt;"&lt;SPAN style="font-size: 10pt;"&gt;}&amp;gt;}yourfield)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as this will in theory show all 12 months, but because you've selected month it will restrict it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I have missed the point the requirement isn't totally clear to me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259192#M849820</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T10:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259193#M849821</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'm not sure if I understand your case correctly but If you just want to show value for selected months from the year before theoretically you don't have to use PeriodID. That should be enough:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=Max(Year)-1)}&amp;gt;} Field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you select Year and Jan,Mar you will get sum from Jan and Mar from the last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Milosz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259193#M849821</guid>
      <dc:creator />
      <dc:date>2017-03-09T10:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259194#M849822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I choose like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Calend.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/155726_Calend.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I get only the value of mars in LYMTD when I use this, it works fine when you select only one&lt;/P&gt;&lt;P&gt;mont but not if you select more months.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID = {$(=Max(PeriodID) - 12)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month =&lt;/P&gt;&lt;P&gt;&lt;IMG alt="MTD.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/155727_MTD.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259194#M849822</guid>
      <dc:creator />
      <dc:date>2017-03-09T10:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259195#M849823</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;Try This Expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;CstFiscalYear={$(=max(CstFiscalYear)-1)}&amp;gt;}UnitActual)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont use period &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PeriodID&lt;/SPAN&gt; in your expression..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:29:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259195#M849823</guid>
      <dc:creator>hemachandran</dc:creator>
      <dc:date>2017-03-09T10:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259196#M849824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok what is your formula for LYMTD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:30:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259196#M849824</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T10:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259197#M849825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a period range &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID = {"&amp;gt;=$(=Max(PeriodID) - 12)&amp;lt;$(=Max(PeriodID))"}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year =,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;hth&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259197#M849825</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-09T10:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259198#M849826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or just &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;PeriodID={"&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=Max(PeriodID) - 12)&lt;/SPAN&gt; as i suggested above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;$(=Max(PeriodID)) is a given, assuming of course you meant to write &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;lt;&lt;STRONG&gt;=&lt;/STRONG&gt;$(=Max(PeriodID))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:34:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259198#M849826</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T10:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259199#M849827</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'm not sure i got your point correctly, means you want to show rolling 12 months?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;cal_yr=,cal_month_abr_name=,cal_prd=,cal_prd_seq ={"&amp;lt;=$(=max(cal_prd_seq)) &amp;gt;$(=max(cal_prd_seq)-12) "},&lt;/P&gt;&lt;P&gt;&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Neha S.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:35:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259199#M849827</guid>
      <dc:creator>neha_shirsath</dc:creator>
      <dc:date>2017-03-09T10:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259200#M849828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In fact why not ditch the period totally, you don't need anything for it at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID =,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month =&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259200#M849828</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T10:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259201#M849829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My intention is to show the values for febr and mars 2016 in MTD (works fine) and&lt;/P&gt;&lt;P&gt;the values for febr and mars 2015 in LYMTD.&lt;/P&gt;&lt;P&gt;The calculation for MTD is&amp;nbsp;&amp;nbsp; Sum( $(vNettoFörs)) and for the same period last year&lt;/P&gt;&lt;P&gt; Sum({$&amp;lt;$(vSetLYMTD)&amp;gt;} $(vNettoFörs)) where my values in vSetLYMTD is&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID = {$(=Max(PeriodID) - 12)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But in this case I get the value for mars 2015 not febr and mars 2015.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Håkan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:43:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259201#M849829</guid>
      <dc:creator />
      <dc:date>2017-03-09T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259202#M849830</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;Alter your variable add &amp;gt;=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vSetLYMTD is&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID = {"&amp;gt;=$(=Max(PeriodID) - 12)"},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Month =&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:47:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259202#M849830</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-03-09T10:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259203#M849831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as I said above.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you don't NEED that periodID set! Gah! Come on!! its already a given based on the year (Again as I said above)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vSetLYMTD is&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;PeriodID = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Year = {$(=Max(Year)-1)},&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Quarter = ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Period = &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;edited to remove month thanks &lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.qlik.com/people/mgrabara_bpx"&gt;mgrabara_bpx&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259203#M849831</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259204#M849832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case do I get the whole 2015&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259204#M849832</guid>
      <dc:creator />
      <dc:date>2017-03-09T11:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259205#M849833</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;Do you people even read anothers posts or just gathering points? This community is getting worse and worse.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Håkan - please check my expression, that should solve your problem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam Davies - this won't work because you disregarded "Month" so &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Håkan&lt;/SPAN&gt; selection over months will be ommitted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Milosz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259205#M849833</guid>
      <dc:creator />
      <dc:date>2017-03-09T11:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259206#M849834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Milosz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your answer actually has exactly the same result at the original answer I posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({&amp;lt;PeriodID={"&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(=Max(PeriodID) - 12)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&amp;gt;}yourfield)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Its just a slightly different way of doing it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;There are many different ways of doing this, however you are correct in that month should not have been included in my answer, thank you for spotting that&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259206#M849834</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T11:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259207#M849835</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;Adam I agree with your solution but only when PeriodID is unique for year and month and going from "1 to n". I assumed that in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Håkan&lt;/SPAN&gt;'s data it can be for example from 1 to 12 for every year repeating. But we don't know that actually. &lt;SPAN style="font-size: 10pt;"&gt;I think he could try both methods and check if values are correct.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Milosz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259207#M849835</guid>
      <dc:creator />
      <dc:date>2017-03-09T11:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259208#M849836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Totally agree Milosz, without knowing the exact setup it is possible to have many different answers which leads to a lot of ambiguity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. I also agree with your comment re the community, I remember a time when you could help someone out without 43 other people jumping in to give the same answer. Its the points system IMHO it breeds this bad behaviour&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259208#M849836</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-09T11:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Select moore months in Set Analys</title>
      <link>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259209#M849837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Miloz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you are correct, this is the right answer, I misspelled when I tried it&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/blush.png" /&gt;&lt;/P&gt;&lt;P&gt;Now it works fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 12:32:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Select-moore-months-in-Set-Analys/m-p/1259209#M849837</guid>
      <dc:creator />
      <dc:date>2017-03-09T12:32:04Z</dc:date>
    </item>
  </channel>
</rss>

