<?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 query in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086673#M929499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that doesnt work but i think its because my month field is in the number format. i.e. &lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 11:28:06 GMT</pubDate>
    <dc:creator>hopkinsc</dc:creator>
    <dc:date>2016-03-16T11:28:06Z</dc:date>
    <item>
      <title>addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086669#M929490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i cant get something working. &lt;/P&gt;&lt;P&gt;If a user was to select a fiscal year of 2016, then i want the text box to show the sum(sales) but for the previous year but the following month based on todays date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Fiscal Year]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=max([Fiscal Year])-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(=Date(Date#(Month(today())+1, 'MM'),'MMM'))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;[Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;Can anyone help? &lt;/SPAN&gt;&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-query/m-p/1086669#M929490</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086670#M929492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;May be this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-family: arial, helvetica, sans-serif; font-size: 10pt;"&gt;&lt;STRONG&gt;=Sum({&amp;lt;[Fiscal Year] = {$(=Max([Fiscal Year])-1)}, Month={'$(&lt;SPAN style="color: #ff0000;"&gt;=Month(AddMonths(Today(), 1))&lt;/SPAN&gt;)'}&amp;gt;} Sales&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #575757; font-size: 10pt; font-family: arial, helvetica, sans-serif;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086670#M929492</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086671#M929495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you check this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/81392"&gt;Current Month v. Same Month Last Year&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086671#M929495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-16T11:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086672#M929498</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&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;[Fiscal Year] = {$(=Max([Fiscal Year])-1)}, Month={'$(=Month(AddMonths(Today(), 1)))'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:13:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086672#M929498</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-16T11:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086673#M929499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that doesnt work but i think its because my month field is in the number format. i.e. &lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;etc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086673#M929499</guid>
      <dc:creator>hopkinsc</dc:creator>
      <dc:date>2016-03-16T11:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086674#M929500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try 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;=Sum({&amp;lt;[Fiscal Year] = {$(=Max([Fiscal Year])-1)}, Month={'$(=&lt;SPAN style="color: #ff0000;"&gt;Num(&lt;/SPAN&gt;Month(AddMonths(Today(), 1))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)'}&amp;gt;} Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086674#M929500</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T11:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086675#M929501</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;Then Change &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Month to Number by using Num() function&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086675#M929501</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-16T11:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: addmonths query</title>
      <link>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086676#M929502</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;Sunny is too fast to reply &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please follow sunny suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/addmonths-query/m-p/1086676#M929502</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2016-03-16T11:34:43Z</dc:date>
    </item>
  </channel>
</rss>

