<?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: Issue in expression with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269407#M399466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be ignore selection in Month field&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;TDATE={"&amp;gt;=$(=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vStart &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;lt; $(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vEnd&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)"}, &lt;SPAN style="color: #ff0000;"&gt;MonthField&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jan 2017 13:17:47 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-01-18T13:17:47Z</dc:date>
    <item>
      <title>Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269405#M399464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created 2 variables as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vStart =date(MonthStart( AddMonths(Max(TDATE),-6)))&lt;/P&gt;&lt;P&gt;vEnd&amp;nbsp;&amp;nbsp; =date(MonthEnd( AddMonths(Max(TDATE),-1)))&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use these variables to calculate last 6 months data in below expression. However it does not calculate.&lt;/P&gt;&lt;P&gt;It gives the result of the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum(&amp;nbsp; {&amp;lt;TDATE={"&amp;gt;=$(=&lt;SPAN style="font-size: 13.3333px;"&gt;vStart &lt;/SPAN&gt;)&amp;lt; $(=&lt;SPAN style="font-size: 13.3333px;"&gt;vEnd&lt;/SPAN&gt;)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to change any format of date or do any modifications in above expression or variable definition?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269405#M399464</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-18T13:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269406#M399465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your variable definition already contains the leading equal sign, try&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;nbsp; {&amp;lt;TDATE={"&amp;gt;=$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vStart &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;lt; $(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vEnd&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)"}&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: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4394"&gt;Dates in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:17:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269406#M399465</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-18T13:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269407#M399466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be ignore selection in Month field&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;TDATE={"&amp;gt;=$(=&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vStart &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;)&amp;lt; $(=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vEnd&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;)"}, &lt;SPAN style="color: #ff0000;"&gt;MonthField&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:17:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269407#M399466</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-18T13:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269408#M399467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes correct, tried removing the '='. However it does not take the range. It shows sales amount for the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269408#M399467</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-18T13:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269409#M399468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you might need to ignore selection in Month field or infact any date and time related fields where you might make selections....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269409#M399468</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-18T13:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269410#M399469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Sunny pointed out, you would need to clear all selections in fields that may interfere with the date range you want to consider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting" title="http://aftersync.com/blog/the-magic-of-set-analysis-point-in-time-reporting"&gt;The Magic of Set Analysis - Point In Time Reporting • Blog • AfterSync&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269410#M399469</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-01-18T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269411#M399470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the month selection. Like if I select Oct -2016,&amp;nbsp; I should get the 6 months data from Aprl to Sep 2016.&lt;/P&gt;&lt;P&gt;The variables work correctly for fetching 6 previous months but the expression does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:28:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269411#M399470</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-18T13:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269412#M399471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That will be handled (or should be handled) by date range itself. Month selection is avoided for direct impact which you are seeing. Give it a try once and see if it isn't working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it still doesn't work, I would suggest sharing a sample&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269412#M399471</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-18T13:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269413#M399472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does not work after passing month.&amp;nbsp; Is it fine to share a sample with few hundred records?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269413#M399472</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-19T12:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269414#M399473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:24:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269414#M399473</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-19T12:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269415#M399474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA Sample for few thousand records debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 12:57:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269415#M399474</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-19T12:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269416#M399475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think TURNOVER value is missing before Apr-2015, but if I select Apr-2015 it gives something like this&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/150057_Capture.PNG" style="height: 377px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;MonthYear={"$(='&amp;gt;=' &amp;amp; Date(MonthStart(Max({&amp;lt;TURNOVER = {'*'}&amp;gt;}MonthYear), -6), 'MMM-YYYY') &amp;amp; '&amp;lt;' &amp;amp; Date(Max({&amp;lt;TURNOVER = {'*'}&amp;gt;}MonthYear), 'MMM-YYYY'))"}, Month, Year, Monyr, TDATE, DATE&amp;gt;}TURNOVER)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2017 13:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269416#M399475</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-01-19T13:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in expression with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269417#M399476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Chintan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 13:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-expression-with-set-analysis/m-p/1269417#M399476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-20T13:04:22Z</dc:date>
    </item>
  </channel>
</rss>

