<?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 Sales Last 12 Months in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144357#M23304</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jsn,&lt;/P&gt;&lt;P&gt;Thanks for your Help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shideh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 13:09:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-05-19T13:09:10Z</dc:date>
    <item>
      <title>Sales Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144355#M23302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;I have a formula in Pivotable, which is correctly however it need to much time for the result.&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;Is there any other formula to same result with few time&lt;/P&gt;&lt;P&gt;my formula is:&lt;/P&gt;&lt;P&gt;sum(all&amp;lt;[Calender Year Month]&amp;gt; if(&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,0) or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-1) or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-2) or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-3)or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-4)or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-5) or&lt;BR /&gt; InMonthToDate([Calender Year Month],Vmax,-6)or&lt;BR /&gt;InMonthToDate([Calender Year Month],Vmax,-7)or&lt;BR /&gt;InMonthToDate([Calender Year Month],Vmax,-8)or&lt;BR /&gt;InMonthToDate([Calender Year Month],Vmax,-9)or&lt;BR /&gt;InMonthToDate([Calender Year Month],Vmax,-10)or&lt;BR /&gt;InMonthToDate([Calender Year Month],Vmax,-11)&lt;BR /&gt;,Billing_Header.Billing_Header.Net_Value_Inv))&lt;/P&gt;&lt;P&gt;Vmax is variable&lt;/P&gt;&lt;P&gt;Vmax = Monthname(max([Calender Year Month]))&lt;/P&gt;&lt;P&gt;i click on 2008 JULY i become result as follows:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;August 2007 100&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;September 2007 150&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;October 2007 180&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;November 2007 185&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;December 2007 129&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;January 2008 157&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;February 2008 147&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;March 2008 198&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;April 2008 247&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;May 2008 258&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;June 2008 292&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt;"&gt;July 2008 178&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 20:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144355#M23302</guid>
      <dc:creator />
      <dc:date>2009-05-18T20:24:28Z</dc:date>
    </item>
    <item>
      <title>Sales Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144356#M23303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shideh,&lt;/P&gt;&lt;P&gt;Set analysis is your friend for this.&lt;/P&gt;&lt;P&gt;Basically something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum(&lt;/STRONG&gt; {1&amp;lt;Year = {"&amp;gt;1978&amp;lt;2004"}&amp;gt;} Sales &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Instead of hard coding 1978 and 2004 you want to pick out the selected value, 2008 July, (or rather the underlying date value).&lt;/P&gt;&lt;P&gt;For the lower bound of the range you can use the date value in combination with addmonths() to subtract 12 months from the selected period thus giving you a range from 12 months back up until the selected value. There are examples of how to do a range selection with set analysis on the forums.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 00:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144356#M23303</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-05-19T00:15:22Z</dc:date>
    </item>
    <item>
      <title>Sales Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144357#M23304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jsn,&lt;/P&gt;&lt;P&gt;Thanks for your Help.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shideh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 13:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144357#M23304</guid>
      <dc:creator />
      <dc:date>2009-05-19T13:09:10Z</dc:date>
    </item>
    <item>
      <title>Sales Last 12 Months</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144358#M23305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jsn,&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;I have a formula in Pivotable for the L12 Month :&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;Sum({1&amp;lt;[Kalender.Kalender.Eindeutiger Monat]= {"$(='&amp;lt;='&amp;amp;Only([Kalender.Kalender.Eindeutiger Monat])&amp;amp;'&amp;gt;'&amp;amp;Only(date(addmonths([Kalender.Kalender.Eindeutiger Monat],-12),'MMM-YYYY')))"} &amp;gt;} Billing_Header.Billing_Header.Net_Value_Inv)&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;It works Ok, but when i filter for just one Customer, it show the same value as for all Customer.&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;i remove 1 and replace with $. it show just one Month not L12 Month. the value is just for one Month&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;i select in Calender 2009 March for the Sales of Last 12 Month (March-2009). i will see the April-2008 to March 2009&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;see blow (the formular exclude 1)&lt;/P&gt;&lt;P style="background:#cedefd;margin:0cm 0cm 0pt;"&gt;Sum({$&amp;lt;[Kalender.Kalender.Eindeutiger Monat]= {"$(='&amp;lt;='&amp;amp;Only([Kalender.Kalender.Eindeutiger Monat])&amp;amp;'&amp;gt;'&amp;amp;Only(date(addmonths([Kalender.Kalender.Eindeutiger Monat],-12),'MMM-YYYY')))"} &amp;gt;} Billing_Header.Billing_Header.Delivery_Charges)&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;March-2009 180&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;do you have other Idea?&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;Best regards,&lt;/P&gt;&lt;P style="background:#cedefd;"&gt;Shideh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 13:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-Last-12-Months/m-p/144358#M23305</guid>
      <dc:creator />
      <dc:date>2009-05-20T13:40:39Z</dc:date>
    </item>
  </channel>
</rss>

