<?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: Help with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398343#M809192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. The users would like to see this as a pivot table so they can keep adding dimensions when they need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2017 14:24:45 GMT</pubDate>
    <dc:creator>sangeess21</dc:creator>
    <dc:date>2017-10-20T14:24:45Z</dc:date>
    <item>
      <title>Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398339#M809188</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;I would like to show new customers in a pivot table. A new customer is one who has not purchased anything(Direct/Indirect) from the company in the past. The concept I use is, if the customer does not have any SP value in the past and does have a SP Value this year, then that customer is a new customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the below example is considered,&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="229" style="border: 1px solid #000000; width: 537px; height: 231px;" width="535"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style=": ; color: #575757;"&gt;Year&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;2015&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;SPAN style="color: #575757;"&gt;&lt;STRONG&gt;2016&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG style=": ; color: #575757;"&gt;2017&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;Direct/Indirect Customer&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Service Class&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;SP Name&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;SP Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;SP Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;SP Value&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$0.00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$4000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;XYZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$6000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$250.00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$350.00&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Total&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;$250.00&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;$350.00&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;$12,000.00&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Indirect&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;$0.00&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3,500.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Indirect&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;Total&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;-&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;$3,500.00&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to get a pivot table like this.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="74" style="border: 1px solid #000000; width: 473px; height: 62px;" width="471"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Direct/Indirect Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Service Class&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SP Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SP Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$4000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;XYZ&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$6000.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when use the below set analysis,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(( if ([Direct/Indirect Customer] = 'Direct', sum({&amp;lt;ID={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount), sum({&amp;lt;ID-={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount)) &amp;lt;&amp;gt;0 and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if ([Direct/Indirect Customer] = 'Direct', sum({&amp;lt;ID={'1','2','3'},Year-={"$(=year(today(1)))"}&amp;gt;}Amount), sum({&amp;lt;ID-={'1','2','3'},Year-={"$(=year(today(1)))"}&amp;gt;}Amount)) = 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if ([Direct/Indirect Customer]='Direct', sum({&amp;lt;ID={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount), sum({&amp;lt;ID-={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;I get this result where Customer A is not a new customer as it has purchased directly from the company in 2015 and 2016.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="124" style="border: 1px solid #000000; width: 515px; height: 114px;" width="513"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Direct/Indirect Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Service Class&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SP Name&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SP Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ABC&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$4000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ABC&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;XYZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer B&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$6000.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Indirect&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;XYZ&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Customer A&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$3500.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757; font-size: 10pt;"&gt;If I use the below expression, I do not get any result.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if((if([Direct/Indirect Customer] = 'Direct',sum({&amp;lt;ID={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount),sum({&amp;lt;ID-={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount))&amp;lt;&amp;gt;0 and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if([Direct/Indirect Customer] = 'Direct',sum({&amp;lt;ID={'1','2','3'},Year-={"$(=year(today(1)))"}&amp;gt;}Amount))=0 and&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if([Direct/Indirect Customer] = 'Indirect',sum({&amp;lt;ID-={'1','2','3'},Year-={"$(=year(today(1)))"}&amp;gt;}Amount))=0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if([Direct/Indirect Customer]='Direct', sum({&amp;lt;ID={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount),sum({&amp;lt;ID-={'1','2','3'},Year={"$(=year(today(1)))"}&amp;gt;}Amount)))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing anything here? Any help is greatly appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&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/Help-with-Set-Analysis/m-p/1398339#M809188</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398340#M809189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you like to do Cross Table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 15:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398340#M809189</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-19T15:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398341#M809190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is ID field here? Would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 15:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398341#M809190</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-19T15:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398342#M809191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just an observation when you are using set analysis to calculate values, be sure to take the nulls out of that field (the one with the values) otherwise it will mess the result...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Andrei &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 20:18:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398342#M809191</guid>
      <dc:creator>andrei_delta</dc:creator>
      <dc:date>2017-10-19T20:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398343#M809192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. The users would like to see this as a pivot table so they can keep adding dimensions when they need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398343#M809192</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398344#M809193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The ID is the ID of the customer. If the ID is 1,2 or 3 then they are Direct Customers else Indirect Customers. I would love to share a sample, but it has sensitive information in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398344#M809193</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398345#M809194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this addresses your confidentiality concerns&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398345#M809194</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-20T15:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398346#M809195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a sample of the example I posted above. Hope this helps. Thanks! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398346#M809195</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398347#M809196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID = {'1','2'}, Year = {$(=Year(Today(1)))}, Customer = {"=Sum({&amp;lt;ID = {'1','2'}, Year -= {$(=Year(Today(1)))}&amp;gt;}Value) = 0"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180403_Capture.PNG" style="height: 327px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 15:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398347#M809196</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-20T15:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398348#M809197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny. This works for the above scenario, but not mine. I've attached the sample where the above set analysis doesn't work. I would like only Customer B, D, E and F to pop up as new customers as they do not have any value in the past. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:13:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398348#M809197</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398349#M809198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the expected output here? This?&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/180420_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID = {'700000','700001','700002'}, Year = {$(=Year(Today(1)))}, Customer -= {"=Sum({&amp;lt;ID = {'700000','700001','700002'}, Year -= {$(=Year(Today(1)))}&amp;gt;}Value) &amp;gt; 0"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398349#M809198</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-20T18:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398350#M809199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;The above expression returns only Direct. I would like to return new customers in Indirect too. The result should be like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;&lt;STRONG&gt;Direct/Indirect Customer&lt;/STRONG&gt;&lt;/P&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Service Class&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;SP Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Direct&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$638.19&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$29,804.20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$2,400.18&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer D&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$605.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Direct&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer E&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$5439.27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Indirect&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;customer F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$117.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Indirect&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Service C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Customer F&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$85.14&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:27:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398350#M809199</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T18:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398351#M809200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indirect doesn't have ID 700000, 700001 or 700002... that is why they did not show up... may be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {$(=Year(Today(1)))}, Customer -= {"=Sum({&amp;lt;ID = {'700000','700001','700002'}, Year -= {$(=Year(Today(1)))}&amp;gt;}Value) &amp;gt; 0"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/180421_Capture.PNG" style="height: 158px; width: 620px;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 18:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398351#M809200</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-20T18:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398352#M809202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sunny &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; It working now. Can you please explain what you are doing here? Why is ID added in the Customer set analysis? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 19:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398352#M809202</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-20T19:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398353#M809204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, the expression is showing the sum of sales for all customers who have no sales in last years within the ID 700000, 700001, and 700002 and show there sales in this year.&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;&lt;SPAN style="font-size: 10pt;"&gt;Why is ID added in the Customer set analysis?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Have no idea why you had them in the first place? I just tried to use your expression and expand on it &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, 21 Oct 2017 20:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398353#M809204</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-21T20:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398354#M809205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Sunny. I was trying to filter by ID for Direct and Indirect customers in my expression. I have one more question. Though we are filtering customers who has no sales in last years in the expression, why does Customer G show up in the result when we select 'Service A' Service Class?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image 1.JPG" class="jive-image image-1" src="/legacyfs/online/180574_image 1.JPG" style="height: 183px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 15:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398354#M809205</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-23T15:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398355#M809206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sort of depends on what your final expectations are with regards to this expression, but you can play around with it to fix it... for instance the issue that you pointed out can be resolved by making this change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year = {$(=Year(Today(1)))}, Customer -= {"=Sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;ID = {'700000','700001','700002'}, Year -= {$(=Year(Today(1)))}&amp;gt;}Value) &amp;gt; 0"}&amp;gt;}Value)&lt;/STRONG&gt;&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/180577_Capture.PNG" style="height: 192px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 15:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398355#M809206</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-23T15:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398356#M809207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. Thank you so much &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 15:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Analysis/m-p/1398356#M809207</guid>
      <dc:creator>sangeess21</dc:creator>
      <dc:date>2017-10-23T15:49:01Z</dc:date>
    </item>
  </channel>
</rss>

