<?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  ? YTD? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718590#M1074166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u share&amp;nbsp; qvw &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Aug 2014 06:49:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-06T06:49:41Z</dc:date>
    <item>
      <title>SET ANALYSIS  ? YTD?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718588#M1074164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This is what giving me a hard time. This is YTD sales.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When the user selects only Q1, then it should display the YTD sales of the current year(2014).&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When the user select Q2, then it should display the YTD sales for 2013 from Jan-Jun because this year we are still in Q1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Similarly when we select only a month, e.g. Mar, then it should display the YTD sales for 2014 Jan-Mar.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But when you select only Aug, it should display the YTD for 2013 Jan-Aug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;When the user selects year 2013 and Feb then it should display the YTD Sales for 2013 Jan-Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 19:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718588#M1074164</guid>
      <dc:creator />
      <dc:date>2014-08-05T19:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS  ? YTD?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718589#M1074165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There a few ways to do this one.&amp;nbsp; &lt;/P&gt;&lt;P&gt;I added a new field called monthnumber to your data model and then i created 2 variables ... vCurrentYear and vCurrentMonthNumber. They are both the max of their respective fields in the current selection context. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the YTD sales (dependent on users time selection) uses currentyear and &amp;lt;=currentmonthnumber to give you YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum( {$&amp;lt;Year={$(vCurrentYear)},MonthNumber={'&amp;lt;=$(vCurrentMonthNumber)'} &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 20:29:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718589#M1074165</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-05T20:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS  ? YTD?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718590#M1074166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u share&amp;nbsp; qvw &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 06:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718590#M1074166</guid>
      <dc:creator />
      <dc:date>2014-08-06T06:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re: SET ANALYSIS  ? YTD?</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718591#M1074167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;here is the QVW&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Aug 2014 13:45:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-YTD/m-p/718591#M1074167</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-08-06T13:45:14Z</dc:date>
    </item>
  </channel>
</rss>

