<?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: AddMonths function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260517#M858992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num# worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Jan 2017 20:54:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-01-31T20:54:21Z</dc:date>
    <item>
      <title>AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260503#M858978</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 have a start date 02/15/2017. I need to add number of months to get the end date. Suppose no of months=12 will give me the end date 02/15/2018. The number of months will come from a field. I know the function AddMonths but it's only working when I am giving the number of months explicitly. &lt;/P&gt;&lt;P&gt;AddMonths(date(Subscription_Start_Date__c),12) is working.&lt;/P&gt;&lt;P&gt;But how do I write the function if the number of months is coming from another field?&lt;/P&gt;&lt;P&gt;AddMonths(date(Subscription_Start_Date__c),Subscription_Duration) doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151306_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&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/AddMonths-function/m-p/1260503#M858978</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260504#M858979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is this used? May be this:&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;&lt;STRONG&gt;AddMonths(Date(Subscription_Start_Date__c), &lt;SPAN style="color: #ff0000;"&gt;Max(&lt;/SPAN&gt;Subscription_Duration&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260504#M858979</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260505#M858980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the script. Gives an error saying invalid expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260505#M858980</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260506#M858981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't see why your original expression won't work in the script. Do you have &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Subscription_Start_Date__c&lt;/STRONG&gt; and &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Subscription_Duration&lt;/STRONG&gt; in one table when you are doing this AddMonths calculation???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260506#M858981</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260507#M858982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151309_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260507#M858982</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260508#M858983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AddMonths(Date#(Subscription_Start_Date__c, 'MM/DD/YYYY'), Subscription_Duration__c)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260508#M858983</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260509#M858984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:32:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260509#M858984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260510#M858985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you paste the screenshot of the error you have received&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:36:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260510#M858985</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260511#M858986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Writing the max function is giving error while reloading the script 'Invalid expression'. Omitting the max function, the field 'test' is not displaying any values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151318_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/151319_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:44:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260511#M858986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260512#M858987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌can you run your script without this and send a screenshot for the Subscription_Start_Date__c field.... seems like QlikView doesn't interpret as a date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:47:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260512#M858987</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260513#M858988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Date function to convert it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/151320_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:52:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260513#M858988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260514#M858989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand.... this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(AddMonths(Subscription_Start_Date__c, Subscription_Duration__c)) as test&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260514#M858989</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-30T23:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260515#M858990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2017 23:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260515#M858990</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-30T23:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260516#M858991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Subscription_Duration__c&lt;/STRONG&gt; a number field is the last thing I can ask you to check.... otherwise I have no idea... Unless you are able to share a sample, I have no idea why it isn't working &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Date(AddMonths(Subscription_Start_Date__c, (Subscription_Duration__c * 1))) as test&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 00:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260516#M858991</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-31T00:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260517#M858992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;num# worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jan 2017 20:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1260517#M858992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-31T20:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: AddMonths function</title>
      <link>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1725467#M858993</link>
      <description>&lt;P&gt;You are trying to use a field (with the __C)&amp;nbsp; that's been renamed. Try using [Subscription Start Date] instead in your AddMonths statement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 16:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AddMonths-function/m-p/1725467#M858993</guid>
      <dc:creator>martinscottquinn</dc:creator>
      <dc:date>2020-07-06T16:33:30Z</dc:date>
    </item>
  </channel>
</rss>

