<?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. Field is not equal other field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362135#M417324</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case the Expression must be evaluated per row, then You need If() instead of Set Analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Jul 2017 09:05:11 GMT</pubDate>
    <dc:creator>antoniotiman</dc:creator>
    <dc:date>2017-07-11T09:05:11Z</dc:date>
    <item>
      <title>Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362130#M417319</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;How can I replace expression below with set analysis?&lt;/P&gt;&lt;P&gt;if(Field1=Field2, 0, Sum(Value))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried different variants. For example this one doesn't work as well.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum({$&amp;lt;Field1-=Field2&amp;gt;} Value)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:07:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362130#M417319</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-11T08:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362131#M417320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better to use in script like&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Field1 &amp;lt;&amp;gt; Field2 , 1, 0) as Flag&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And set analysis &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Flag = {'1'}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:09:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362131#M417320</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-11T08:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362132#M417321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Field1&lt;/SPAN&gt;={"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Field1&lt;/SPAN&gt;&amp;lt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Field2&lt;/SPAN&gt;"}&amp;gt;}Value)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:33:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362132#M417321</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-07-11T08:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362133#M417322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;Set Analysis is calculated per Chart&amp;nbsp; and You need per Rows.&lt;/P&gt;&lt;P&gt;So&lt;/P&gt;&lt;P&gt;Sum(If(Field1=Field2,0,Value))&lt;/P&gt;&lt;P&gt;However Sintax Set Analysis is like this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Field1-={'$(=Max(Field2))'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;or like this&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Field1=E(Field2)&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Antonio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:34:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362133#M417322</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-11T08:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362134#M417323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but all versions of set analysis don't show an expected result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use flag in script according to current data model.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please look at the attachment qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;First chart shows correct result with IF statement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Other ones with all set analysis variants above. They show &lt;/SPAN&gt;different&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 08:53:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362134#M417323</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-11T08:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362135#M417324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case the Expression must be evaluated per row, then You need If() instead of Set Analysis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362135#M417324</guid>
      <dc:creator>antoniotiman</dc:creator>
      <dc:date>2017-07-11T09:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362136#M417325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be&lt;STRONG&gt;&lt;BR /&gt;&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;Sum({&amp;lt;Field2={"=Field1&amp;lt;&amp;gt;Field2"}&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;BR /&gt;&lt;/STRONG&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/169750_1.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:12:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362136#M417325</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-07-11T09:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362137#M417326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;If its a row to row comparison then I would prefer to have it in the script level .....in the front end it will take lot of time to evaluate and render&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362137#M417326</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-07-11T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362138#M417327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all and especially Andrey.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 11.7px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;to &lt;A href="https://community.qlik.com/people/avinashelite"&gt;avinashelite&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have created matrix where all values in field1 are equals to all values in field2. Let's say field2 is duplicate from field1.&lt;/P&gt;&lt;P&gt;How can I create flag in script in this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362138#M417327</guid>
      <dc:creator>maxsheva</dc:creator>
      <dc:date>2017-07-11T09:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362139#M417328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you share the sample data set we could help you out..create a separate thread&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:52:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362139#M417328</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2017-07-11T09:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis. Field is not equal other field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362140#M417329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI - I don't prefer to use direct set analysis. Because, Recently i had faced and took big challenge when this project on live. When i use that expression i am getting triple of the records like if i have script used like i mentioned it showing as expected but when i use Set analysis direct it consume triple like 3x. I wonder, That time that is cause some triggering issue i feel. Any how - You got the output. That's good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 09:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Field-is-not-equal-other-field/m-p/1362140#M417329</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-11T09:55:19Z</dc:date>
    </item>
  </channel>
</rss>

