<?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 Set Analysis Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/472744#M563143</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data from 2009 to 2013 and i have given the Year and Month as selecton parameters.&lt;/P&gt;&lt;P&gt;Now , by default i want to show the sales from 2009 to 2013(i.e&amp;nbsp; till Max Years Max Month). but when user select a particular month then sales should some from 1/1/2009 till that selected month of 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example &lt;/P&gt;&lt;P&gt;If user select Feb. then Sales should come from 1/1/2009 till 28/2/2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user select 2012 in Year and Dec in Month Then Sales should come from 1/1/2009 till 31/12/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Feb 2013 17:04:07 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-26T17:04:07Z</dc:date>
    <item>
      <title>Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/472744#M563143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data from 2009 to 2013 and i have given the Year and Month as selecton parameters.&lt;/P&gt;&lt;P&gt;Now , by default i want to show the sales from 2009 to 2013(i.e&amp;nbsp; till Max Years Max Month). but when user select a particular month then sales should some from 1/1/2009 till that selected month of 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example &lt;/P&gt;&lt;P&gt;If user select Feb. then Sales should come from 1/1/2009 till 28/2/2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user select 2012 in Year and Dec in Month Then Sales should come from 1/1/2009 till 31/12/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks .......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 17:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/472744#M563143</guid>
      <dc:creator />
      <dc:date>2013-02-26T17:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Problem</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/472745#M563145</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Assume that the date filed is CalDate,Month Field is CalMonth, Year Field is CalYear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now use below expression to achieve what you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;CalDate = {"&amp;gt;=$(=min({1}CalDate))&amp;lt;$(=Max(CalDate))"},CalMonth=,CalYear=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here you&amp;nbsp; saying that give the sum of sales, where CalDate is greater then Minimum Date (which is 1/1/2009) in your case and the Max Date will be the one you select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hope the logic is clear to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 18:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Problem/m-p/472745#M563145</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2013-02-26T18:13:25Z</dc:date>
    </item>
  </channel>
</rss>

