<?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/28811#M773390</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i will assume is equivalent to &amp;lt;&amp;gt; in SQL?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;How do you know when to extend the analysis to include that syntax.&amp;nbsp; It looks like you put a set analysis inside a set analysis.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure I follow your question.... which of the two expressions worked for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 May 2018 16:48:51 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-14T16:48:51Z</dc:date>
    <item>
      <title>Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28808#M773387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on what i thought was a simple function.&amp;nbsp; As you can see in the chart below I am looking at categories accounts.&amp;nbsp; My first column is the sum of everything, I would like my second column to be anything that is APV and APV only, the third column is to have everything except APV.&lt;/P&gt;&lt;P&gt;I thought set analysis was the way to go but my numbers are not right.&amp;nbsp; Can someone let me know if i am proceeding correctly with my calculations below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum([Detl Amt])&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Account Category] = P({1&amp;lt;[Jnl Cd]={'APV'}&amp;gt;}[Account Category])&amp;gt;}[Detl Amt])&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Account Category] = E({1&amp;lt;[Jnl Cd]={'APV'}&amp;gt;}[Account Category])&amp;gt;}[Detl Amt])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/202348_Capture.PNG" style="height: auto;" /&gt;&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/28808#M773387</guid>
      <dc:creator>Anonymous</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/28809#M773388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be one of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;S&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;um({$&amp;lt;[Jnl Cd] = {'APV'}&amp;gt;} [Detl Amt])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({$&amp;lt;[Jnl Cd] -= {'APV'}&amp;gt;} [Detl Amt])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;[Account Category] = P({1&amp;lt;[Jnl Cd]={'APV'}&amp;gt;}[Account Category]), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Jnl Cd] = {'APV'}&lt;/SPAN&gt;&amp;gt;}[Detl Amt])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;[Account Category] = E({1&amp;lt;[Jnl Cd]={'APV'}&amp;gt;}[Account Category]), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Jnl Cd] -= {'APV'}&lt;/SPAN&gt;&amp;gt;}[Detl Amt])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28809#M773388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-14T16:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28810#M773389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sunny;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Im not sure where i went wrong, i have not seen the -=, which i will assume is equivalent to &amp;lt;&amp;gt; in SQL?&lt;/P&gt;&lt;P&gt;How do you know when to extend the analysis to include that syntax.&amp;nbsp; It looks like you put a set analysis inside a set analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:47:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28810#M773389</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T16:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28811#M773390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;i will assume is equivalent to &amp;lt;&amp;gt; in SQL?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;How do you know when to extend the analysis to include that syntax.&amp;nbsp; It looks like you put a set analysis inside a set analysis.&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I am not sure I follow your question.... which of the two expressions worked for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28811#M773390</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-14T16:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28812#M773391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;crazy enough, both sets yielded the same results.&lt;/P&gt;&lt;P&gt;So I see on my example i sent i over thought it as the first set worked.&lt;/P&gt;&lt;P&gt;But the second set worked as well and I am trying to understand why that also worked.&amp;nbsp; I like that the first set worked, just curious as maybe the second set may come in handy for other analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28812#M773391</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-14T16:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28813#M773392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Based on different data sets and requirements the two set might give different answers. Do you have single or multiple Jnl Cd per Account Category?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 May 2018 16:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis/m-p/28813#M773392</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-14T16:53:56Z</dc:date>
    </item>
  </channel>
</rss>

