<?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: 12 month rolling does not work . Please Help!!!! in Visualization and Usability</title>
    <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780564#M36274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing your expression to this:&amp;nbsp; Sum({&amp;lt;SeqMonth= {"&amp;gt;=$(=Max(SeqMonth)- 11)"}&amp;gt;} SalesDollars)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2015 16:48:20 GMT</pubDate>
    <dc:creator>jvitantonio</dc:creator>
    <dc:date>2015-02-24T16:48:20Z</dc:date>
    <item>
      <title>12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780561#M36271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have an issue with trying to display line chart for 12 month rolling. Basically i need to display last 12 month of sales .&lt;/P&gt;&lt;P&gt;For current month i need current month -1 ( we need last month as the Max) and 12 month back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I'm using line chart&lt;/P&gt;&lt;P&gt;2. Measure is SalesDollars&lt;/P&gt;&lt;P&gt;3. I have fields such as: Year_MonthText ( example: 2014-Jan ) , Year_Month ( example: 2014-01) , OrderYear , OrderMonth.&lt;/P&gt;&lt;P&gt;Please help i tried searching for solution and tried every solution out there for some reason graph display one dot and with no sales. It just doesn't work.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what i tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Year_MonthText = {"&amp;gt;=$(=(Max(Year_MonthText)-11))&amp;lt;=$(=Max(Year_MonthText)-1)"} =&amp;gt;}SalesDollars)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---did not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;MonthYear = {“&amp;gt;=$(=Max(MonthYear) – 11)&amp;lt;=$(=Max(MonthYear)-1)”},OrderYear= ,OrderMonth = &amp;gt;} SalesDollars) ---did not work&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;But if i use year field WHICH I DO NOT NEED for this project it Works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;OrderYear= {'&amp;lt;=$(=Max(OrderYear)) &amp;gt;=$(=Max(OrderYear)-1) '}&amp;gt;} SalesDollars)&amp;nbsp;&amp;nbsp; -- Works but i dont need to use year i need 12 month calculation .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help !!! Thank you so much in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 13:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780561#M36271</guid>
      <dc:creator />
      <dc:date>2015-02-24T13:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780562#M36272</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;you can subtract a number to a string (ex: Jan-2015 - 11&amp;nbsp; &amp;lt;---- This doesn't not exist).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For YearMonth, if this is in the format of 201507 (July 2015) this won't work either: 201507 - 11&amp;nbsp; = 201496 &amp;lt;- this date doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, create a sequential month number in the script like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, 12 * YEARFIELD + MONTHFIELD as SeqMonth;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearField and MonthField should be numbers. &lt;/P&gt;&lt;P&gt;This will create a sequential and unique number for each month of the year. You can the do 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;Sum({&amp;lt;SeqMonth= {"&amp;gt;=$(=Max(SeqMonth))&amp;nbsp; - 11)"}&amp;gt;} SalesDollars)&amp;nbsp; &lt;/SPAN&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;BR /&gt;&lt;/SPAN&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;JV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 16:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780562#M36272</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2015-02-24T16:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780563#M36273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt;Thank you for the reply. I tried to do that and it still didnt work i got one dot on chart with no value (0 sales) . &lt;/P&gt;&lt;P&gt;This is what i got in my SeqMonth field after doing &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;12 * YEARFIELD + MONTHFIELD as SeqMonth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I used following script for measure in chart &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;SeqMonth= {"&amp;gt;=$(=Max(SeqMonth))&amp;nbsp; - 11)"}&amp;gt;} SalesDollars) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-02-24 11_39_30-Application_Qlik Sense.png" class="image-1 jive-image" src="/legacyfs/online/78972_2015-02-24 11_39_30-Application_Qlik Sense.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 16:42:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780563#M36273</guid>
      <dc:creator />
      <dc:date>2015-02-24T16:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780564#M36274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try changing your expression to this:&amp;nbsp; Sum({&amp;lt;SeqMonth= {"&amp;gt;=$(=Max(SeqMonth)- 11)"}&amp;gt;} SalesDollars)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 16:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780564#M36274</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2015-02-24T16:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780565#M36275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is Great!!! It worked perfectly! &lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Is it possible with this approach to exclude current month? I want it to be previous month and 12 months back. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780565#M36275</guid>
      <dc:creator />
      <dc:date>2015-02-24T17:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780566#M36276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Sum({&amp;lt;SeqMonth= {"&amp;gt;=$(=Max(SeqMonth)- 11) &amp;lt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;$(=Max(SeqMonth))&lt;/SPAN&gt;"}&amp;gt;} SalesDollars)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:15:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780566#M36276</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2015-02-24T17:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: 12 month rolling does not work . Please Help!!!!</title>
      <link>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780567#M36277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !!! I really appreciate your help. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:17:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Visualization-and-Usability/12-month-rolling-does-not-work-Please-Help/m-p/780567#M36277</guid>
      <dc:creator />
      <dc:date>2015-02-24T17:17:27Z</dc:date>
    </item>
  </channel>
</rss>

