<?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 using where clause in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785970#M471936</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 this for last 3 months&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: 12px; background-color: #ffffee;"&gt;=Sum({&amp;lt;YearFieldName=, QuarterFieldName=, MonthFieldName=, Date={'&amp;gt;=$(=MonthStart(Today(), -2))&amp;lt;=$(=Today())'}&amp;gt;} Sales)&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: 12px; background-color: #ffffee;"&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: 12px; background-color: #ffffee;"&gt;Replace &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;YearFieldName, QuarterFieldName, MonthFieldName fields with your actual Year, Quarter and Month fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YearFieldName=, QuarterFieldName=, MonthFieldName= ignores the selections in the Year, Quarter and Month fields, if you do not have any of this fields remove it from the expression.&amp;nbsp; Even if you select one month it always shows last 3 months because we are ignoring the filters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Use below for Not Fixed First Time and last 3 months&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;[dfft_Fix Time] = {'Not fixed first time'}, YearFieldName=, QuarterFieldName=, MonthFieldName=, Date={'&amp;gt;=$(=MonthStart(Today(), -2))&amp;lt;=$(=Today())'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Feb 2015 02:25:09 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-02-13T02:25:09Z</dc:date>
    <item>
      <title>last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785961#M471927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello All,&lt;/P&gt;&lt;P&gt;i have 13 months of data . i would like to restrict last 3 months of data for a specific graph in the chart and also i have a graph where i have to show last 12 months of data .&lt;/P&gt;&lt;P&gt;i would like to restrict data in to qlikview by using where clause to restrict last 12 months of data&amp;nbsp; and 3 months of data at expression for graphs which require trend analysis for 3 months .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 13:50:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785961#M471927</guid>
      <dc:creator />
      <dc:date>2015-02-11T13:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785962#M471928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 16:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785962#M471928</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-11T16:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785963#M471929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anbu , could you please post the logic . i dont have a licenced qlikview version yet?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 04:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785963#M471929</guid>
      <dc:creator />
      <dc:date>2015-02-12T04:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785964#M471930</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;For last 3 months&lt;/P&gt;&lt;P&gt;In set Analysis try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={"&amp;gt;=$(=Date(Addmonths(max(Date),-3)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for last 12 Months&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date={"&amp;gt;=$(=Date(Addmonths(max(Date),-12)))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 04:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785964#M471930</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-12T04:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785965#M471931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a situation here&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-711331-77612/Capture1.PNG"&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" height="482" src="https://community.qlik.com/legacyfs/online/77700_Capture1.PNG" style="height: auto;" width="330" /&gt;&lt;/A&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-711331-77613/Capture2.PNG"&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" height="286" src="https://community.qlik.com/legacyfs/online/77701_Capture2.PNG" style="height: auto;" width="607" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-711331-77614/capture3.PNG"&gt;&lt;IMG alt="capture3.PNG" class="image-1 jive-image" height="191" src="https://community.qlik.com/legacyfs/online/77702_capture3.PNG" style="width: 620px; height: 122px;" width="968" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;the last image i am using expression to filter "not fixed first time" , but i also need to filter last 3 months in this expression now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; so how to add both conditions in set analysis ,&lt;/P&gt;&lt;P&gt;1. to filter not fixed first time "&lt;/P&gt;&lt;P&gt;2. to restrict them for last 3 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 04:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785965#M471931</guid>
      <dc:creator />
      <dc:date>2015-02-12T04:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785966#M471932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a problem here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77703_Capture1.PNG"&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" height="482" src="https://community.qlik.com/legacyfs/online/77703_Capture1.PNG" style="height: auto;" width="330" /&gt;&lt;/A&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77704_Capture2.PNG"&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" height="286" src="https://community.qlik.com/legacyfs/online/77704_Capture2.PNG" style="height: auto;" width="607" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77705_capture3.PNG"&gt;&lt;IMG alt="capture3.PNG" class="image-1 jive-image" height="191" src="https://community.qlik.com/legacyfs/online/77705_capture3.PNG" style="width: 620px; height: 122px;" width="968" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;the last image i am using expression to filter "not fixed first time" , but i also need to filter last 3 months in this expression now.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;so how to add both conditions in set analysis ,&lt;/P&gt;&lt;P&gt;1. to filter not fixed first time "&lt;/P&gt;&lt;P&gt;2. to restrict them for last 3 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 05:01:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785966#M471932</guid>
      <dc:creator />
      <dc:date>2015-02-12T05:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785967#M471933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Script:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;Year,Month,Sales&lt;BR /&gt;2015,2,50&lt;BR /&gt;2015,1,100&lt;BR /&gt;2014,12,200&lt;BR /&gt;2014,11,150&lt;BR /&gt;2014,10,100 ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final:&lt;BR /&gt;Load *,Autonumber(Year+Month) As YrMthNo Resident Temp Order by Year,Month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Chart:&lt;/STRONG&gt;&lt;BR /&gt;Dimension: Year,Month&lt;BR /&gt;Expr: Sum({&amp;lt;YrMthNo={'$(=Max(YrMthNo))','$(=Max(YrMthNo)-1)','$(=Max(YrMthNo)-2)'}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 07:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785967#M471933</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-02-12T07:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785968#M471934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For restricting last 12 months data use below script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM DataSource&lt;/P&gt;&lt;P&gt;WHERE DateFieldName&amp;gt; MonthStart(Today(), -11) AND DateFieldName &amp;lt;= Today();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In chart to display last 3 months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YearFieldName=, QuarterFieldName=, MonthFieldName=, Date={'&amp;gt;=$(=MonthStart(Today(), -2))&amp;lt;=$(=Today())'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 07:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785968#M471934</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-12T07:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785969#M471935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jagan,&lt;/P&gt;&lt;P&gt;i am getting last 11 months data but&lt;/P&gt;&lt;P&gt; for using 3 months data i am unable to get it . i am unable to unds&lt;/P&gt;&lt;P&gt;YearFieldName=, QuarterFieldName=, MonthFieldName=,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i only have monthfieldname = monthesd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimenions = monthesvd&lt;/P&gt;&lt;P&gt;= enteprise system&lt;/P&gt;&lt;P&gt;i am doing expression on count(enterprise system)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and second question is :&lt;/P&gt;&lt;P&gt;i have a problem here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77718_Capture1.PNG"&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" height="482" src="https://community.qlik.com/legacyfs/online/77718_Capture1.PNG" style="height: auto;" width="330" /&gt;&lt;/A&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77719_Capture2.PNG"&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" height="286" src="https://community.qlik.com/legacyfs/online/77719_Capture2.PNG" style="height: auto;" width="607" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/legacyfs/online/77741_capture3.PNG"&gt;&lt;IMG alt="capture3.PNG" class="image-1 jive-image" height="191" src="https://community.qlik.com/legacyfs/online/77741_capture3.PNG" style="width: 620px; height: 122px;" width="968" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;the last image i am using expression to filter "not fixed first time" , but i also need to filter last 3 months in this expression now.&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;so how to add both conditions in set analysis ,&lt;/P&gt;&lt;P&gt;1. to filter not fixed first time "&lt;/P&gt;&lt;P&gt;2. to restrict them for last 3 months&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2015 12:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785969#M471935</guid>
      <dc:creator />
      <dc:date>2015-02-12T12:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785970#M471936</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 this for last 3 months&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: 12px; background-color: #ffffee;"&gt;=Sum({&amp;lt;YearFieldName=, QuarterFieldName=, MonthFieldName=, Date={'&amp;gt;=$(=MonthStart(Today(), -2))&amp;lt;=$(=Today())'}&amp;gt;} Sales)&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: 12px; background-color: #ffffee;"&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: 12px; background-color: #ffffee;"&gt;Replace &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #ffffee;"&gt;YearFieldName, QuarterFieldName, MonthFieldName fields with your actual Year, Quarter and Month fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YearFieldName=, QuarterFieldName=, MonthFieldName= ignores the selections in the Year, Quarter and Month fields, if you do not have any of this fields remove it from the expression.&amp;nbsp; Even if you select one month it always shows last 3 months because we are ignoring the filters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Use below for Not Fixed First Time and last 3 months&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;[dfft_Fix Time] = {'Not fixed first time'}, YearFieldName=, QuarterFieldName=, MonthFieldName=, Date={'&amp;gt;=$(=MonthStart(Today(), -2))&amp;lt;=$(=Today())'}&amp;gt;} Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #ffffee; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 02:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785970#M471936</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-02-13T02:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785971#M471937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi jagan ,&lt;/P&gt;&lt;P&gt;i am getting an error . while using expression .i have month filed only which&amp;nbsp; is monthesvd and datesvd but i am getting this function as in image 1 .&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78007_Capture2.PNG" style="height: auto;" /&gt;.&lt;/P&gt;&lt;P&gt; this is the below expression i am using , can you please help me correct my expression?&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78012_Capture1.PNG" style="width: 620px; height: 79px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 05:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785971#M471937</guid>
      <dc:creator />
      <dc:date>2015-02-13T05:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785972#M471938</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;Which filter not fixed at first time??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;For last 3 months&lt;/P&gt;&lt;P&gt;In set Analysis try like&lt;/P&gt;&lt;P style="padding: 0px; min-height: 8pt;"&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;Date={"&amp;gt;=$(=Date(Addmonths(max(Date),-3)))&amp;lt;=$(=date(max(Date)))"},[dfft_Fix Time]={"Not fixed first time"}&amp;gt;} [Dfft_Enterprise System])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 05:41:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785972#M471938</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-13T05:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785973#M471939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({&amp;lt;Monthesvd=, Date={'&amp;gt;=$(=MonthStart(Today(), -2)) &amp;lt;=$(=Today())'}&amp;gt;} [esvd_Enterprise_System])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;missed a close bracket..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 06:27:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785973#M471939</guid>
      <dc:creator>renjithpl</dc:creator>
      <dc:date>2015-02-13T06:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785974#M471940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi max ,&lt;/P&gt;&lt;P&gt;i am getting last 4 months of data , i even tried changing from -3 to -2 but it is not changing&lt;/P&gt;&lt;P&gt;please check the images .&lt;IMG alt="Capture2.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78014_Capture2.PNG" style="width: 620px; height: 320px;" /&gt;&lt;IMG alt="Capture1.PNG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78013_Capture1.PNG" style="width: 620px; height: 24px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 07:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785974#M471940</guid>
      <dc:creator />
      <dc:date>2015-02-13T07:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785975#M471941</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;Debug set analysis by following below steps&lt;/P&gt;&lt;P&gt;1)Covert Chart to straight table.&lt;/P&gt;&lt;P&gt;2)Remove Label of expression and press OK&lt;/P&gt;&lt;P&gt;3)Take your arrow to header of that expression and check the date range it is showing in that expression and modify&lt;/P&gt;&lt;P&gt;the expression as per requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 07:08:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785975#M471941</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-02-13T07:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785976#M471942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;it is working thanq&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, 13 Feb 2015 07:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785976#M471942</guid>
      <dc:creator />
      <dc:date>2015-02-13T07:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: last 3 months using where clause</title>
      <link>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785977#M471943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi jagan , after using your expression .&lt;/P&gt;&lt;P&gt;i have many month field names in my excel . right now i am using one specific field at WHERE condition , but some graphs which i am using different month field is giving me last 4 months only . both monthfields are similar and have respective months data in it .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2015 09:37:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/last-3-months-using-where-clause/m-p/785977#M471943</guid>
      <dc:creator />
      <dc:date>2015-02-13T09:37:56Z</dc:date>
    </item>
  </channel>
</rss>

