<?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 for YTD calculation for Select Year and Month? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372194#M516334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Year = {$(=GetFieldSelections(Year))},Month = {$(=GetFieldSelections(Month))}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2018 07:38:46 GMT</pubDate>
    <dc:creator>ramya_grandhi</dc:creator>
    <dc:date>2018-09-21T07:38:46Z</dc:date>
    <item>
      <title>Set Analysis for YTD calculation for Select Year and Month?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372190#M516330</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 trying to create Set Analysis for an expression where I only want YTD values for the selected Year and Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fields names:&lt;/P&gt;&lt;P&gt;Year: sample values, 2014, 2015, 2016, 2017, 2018 etc&lt;/P&gt;&lt;P&gt;Month: sample values Jan, Feb, Mar, Apr, Jun etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression: Sum(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for example if I select Year 2017, and Month April, I want to see the total of Sum(Sales) to include Jan, Feb, Mar, Apr 2017 values added up together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select Year 2015 and July, it should be for all the months up to July 2015.&lt;/P&gt;&lt;P&gt;And so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anybody know how to do this please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 11:29:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372190#M516330</guid>
      <dc:creator>jblomqvist</dc:creator>
      <dc:date>2017-05-05T11:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YTD calculation for Select Year and Month?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372191#M516331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll want to try &lt;STRONG&gt;=Sum({&amp;lt;Month = {'&amp;lt;=$(=Max(Month))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note this does asume you are always selecting a year.&lt;/P&gt;&lt;P&gt;Please find an example attached. Is this what you're trying to achieve?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 12:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372191#M516331</guid>
      <dc:creator>RonaldDoes</dc:creator>
      <dc:date>2017-05-05T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YTD calculation for Select Year and Month?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372192#M516332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable for max date &amp;amp; create another variable as Yearstart(Max(Date)) and use these variables in set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can do it without variable as well.&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date=Date={"&amp;gt;=$(=YearStart(Max(Date)))&amp;lt;=$(=Date(Max(Date)))"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 12:47:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372192#M516332</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2017-05-05T12:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YTD calculation for Select Year and Month?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372193#M516333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, there is typo&lt;/P&gt;&lt;P&gt;It should be: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Date={"&amp;gt;=$(=YearStart(Max(Date)))&amp;lt;=$(=Date(Max(Date)))"}&amp;gt;}Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 15:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372193#M516333</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2017-05-05T15:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis for YTD calculation for Select Year and Month?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372194#M516334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Year = {$(=GetFieldSelections(Year))},Month = {$(=GetFieldSelections(Month))}&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2018 07:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-for-YTD-calculation-for-Select-Year-and-Month/m-p/1372194#M516334</guid>
      <dc:creator>ramya_grandhi</dc:creator>
      <dc:date>2018-09-21T07:38:46Z</dc:date>
    </item>
  </channel>
</rss>

