<?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/414206#M154081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;In this expression Sum( {&amp;lt;Year = {2011}&amp;gt;} Sales) only the selection for field Year is fixed. It's fixed to the value 2011. This determines the set. The set is calculated first, after that the other selections are applied. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select dates in 2011 then the expression is applied to the selected dates that are part of the set. Dates in 2012 are not in the set calculated for Year = {2011}. So you get no result if you select dates in 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select year 2012 then that selection is ignored because you specified Year = {2011} for the set. So you get the result for 2011 if you select 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select Dec you get Dec 2011. If you select another month you get the sum for that month in 2011. Only Year was fixed in the set to 2011. Selections in the other fields are still applied.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2013 15:17:29 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-04-30T15:17:29Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414205#M154080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used below set theory in a text box: &lt;/P&gt;&lt;P&gt;Sum( {&amp;lt;Year = {2011}&amp;gt;}&amp;nbsp;&amp;nbsp; Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dashboard if I select :&lt;/P&gt;&lt;P&gt;1. Year as 2011. Sum of Sales displayed for 2011.&lt;/P&gt;&lt;P&gt;2. Date(s) of 2011. Sum of sales on those dates is displayed.&lt;/P&gt;&lt;P&gt;3. Year as 2012. Sum of Sales displayed for 2011.&lt;/P&gt;&lt;P&gt;4. Date(s) of 2012. 0 is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---------------------------------------------------&lt;/P&gt;&lt;P&gt;Suppose 2011 no sales in the month of dec,,,,,, but 2012 have data for dec as well.&lt;/P&gt;&lt;P&gt;---------------------------------------------------&lt;/P&gt;&lt;P&gt;5. Select Dec . 0 is displayed.&lt;/P&gt;&lt;P&gt;6. Any other month(s). Sum for that month in 2011 is displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone kindly help me with valid justification for this behaviour of set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Suhas Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 13:57:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414205#M154080</guid>
      <dc:creator />
      <dc:date>2013-04-30T13:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414206#M154081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;In this expression Sum( {&amp;lt;Year = {2011}&amp;gt;} Sales) only the selection for field Year is fixed. It's fixed to the value 2011. This determines the set. The set is calculated first, after that the other selections are applied. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select dates in 2011 then the expression is applied to the selected dates that are part of the set. Dates in 2012 are not in the set calculated for Year = {2011}. So you get no result if you select dates in 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select year 2012 then that selection is ignored because you specified Year = {2011} for the set. So you get the result for 2011 if you select 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;If you select Dec you get Dec 2011. If you select another month you get the sum for that month in 2011. Only Year was fixed in the set to 2011. Selections in the other fields are still applied.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2013 15:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414206#M154081</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-04-30T15:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414207#M154082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here Year =2011 is fixed&lt;/P&gt;&lt;P&gt;so you can try this expression&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum( {$}&amp;nbsp;&amp;nbsp; sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;sum({&amp;lt;year={"$(=year)"}&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 07:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414207#M154082</guid>
      <dc:creator />
      <dc:date>2013-05-01T07:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414208#M154083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you want the data on selection then&lt;/P&gt;&lt;P&gt;as per your expression you fixed to 2011&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year={"$(=year)"}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2013 07:16:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/414208#M154083</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-05-01T07:16:54Z</dc:date>
    </item>
  </channel>
</rss>

