<?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: MonthYear in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85103#M511472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried with this one but is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;=$(=MonthStart(Min(Date((MonthYear),'MMM-YYYY'),-12)) &amp;lt;=$(=MonthEnd(Max(Date((MonthYear),'MMM-YYYY'),-12))"} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2018 10:27:35 GMT</pubDate>
    <dc:creator>qlikviewaf</dc:creator>
    <dc:date>2018-02-12T10:27:35Z</dc:date>
    <item>
      <title>MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85099#M511468</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 have as dimension of my data-set the &lt;STRONG&gt;MonthYear&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to select 3 Months &lt;STRONG&gt;Nov-2017, Dec-2017, Jan-2018 (expression A)&lt;/STRONG&gt; and then based on this selection have the possibility to compare with the same month of the prior year-&amp;gt; &lt;STRONG&gt;Nov-2016, Dec-2016, Jan-2017 (expression B).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression A is really simple Sum(Amount)&lt;/P&gt;&lt;P&gt;How i can build the expression B?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:54:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85099#M511468</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2018-02-12T09:54:27Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85100#M511469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a dimension with the Year?&lt;/P&gt;&lt;P&gt;Then you can do something like that : sum({&amp;lt;Year={$(=Year-1)}&amp;gt;}Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 09:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85100#M511469</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-02-12T09:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85101#M511470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried but doenst work since some months belongs to different year (maybe)&lt;/P&gt;&lt;P&gt;The month-year is linked also to the year, but i assume i have to reduce 12 month based on the month-year selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85101#M511470</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2018-02-12T10:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85102#M511471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&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;&lt;STRONG&gt;Date&lt;/STRONG&gt;={"&amp;gt;=$(=MonthStart(Min(Date),-12)) &amp;lt;=$(=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MonthEnd(Max(Date),-12))"&lt;/SPAN&gt;}&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:08:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85102#M511471</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-12T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85103#M511472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i tried with this one but is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year={"&amp;gt;=$(=MonthStart(Min(Date((MonthYear),'MMM-YYYY'),-12)) &amp;lt;=$(=MonthEnd(Max(Date((MonthYear),'MMM-YYYY'),-12))"} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85103#M511472</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2018-02-12T10:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85104#M511473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made a correction above. You have to use Date field in the set analysis comparison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:31:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85104#M511473</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-12T10:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85105#M511474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;probably i'm missing something - i attecched the qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selecting dec-17 and jan-18 i expect to have: 197 as "Sales Selected" and 218 as "sales minus 12 months"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you kindly check what i'm doing wrong?&lt;BR /&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:45:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85105#M511474</guid>
      <dc:creator>qlikviewaf</dc:creator>
      <dc:date>2018-02-12T10:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85106#M511475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you are using MonthYear field, you have to use formatting to match it's formatting. Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(vExcludeInstrumentSales,sum({&amp;lt;MonthYear={"&amp;gt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthStart(Min(Invoice_Date_Num),-12),&lt;STRONG&gt;'MMM-YYYY'&lt;/STRONG&gt;)) &amp;lt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthEnd(Max(Invoice_Date_Num),-12),&lt;STRONG&gt;'MMM-YYYY'&lt;/STRONG&gt;))"},Area-={'Area-not-available'},Country_Desc={'Italy'}&amp;gt;}ExtendedOriginal),Sum({&amp;lt;MonthYear={"&amp;gt;=$(=&lt;STRONG&gt;date&lt;/STRONG&gt;(MonthStart(Min(Invoice_Date_Num),-12),&lt;STRONG&gt;'MMM-YYYY'&lt;/STRONG&gt;)) &amp;lt;=$(=&lt;STRONG&gt;Date&lt;/STRONG&gt;(MonthEnd(Max(Invoice_Date_Num),-12),&lt;STRONG&gt;'MMM-YYYY'&lt;/STRONG&gt;))"},Area-={'Area-not-available'},Item_Category={$(vNoInstruments)},Country_Desc={'Italy'}&amp;gt;}ExtendedOriginal))/1000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 10:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85106#M511475</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-12T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: MonthYear</title>
      <link>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85107#M511476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you marked your reply as correct by mistake. Mark the right one so that people looking for similar solution don't get confused and I get rewarded. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2018 11:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MonthYear/m-p/85107#M511476</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-02-12T11:19:43Z</dc:date>
    </item>
  </channel>
</rss>

