<?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 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1546029#M457072</link>
    <description>Hi, Is this for QlikView or Sense? Id like to move it into the correct product forum.</description>
    <pubDate>Mon, 18 Feb 2019 19:12:51 GMT</pubDate>
    <dc:creator>Sue_Macaluso</dc:creator>
    <dc:date>2019-02-18T19:12:51Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1545884#M457070</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having a data of 2006,2007,2008 3 years data using an expression For PYTD&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;OrderDate = {"&amp;gt;=$(=YearStart(AddMonths(Max(OrderDate),-12))) &amp;lt;=$(=AddMonths(Max(OrderDate),-12))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;which is working fine and&amp;nbsp; giving me total sales of 2007 year. But when i am selecting year 2007 in my year filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is expression is giving me 0.&lt;/P&gt;&lt;P&gt;If I am using following expression&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year =, OrderDate = {"&amp;gt;=$(=YearStart(AddMonths(Max(OrderDate),-12)))&amp;lt;=$(=AddMonths(Max(OrderDate),-12))"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Then it is working fine for my year filter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;May anybody tell me what is the difference in those 2 expressions &amp;amp; why is data coming 0 for my first expression which i mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 12:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1545884#M457070</guid>
      <dc:creator>pallvit_01</dc:creator>
      <dc:date>2019-02-18T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1545887#M457071</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sum({$&amp;lt;&lt;FONT color="#FF6600"&gt;Year =&lt;/FONT&gt;, OrderDate = {"&amp;gt;=$(=YearStart(AddMonths(Max(OrderDate),-12)))&amp;lt;=$(=AddMonths(Max(OrderDate),-12))"}&amp;gt;}Sales)&lt;/PRE&gt;&lt;P&gt;The "Year= " nullify any selection made on the year so year doesn't affect your expression any more. Where as the associated value are there and your max order date is somewhere in 2007 and you get the data for 2006 with the help of " orderdate ={"&amp;gt;=&amp;nbsp; .... "} " expression.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 12:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1545887#M457071</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-18T12:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1546029#M457072</link>
      <description>Hi, Is this for QlikView or Sense? Id like to move it into the correct product forum.</description>
      <pubDate>Mon, 18 Feb 2019 19:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1546029#M457072</guid>
      <dc:creator>Sue_Macaluso</dc:creator>
      <dc:date>2019-02-18T19:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1548665#M457073</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am Using same expression in both QlikSene and QlikView.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;P&gt;Pallvit Pratap&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 11:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1548665#M457073</guid>
      <dc:creator>pallvit_01</dc:creator>
      <dc:date>2019-02-25T11:38:49Z</dc:date>
    </item>
  </channel>
</rss>

