<?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/1036697#M923091</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have personal edition installed in my laptop. please copy the expression content here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2016 23:37:11 GMT</pubDate>
    <dc:creator>konidena</dc:creator>
    <dc:date>2016-04-14T23:37:11Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036696#M923090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a basic question. What is Set analysis?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me the exact definition of this. Is it the static selection or dynamic selection?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have sales data of the years from 2011 to 2016.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried creating the pivot table with Product, Current Year sales and Previous Year sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw for better&amp;nbsp; understanding. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question: if my selection is 2016 in the year field, then&amp;nbsp; i should get the 2015 as my previous sales data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to write the expression for the previous year sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide the set analysis expression for both current selection and current selection - 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036696#M923090</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036697#M923091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have personal edition installed in my laptop. please copy the expression content here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your great help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2016 23:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036697#M923091</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2016-04-14T23:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036698#M923092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you were using Year, when your field name is year. QlikView is case sensitive so you need to use the right case. Try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({$&amp;lt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;y&lt;/STRONG&gt;ear={$(=max(&lt;SPAN style="color: #ff0000;"&gt;y&lt;/SPAN&gt;ear))}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum ({$&amp;lt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;y&lt;/STRONG&gt;ear = {$(=Max(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;y&lt;/STRONG&gt;ear)-1)} &amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 16:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036698#M923092</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-15T16:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036699#M923093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. It is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to display total years sales . When user selected any year, it should change. Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 17:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036699#M923093</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2016-04-15T17:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036700#M923094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(GetSelectedCount(year) &amp;gt; 0, sum({$&amp;lt;year={$(=max(year))}&amp;gt;}Sales), Sum(Sales))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What would the previous year sales show? 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2016 17:19:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/1036700#M923094</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-04-15T17:19:49Z</dc:date>
    </item>
  </channel>
</rss>

