<?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 - difference between -= and =- operations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978129#M968520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you got what you were looking for, I suggest marking Manish's answer as corrrect and close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Sep 2015 06:38:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-09-19T06:38:06Z</dc:date>
    <item>
      <title>set analysis - difference between -= and =- operations</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978126#M968517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please someone clarify me that the difference between the operators -= and =-.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the inline load&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; name, salary&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; srinivas, 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sriram, 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; srilatha, 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; srinath, 4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; srinidhi, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; santhosh, 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; madhu, 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gopi, 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; aruna, 9&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dhanapriya, 10&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created the text box in the sheet and given the below query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;name-={"sri*"}&amp;gt;}salary)--------returned "40" as the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i use "=sum({&amp;lt;name=-{"sri*"}&amp;gt;}salary)", returning the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At what situations, these both will show the difference?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 08:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978126#M968517</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2015-09-18T08:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis - difference between -= and =- operations</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978127#M968518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=SUM({&amp;lt;name =- {'*sri*'}&amp;gt;}salary) and =SUM({&amp;lt;name -= {'*sri*'}&amp;gt;}salary)&lt;/P&gt;&lt;P&gt;will give you same result without selecting anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you select something... say &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;srinidhi,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt; santhosh,&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt; madhu&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=SUM({&amp;lt;name =- {'*sri*'}&amp;gt;}salary) will still give you 40 but&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=SUM({&amp;lt;name -= {'*sri*'}&amp;gt;}salary) will give you 13 as this expression is working wrt current selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;So, in short, if you want SUM(Salary) excluding sri with respect to current selection use 2nd expression but if you want SUM(Salary) excluding sri but should not change based on selection in name, use 1st expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this would make clear..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 09:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978127#M968518</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-18T09:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis - difference between -= and =- operations</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978128#M968519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks manish.It makes me clear now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 06:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978128#M968519</guid>
      <dc:creator>konidena</dc:creator>
      <dc:date>2015-09-19T06:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis - difference between -= and =- operations</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978129#M968520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you got what you were looking for, I suggest marking Manish's answer as corrrect and close the thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 06:38:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978129#M968520</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-09-19T06:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis - difference between -= and =- operations</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978130#M968521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you close the thread by selecting correct answer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Sep 2015 10:07:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-difference-between-and-operations/m-p/978130#M968521</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-19T10:07:42Z</dc:date>
    </item>
  </channel>
</rss>

