<?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: help in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939568#M324159</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;DateField={"&amp;gt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;AddMonths(MonthStart(Max(DateField)),1)&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;AddMonths(MonthEnd(Max(DateField)),12)&lt;/SPAN&gt;)"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleAmount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Sep 2015 13:43:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-13T13:43:44Z</dc:date>
    <item>
      <title>help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939566#M324157</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 am calculating&amp;nbsp; values for YearToGo in set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is i have calculated MTD,YTD&lt;/P&gt;&lt;P&gt;I am struck wih calculating YearToGo.&lt;/P&gt;&lt;P&gt;I want the sum of values which are not included in the selection.&lt;/P&gt;&lt;P&gt;let suppose I have&amp;nbsp; months jan to dec .IF i select jan i have value YTD,MTD .&lt;/P&gt;&lt;P&gt;IF i select jan&amp;nbsp; i need to calculate YearToGo which is sum of Feb to Dec .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas are appreciated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2015 12:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939566#M324157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-13T12:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939567#M324158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Hi RGV,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;try to use &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;date={'&amp;gt;= $(SelectedDate) &amp;lt;= $(YearToGo)'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where date is your date filed,&lt;/P&gt;&lt;P&gt;and &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;SelectedDate &lt;/STRONG&gt;is a variable storing the selected day.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;and&amp;nbsp; YearToGo &lt;/STRONG&gt;is a variable storing the end of year using YearEnd Function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;be careful to the date format in variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is helpful to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2015 13:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939567#M324158</guid>
      <dc:creator />
      <dc:date>2015-09-13T13:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939568#M324159</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the below expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;lt;DateField={"&amp;gt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;AddMonths(MonthStart(Max(DateField)),1)&lt;/SPAN&gt;)&amp;lt;=$(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;AddMonths(MonthEnd(Max(DateField)),12)&lt;/SPAN&gt;)"}&amp;gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SaleAmount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Sep 2015 13:43:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939568#M324159</guid>
      <dc:creator />
      <dc:date>2015-09-13T13:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939569#M324160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;try:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #3d3d3d;"&gt;Sum({$&amp;lt;Date = {"&amp;gt;=$(=AddMonths(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;MonthStart(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit;"&gt;Max(Date)), 1))&lt;/SPAN&gt;&amp;lt;=$(=&lt;EM style="font-weight: inherit; font-size: 13.3333330154419px; font-family: inherit; color: #3d3d3d;"&gt;AddMonths(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;MonthEnd(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit;"&gt;Max(Date)), 11))&lt;/SPAN&gt;&lt;/EM&gt;"}&amp;gt;} Sales)&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 07:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939569#M324160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T07:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: help in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939570#M324161</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 tried with below expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Month={'&amp;gt;$(vSeletedMonth)'}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSelectedMonth&amp;nbsp; = max(Month)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even the above is also working fine .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 10:20:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/help-in-set-analysis/m-p/939570#M324161</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-14T10:20:20Z</dc:date>
    </item>
  </channel>
</rss>

