<?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 Current Date minus 13 month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783745#M537306</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 am struggling with writing an expression that would display current month (as a default selection) and then the formula would need also subtract 13 month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimensions are: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Time_Period (2014-01, 2014-02 etc) &lt;/LI&gt;&lt;LI&gt;Measure: Sales&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help! &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>Thu, 06 Nov 2014 16:15:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-06T16:15:29Z</dc:date>
    <item>
      <title>Current Date minus 13 month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783745#M537306</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 am struggling with writing an expression that would display current month (as a default selection) and then the formula would need also subtract 13 month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Dimensions are: &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Time_Period (2014-01, 2014-02 etc) &lt;/LI&gt;&lt;LI&gt;Measure: Sales&amp;nbsp; &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help! &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>Thu, 06 Nov 2014 16:15:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783745#M537306</guid>
      <dc:creator />
      <dc:date>2014-11-06T16:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current Date minus 13 month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783746#M537307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you'll have to adapt to your dimensions but it could be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;MonthYear = {'$(=Monthname(today(), -13))'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;besides you'll need to ignore in set analysis any time field that could interfere in the calculation (specially if these fields are visible to end users) like: date=, month=, year=, week=, quarter= and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 16:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783746#M537307</guid>
      <dc:creator>jaimeaguilar</dc:creator>
      <dc:date>2014-11-06T16:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Current Date minus 13 month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783747#M537308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;MonthYear = {"&amp;gt;=$(=Date(AddMonths(Date#(Max(MonthYear),'YYYY-MM'),-13),'YYYY-MM'))&amp;lt;=$(=Date#(Max(MonthYear),'YYYY-MM'))"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 16:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Date-minus-13-month/m-p/783747#M537308</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-06T16:23:14Z</dc:date>
    </item>
  </channel>
</rss>

