<?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: IF Vs Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694014#M1070399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both If and Set Analysis are one kind of functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is that by using set analysis, we can increase the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 05:35:33 GMT</pubDate>
    <dc:creator>vardhancse</dc:creator>
    <dc:date>2014-09-03T05:35:33Z</dc:date>
    <item>
      <title>IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694011#M1070396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;Can anyone please say me the difference between IF statement and set analysis&lt;/P&gt;&lt;P&gt;Is it possible to use IF statement instead of set analysis? if it is please explain me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694011#M1070396</guid>
      <dc:creator />
      <dc:date>2014-09-03T05:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694012#M1070397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can very well use If instead of Set analysis. But the performance will be better if you use set analysis, where as it will be impacted while using if statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a flag in the balck end and using it in set analysis is always preferable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694012#M1070397</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-03T05:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694013#M1070398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couple of good discussions:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/524223"&gt;Set Analysis vs if()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/1987"&gt;Performance: Set Analysis vs. IF vs. Multiplication&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:34:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694013#M1070398</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-09-03T05:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694014#M1070399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Both If and Set Analysis are one kind of functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only difference is that by using set analysis, we can increase the performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694014#M1070399</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2014-09-03T05:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694015#M1070400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because set analysis made on numeric fields yield better performance when compated to set analysis made on text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. sum({&amp;lt;Country={'India','Chine'}&amp;gt;}sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. sum({&amp;lt;country_check_flag={1}&amp;gt;}sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 performs best when compated to 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694015#M1070400</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-03T05:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694016#M1070401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Logesh,&lt;/P&gt;&lt;P&gt;We can use both If and Set Analysis expression, but when compared the Set Analysis has upper hand by performance and ease of usability.&amp;nbsp; If you have many conditions then you have use many if else and logical operators but in set analysis it is very very simple.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using If() will have performance issues, since we need to evaluate row wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Analysis has some good features like P() and E(), which is not possible with If easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 05:39:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694016#M1070401</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-03T05:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: IF Vs Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694017#M1070402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your replies...very useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 08:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-Vs-Set-Analysis/m-p/694017#M1070402</guid>
      <dc:creator />
      <dc:date>2014-09-03T08:50:53Z</dc:date>
    </item>
  </channel>
</rss>

