<?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: YTD Sales/Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Sales-Set-Analysis/m-p/574855#M1103971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piyush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is a bit complex. Not quite intuitive in my eyes, but ok.&lt;/P&gt;&lt;P&gt;- What I usually do is, I create (in a multibox)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - one field "Year"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - one field &amp;gt;&amp;gt; aggr(Quarter, Quarter) &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; That way, when Year=2014, only Q1 will show up at all.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; With your requirement, that is not applicable of course.&lt;/P&gt;&lt;P&gt;=&amp;gt; You will need a trigger that reacts to the selection on fields "Quarter" or "Month" and compares it to &amp;gt; Today() &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and automatically selects the corresp. year&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (that would be in the document_properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2014 11:28:43 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2014-03-28T11:28:43Z</dc:date>
    <item>
      <title>YTD Sales/Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-Set-Analysis/m-p/574854#M1103968</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;This is what giving me a hard time. This is YTD sales.&lt;/P&gt;&lt;P&gt;When the user selects only Q1, then it should display the YTD sales of the current year(2014).&lt;/P&gt;&lt;P&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&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&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&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&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 11:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-Set-Analysis/m-p/574854#M1103968</guid>
      <dc:creator />
      <dc:date>2014-03-28T11:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Sales/Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Sales-Set-Analysis/m-p/574855#M1103971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Piyush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that is a bit complex. Not quite intuitive in my eyes, but ok.&lt;/P&gt;&lt;P&gt;- What I usually do is, I create (in a multibox)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - one field "Year"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - one field &amp;gt;&amp;gt; aggr(Quarter, Quarter) &amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;=&amp;gt; That way, when Year=2014, only Q1 will show up at all.&lt;/P&gt;&lt;P&gt;&amp;lt;=&amp;gt; With your requirement, that is not applicable of course.&lt;/P&gt;&lt;P&gt;=&amp;gt; You will need a trigger that reacts to the selection on fields "Quarter" or "Month" and compares it to &amp;gt; Today() &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and automatically selects the corresp. year&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (that would be in the document_properties)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2014 11:28:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Sales-Set-Analysis/m-p/574855#M1103971</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2014-03-28T11:28:43Z</dc:date>
    </item>
  </channel>
</rss>

