<?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: Set Analysis Date Range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31334#M780349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There might be more scenarios, but if your variable is not declared with an equal sign... you would need the first dollar sign expansion to evaluate your variable.... once that is done... you would need the second one to evaluate within your set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Mar 2018 12:56:27 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-03-29T12:56:27Z</dc:date>
    <item>
      <title>Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31314#M780322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to compare a customer's quantity sold by part for the previous 6 months versus the company.&amp;nbsp; I have the date range code no problem.&amp;nbsp; But I'm having trouble with the set analysis to force the 6 months.&amp;nbsp; I am attempting to use a variable named v6MonthStart (inappropriately named) in the set analysis.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable is defined as this:&lt;/P&gt;&lt;P&gt;'&amp;gt;=' &amp;amp; date(monthStart(addmonths(Today(),-6))) &amp;amp; ' &amp;lt;=' &amp;amp; date(MonthEnd(addmonths(Today(),-1)))&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;which produces this as desired.&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt;=9/1/2017 &amp;lt;=2/28/2018 (verified via text box).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression labeled Company 6 Months Average is:&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Date={$(v6MonthStart)}&amp;gt;} [Invoice Qty]) / 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting no data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suggestions please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31314#M780322</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31315#M780323</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.&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;Date={"$(v6MonthStart)"}&amp;gt;} [Invoice Qty]) / 6&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;Regards,&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;Kaushik Solanki&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 11:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31315#M780323</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2018-03-29T11:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31316#M780324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;=Sum({$&amp;lt;Date={"=$(=$(v6MonthStart))"}&amp;gt;} [Invoice Qty]) / 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31316#M780324</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31317#M780325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or one of these&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;&lt;STRONG&gt;=Sum({$&amp;lt;Date={"$(&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;v6MonthStart)"}&amp;gt;} [Invoice Qty]) / 6&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=Sum({$&amp;lt;Date={"$(&lt;SPAN style="color: #ff0000;"&gt;=$(&lt;/SPAN&gt;v6MonthStart&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;)"}&amp;gt;} [Invoice Qty]) / 6&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31317#M780325</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31318#M780326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suresh -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think the syntax is right with an equal sign before the dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({$&amp;lt;Date={"&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;=&lt;/SPAN&gt;$(=$(v6MonthStart))"}&amp;gt;} [Invoice Qty]) / 6&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31318#M780326</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31319#M780327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it working in my current app sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31319#M780327</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31320#M780328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share an example file where this is working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31320#M780328</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31321#M780329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this one am using without any issues&lt;/P&gt;&lt;P&gt;count({&amp;lt;Flag={2},DateNum={"=$(=$(vMaxdate))"},ID={'NA'}&amp;gt;}Op_ID)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31321#M780329</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31322#M780330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one produced a number.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Date={"$(=$(v6MonthStart))"}&amp;gt;} [Invoice Qty]) / 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ended up going with this to force all customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Date={"$(=$(v6MonthStart))"}, [Bill To Company]=&amp;gt;} [Invoice Qty]) / 6&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:10:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31322#M780330</guid>
      <dc:creator>cranium144</dc:creator>
      <dc:date>2018-03-29T12:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31323#M780331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will test out and see what I find. Thanks buddy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:10:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31323#M780331</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31324#M780332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;only with variable the result i can show you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i used in kpi object&amp;nbsp;&amp;nbsp;&amp;nbsp; count({&amp;lt;datenum=variable&amp;gt;})&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="197903" alt="var.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197903_var.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:15:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31324#M780332</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31325#M780333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just because you see a number, it doesn't mean the expression is right... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let me check and get back to you in a little bit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:19:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31325#M780333</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31326#M780334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay sunny check from your end give me some suggestions on this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31326#M780334</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31327#M780335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is what I am seeing in QlikView... not sure if Qlik Sense is different... but will test the same thing in Qlik Sense next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197905_Capture.PNG" style="height: 241px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I add the equal sign... I am seeing all rows and not just the max date row. This is true if I use direct expression or variable with or without equal sign in the variable definition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31327#M780335</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31328#M780337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seeing similar issue in Qlik Sense....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197906_Capture.PNG" style="height: 243px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31328#M780337</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31329#M780338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please tell me the difference between two expression above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31329#M780338</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2018-03-29T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31330#M780340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just depends on how the variable is declared..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If for example the variable is&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;STRONG&gt;'&amp;gt;=' &amp;amp; date(monthStart(addmonths(Today(),-6))) &amp;amp; ' &amp;lt;=' &amp;amp; date(MonthEnd(addmonths(Today(),-1)))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you would need double dollar sign expansion&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;Date={"$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=$(&lt;/SPAN&gt;v6MonthStart&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;)&lt;/SPAN&gt;)"}&amp;gt;} [Invoice Qty]) / 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the variable is&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'&amp;gt;=' &amp;amp; date(monthStart(addmonths(Today(),-6))) &amp;amp; ' &amp;lt;=' &amp;amp; date(MonthEnd(addmonths(Today(),-1)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you would need this&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Sum({$&amp;lt;Date={"$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;=&lt;/SPAN&gt;v6MonthStart)"}&amp;gt;} [Invoice Qty]) / 6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tested it in the above scenario, but that is what I think should work....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31330#M780340</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31331#M780343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would be grateful to you if you can tell me the scenario where double dollar sign is used .It is asked in my interview questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31331#M780343</guid>
      <dc:creator>manu1512</dc:creator>
      <dc:date>2018-03-29T12:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31332#M780345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if variable value is with "="&amp;nbsp;&amp;nbsp; in the expression&amp;nbsp; "=" is not required ?&amp;nbsp; could you please explain this sunny?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:52:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31332#M780345</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2018-03-29T12:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Date Range</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31333#M780346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I understand your question....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range/m-p/31333#M780346</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-03-29T12:55:23Z</dc:date>
    </item>
  </channel>
</rss>

