<?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 two fields not equal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430967#M487795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore that "Red" curly lines..expression will ork..&lt;/P&gt;&lt;P&gt;Some how qlikview hates notequal sign "-=".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 23:29:56 GMT</pubDate>
    <dc:creator>phaneendra_kunc</dc:creator>
    <dc:date>2013-02-12T23:29:56Z</dc:date>
    <item>
      <title>Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430964#M487792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to sum the sales of the customers not beloning to a that segment last year.&lt;/P&gt;&lt;P&gt;I'm trying: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( {$&amp;lt;[SEGMENT 2012]-=[SEGMENT 2013]&amp;gt;} SALES)&lt;/P&gt;&lt;P&gt;but this is not a correct expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second question: How would the syntax looks like if I hadn't had the SEGMENT spilt up in years:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( {$&amp;lt;YEAR={2012},[SEGMENT]-=YEAR={2013},[SEGMENT]&amp;gt;} SALES)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 22:34:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430964#M487792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-12T22:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430965#M487793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:02:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430965#M487793</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2013-02-12T23:02:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430966#M487794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, I see your expression is also not accepted as correct syntax judging the red curly lines.&lt;/P&gt;&lt;P&gt;Should I ignore this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:16:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430966#M487794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-12T23:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430967#M487795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ignore that "Red" curly lines..expression will ork..&lt;/P&gt;&lt;P&gt;Some how qlikview hates notequal sign "-=".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 23:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430967#M487795</guid>
      <dc:creator>phaneendra_kunc</dc:creator>
      <dc:date>2013-02-12T23:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430968#M487796</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;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum( {$&amp;lt;YEAR={2012},[SEGMENT]-={$(=only({&amp;lt;YEAR={2013}&amp;gt;}[SEGMENT]))}&amp;gt;} SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&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;hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:44:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430968#M487796</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T05:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430969#M487797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LoL, your expression works but...doesn't give the right answer.&lt;/P&gt;&lt;P&gt;Somehow the customers with the same segment in 2012 and 2013 are also stated in the sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even stranger, when I want to see what the sales of the customer in the same Segment as last year are:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Sum( {$&amp;lt;YEAR={2012},[SEGMENT] &lt;STRONG&gt;=&lt;/STRONG&gt; {$(=only({&amp;lt;YEAR={2013}&amp;gt;}[SEGMENT]))}&amp;gt;} SALES)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;This expresion returns 0.&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;So '-=' includes the same segments and '=' excludes it &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; &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;Somebody any thoughts (hopefully without sending a sample of the document)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430969#M487797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-13T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis two fields not equal</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430970#M487798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I've just answered a similar question &lt;A _jive_internal="true" href="https://community.qlik.com/message/311093#311093"&gt;here&lt;/A&gt;. Perhaps that helps you find your solution. I think you're looking for the e() function for indirect set analysis expressions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 20:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-two-fields-not-equal/m-p/430970#M487798</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-13T20:52:29Z</dc:date>
    </item>
  </channel>
</rss>

