<?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 3 months in Set Analysis in Line Graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753062#M268332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. Always there to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 01:50:57 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-03-06T01:50:57Z</dc:date>
    <item>
      <title>Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753056#M268326</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 have a Line Graph, where I need to show Last 3 Months (from a Set of 13 Months) Data i.e. Dec-14 , Jan-15,&amp;nbsp; Feb-15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Month/Year field has data n this format: MMM-YY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 22:49:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753056#M268326</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-05T22:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753057#M268327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;mmmy is the month year field&lt;/P&gt;&lt;P&gt;v the measure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {$&amp;lt;mmmy={'$(=date(addmonths(max(date#(mmmy, 'MMM-YY')),-0), 'MMM-YY'))',&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(=date(addmonths(max(date#(mmmy, 'MMM-YY')),-1), 'MMM-YY'))',&lt;/P&gt;&lt;P&gt;&amp;nbsp; '$(=date(addmonths(max(date#(mmmy, 'MMM-YY')),-2), 'MMM-YY'))'&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&amp;gt;} v )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 23:36:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753057#M268327</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-03-05T23:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753058#M268328</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 created a flag in the script to do what you wanted to achieve. See if this is helpful:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; MonthName(Date) as [Month-Year];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, Value&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2014, 90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2014, 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/01/2014, 100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/01/2014, 40&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/01/2014, 80&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03/01/2014, 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04/01/2014, 76&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 04/01/2014, 90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 05/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06/01/2014, 90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 06/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07/01/2014, 57&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 07/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08/01/2014, 90&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 08/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 09/01/2014, 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 09/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2014, 130&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/01/2014, 190&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/01/2014, 180&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12/01/2014, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2015, 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01/01/2015, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/01/2015, 110&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 02/01/2015, 56&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [Month-Year],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Sum(Value) as [Total Value],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(RowNo() &amp;lt; 4, 1, 0) as [3MonthFlag]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [Month-Year]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order By [Month-Year] desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table Table;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line Chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80072_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this look helpful, then PFA the application where I did this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 00:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753058#M268328</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-06T00:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753059#M268329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If a value from the Month Field is selected, the chart is getting populated as per selection. The chart would always show that Last 3 months, irrespective of Selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adding the 'Month = ,' didn't helped. ANy more suggestions please!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 01:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753059#M268329</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-06T01:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753060#M268330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Massimo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the use of Max(Month Field) was not allowing to restrict the display upon field selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed it to like this below:&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;{'&amp;gt;=$(=Max(Monthstart(AddMonths(Today(),-3))) ) &amp;lt;$(=Max(Addmonths(MonthEnd(Today()),-1)))'}&amp;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;&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;Its working and independent of MonthYear selection too.&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;&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;Thank you again!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 01:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753060#M268330</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-06T01:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753061#M268331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunindia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for the help. This helped in achieving my result. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 01:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753061#M268331</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2015-03-06T01:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last 3 months in Set Analysis in Line Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753062#M268332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem. Always there to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a good one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 01:50:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-3-months-in-Set-Analysis-in-Line-Graph/m-p/753062#M268332</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-06T01:50:57Z</dc:date>
    </item>
  </channel>
</rss>

