<?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: Last 13 months Sales in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809269#M1024393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a variable. Example&amp;nbsp; &lt;STRONG&gt;vCustomDate = Date(AddMonths(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Reporting_Date,-13&lt;/SPAN&gt;)).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) write expression as&amp;nbsp; &lt;STRONG&gt;= Sum({&amp;lt;Reporting_Date='&amp;gt;=$(=vCustomDate)&amp;lt;=Reporting_Date'&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2015 11:54:55 GMT</pubDate>
    <dc:creator>timanshu</dc:creator>
    <dc:date>2015-03-16T11:54:55Z</dc:date>
    <item>
      <title>Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809268#M1024392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have the Sum(Sales) for last 13 months including current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My filter name - MonthYear&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script looks like this for Date fields&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MonthEnd(Date#(Reporting_Date,'YYYYMM')) as Reporting_Date,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Date#(Reporting_Date,'YYYYMM')) &amp;amp; ' '&amp;nbsp; &amp;amp; PurgeChar(year(Date#(Reporting_Date,'YYYYMM')),'20') as MonthYear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find my application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on MonthYear selection I should get for last 13 months including current month.&lt;/P&gt;&lt;P&gt;Right now I have Sep14 ony, but tonight I will get total data. So I need to put expression before reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 11:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809268#M1024392</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-03-16T11:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809269#M1024393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Create a variable. Example&amp;nbsp; &lt;STRONG&gt;vCustomDate = Date(AddMonths(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Reporting_Date,-13&lt;/SPAN&gt;)).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) write expression as&amp;nbsp; &lt;STRONG&gt;= Sum({&amp;lt;Reporting_Date='&amp;gt;=$(=vCustomDate)&amp;lt;=Reporting_Date'&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 11:54:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809269#M1024393</guid>
      <dc:creator>timanshu</dc:creator>
      <dc:date>2015-03-16T11:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809270#M1024394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess in Expression, we have syntax error,&lt;/P&gt;&lt;P&gt;Could you please correct it? I am not able to get it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 12:05:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809270#M1024394</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-03-16T12:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809271#M1024395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the Format of MonthYear and Reporting_Date?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 13:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809271#M1024395</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-16T13:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809272#M1024396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MonthEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Date#&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Reporting_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'YYYYMM')) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Reporting_Date&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 14:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809272#M1024396</guid>
      <dc:creator>priyarane</dc:creator>
      <dc:date>2015-03-16T14:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809273#M1024397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MonthYear?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 14:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809273#M1024397</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-16T14:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last 13 months Sales</title>
      <link>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809274#M1024398</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;Something like this should do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Reporting_Date={"&amp;gt;=$(=AddMonths(Max(Reporting_Date), -13))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2015 14:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-13-months-Sales/m-p/809274#M1024398</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-16T14:45:15Z</dc:date>
    </item>
  </channel>
</rss>

