<?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/853973#M1019187</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to QlikView Application's Help Menu&lt;/P&gt;&lt;P&gt;Go to Contents&lt;/P&gt;&lt;P&gt;Index&lt;/P&gt;&lt;P&gt;Type Set Analysis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details instruction is there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also read below document&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 04 Apr 2015 07:52:47 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2015-04-04T07:52:47Z</dc:date>
    <item>
      <title>Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853971#M1019185</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;BR /&gt;I was going through some blogs and got stuck on a word 'Set analysis'. Can someone explain to me what is Set Analysis and how it is used. A little simpler explanation would be very much appreciated (I'm a complete newbie..Just 7 days into QV &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 07:36:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853971#M1019185</guid>
      <dc:creator>siddheshmane</dc:creator>
      <dc:date>2015-04-04T07:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853972#M1019186</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;Go through below URL&lt;/P&gt;&lt;P&gt;It will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 07:51:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853972#M1019186</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2015-04-04T07:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853973#M1019187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to QlikView Application's Help Menu&lt;/P&gt;&lt;P&gt;Go to Contents&lt;/P&gt;&lt;P&gt;Index&lt;/P&gt;&lt;P&gt;Type Set Analysis...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Details instruction is there...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also read below document&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-4951"&gt;Set Analysis: syntaxes, examples&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 07:52:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853973#M1019187</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-04T07:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853974#M1019188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set analysis is for Aggregating your data with reference to certain Sets(Selections or chunks/groups of data) of data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set analysis consists of &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;identifier&lt;/P&gt;&lt;P&gt;operators&lt;/P&gt;&lt;P&gt;modifiers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax could be something like &lt;/P&gt;&lt;P&gt;Aggregation function ( Identifier{Selection &amp;lt;Dimension1 = {member 1, member 2, …} [, Dimension2 = {member 1, member 2, …}] &amp;gt;} Fieldname/expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aggregation function can be any aggregate function Sum,count,avg,max, min etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e Max(Fieldname)&lt;/P&gt;&lt;P&gt;but you dont want max of all fields with current selections you like to take max of particular set &lt;/P&gt;&lt;P&gt;there arises need of set analysis &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;identifier :&lt;/P&gt;&lt;P&gt;0 – empty set &lt;/P&gt;&lt;P&gt;1 – complete application &lt;/P&gt;&lt;P&gt;$ - current selection (take care that sometimes your chart or table does not use the current selection but an &lt;/P&gt;&lt;P&gt;Alternate States) &lt;/P&gt;&lt;P&gt;$1 – previous selection ($2: the second previous selection, etc.) &lt;/P&gt;&lt;P&gt;$_1 – next selection &lt;/P&gt;&lt;P&gt;Bookmark01 – name or ID of a bookmark &lt;/P&gt;&lt;P&gt;Group – group name (Alternate State) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({Book1} [Sales]) : sales of the selection of Book1 &lt;/P&gt;&lt;P&gt;Sum({Group1} [Sales]) : sales of the Alternate State Group1 (the syntax is identical) &lt;/P&gt;&lt;P&gt;Sum({1} [Sales]) : sum of everything (All dimensions are completly reset to All) &lt;/P&gt;&lt;P&gt;Sum({$} [Sales]) : sum of the current selection (= sum([Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Operators :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ : union of sets &lt;/P&gt;&lt;P&gt;*: intersection of sets &lt;/P&gt;&lt;P&gt;- : Exclusion of two sets &lt;/P&gt;&lt;P&gt;/ : members belonging to only one of the two sets &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the operators with the equal sign: &lt;/P&gt;&lt;P&gt;&amp;lt;Dimension += another set&amp;gt;: add the set to the current selection &lt;/P&gt;&lt;P&gt;&amp;lt;Dimension -= another set&amp;gt;: remove the set from the current selection &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({1-$} [Sales]) : sum of the sales of the « database » except the current selection &lt;/P&gt;&lt;P&gt;Sum({GROUP1 * Book1} [Sales]) : sum if the sales for the intersection of Group1 and Book1 (the &lt;/P&gt;&lt;P&gt;members belonging to both) Fabrice AUNEZ – version 2.1 The Sets Analysis-Page 5 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sets that we will study are between angle brackets : &amp;lt;&amp;gt;. They are quite more complex also. But you &lt;/P&gt;&lt;P&gt;may use also the operators: &lt;/P&gt;&lt;P&gt;{&amp;lt;set 1&amp;gt; -&amp;lt;set 2&amp;gt;} or {set 1}-{set 2}: members in the set1 that are not in the set2 (because we remove &lt;/P&gt;&lt;P&gt;them) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modifiers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can reduce or enlarge the scope of the &lt;/P&gt;&lt;P&gt;selection used in an aggregation. You may modify the selection for one or several dimensions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Dimension1 = {member 1, member 2, …} [, Dimension2 = {member 1, member 2, …}] &amp;gt; &lt;/P&gt;&lt;P&gt;part of the above syntax is Modifier &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will work like where cluase Dimnesion1 will be filtered with values in the { } seperated by comma&lt;/P&gt;&lt;P&gt;and similarly dim2 will be filtered with respective values &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;finally simple example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(1{&amp;lt;Dept={'IT'}&amp;gt;EmpSal} = this will return sum of IT dept emp sal irrespective of any selections made &lt;/P&gt;&lt;P&gt;sum(${&amp;lt;Dept={'IT'}&amp;gt;EmpSal} =this will return sum of IT dept emp sal with respect to selections made &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Dept={'IT'}&amp;gt;EmpSal}= when no identifiers mentioned default if considered as $ current selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(1{&amp;lt;Dept-={'IT'}&amp;gt;EmpSal}= this will return sum of emp sal except IT Dept, irrespective of any selections made &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can keep exploring all the identifiers operators and modifiers &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find more details in reference manual or in even developer help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 08:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853974#M1019188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-04T08:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853975#M1019189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you everyone. It was very easy to understand. Really helped me a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Apr 2015 09:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis/m-p/853975#M1019189</guid>
      <dc:creator>siddheshmane</dc:creator>
      <dc:date>2015-04-04T09:16:07Z</dc:date>
    </item>
  </channel>
</rss>

