<?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: Date Calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077010#M932475</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 like this, if you are using this in Load script $ is required otherwise no need of $.&lt;/P&gt;&lt;P&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;expression 1: AddMonhs(MakeDate(vYear), vMonth), -6)&amp;nbsp; // No need of &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;expression 2: MonthEnd(MakeDate(vYear, vMonth), -1)&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;Hope this helps you.&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;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Mar 2016 01:03:55 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2016-03-03T01:03:55Z</dc:date>
    <item>
      <title>Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077008#M932473</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 am trying calculate dates 6 months backward in one expression and one month backward in another expression based on selected variables which are month and year. &lt;/P&gt;&lt;P&gt;The below expressions works fine for any selected month and year above from July to December. When i select any months between Jan and June i am not getting any values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Think the issue is with the year as it is going to year before, i am not sure how to resolve it, any thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression 1: MakeDate(($(vYear)),$(vMonth)-6,01)&lt;/P&gt;&lt;P&gt;expression 2: MonthEnd(MakeDate($(vYear),$(vMonth)-1,01))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109" target="_blank"&gt;jagan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&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/Date-Calculations/m-p/1077008#M932473</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077009#M932474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;expression 1: Addmonths(MakeDate(($(vYear)),$(vMonth),01),-6)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;expression 2: Addmonths(MonthEnd(MakeDate($(vYear),$(vMonth),01)),-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:34:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077009#M932474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-02T18:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077010#M932475</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 like this, if you are using this in Load script $ is required otherwise no need of $.&lt;/P&gt;&lt;P&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;expression 1: AddMonhs(MakeDate(vYear), vMonth), -6)&amp;nbsp; // No need of &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;expression 2: MonthEnd(MakeDate(vYear, vMonth), -1)&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;Hope this helps you.&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;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 01:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077010#M932475</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-03T01:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077011#M932476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:53:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077011#M932476</guid>
      <dc:creator />
      <dc:date>2016-03-03T17:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077012#M932477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Mar 2016 17:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077012#M932477</guid>
      <dc:creator />
      <dc:date>2016-03-03T17:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077013#M932478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you got the answer?&amp;nbsp; If you get the answer please close this thread by giving Correct and Helpful answers to the post which helps you in getting the answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 00:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077013#M932478</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-04T00:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077014#M932479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan Garu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it worked, i am able to mark it as helpful under actions but i cant see any correct answer button?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:31:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077014#M932479</guid>
      <dc:creator />
      <dc:date>2016-03-04T08:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077015#M932480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto this link and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/207916"&gt;Date Calculations&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 08:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Calculations/m-p/1077015#M932480</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2016-03-04T08:56:37Z</dc:date>
    </item>
  </channel>
</rss>

