<?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: Usage of set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831659#M292635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with the follow approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Load statement (example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;if(Year=2013 or Year=2014,1,0) as Flag1314&lt;/P&gt;&lt;P&gt;FROM [...];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Set Analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Flag1314={1}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Fact.CustomerSales&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Apr 2015 15:08:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-14T15:08:59Z</dc:date>
    <item>
      <title>Usage of set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831656#M292632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can we use set analysis in Where clause ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g i have to find customer sales&amp;nbsp; for a payer for&amp;nbsp; years 2013 &amp;amp; 2014&amp;nbsp; normally we use it in expression as &lt;/P&gt;&lt;P&gt;({$&amp;lt;TimeLine.Year={2013,2014}&amp;gt;}Fact.CustomerSales)/1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;every time i select data&amp;nbsp; this condition gets re evaluated which makes app slower . i was wondering can we use this in where clause &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where&amp;nbsp;&amp;nbsp; ({$&amp;lt;TimeLine.Year={2013,2014}&amp;gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls suggest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:33:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831656#M292632</guid>
      <dc:creator>arusanah</dc:creator>
      <dc:date>2015-04-14T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831657#M292633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately set analysis cannot be used in a where clause, in your query you can write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;where&amp;nbsp;&amp;nbsp; TimeLine.Year='2013' or TimeLine.Year='2014'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 14:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831657#M292633</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2015-04-14T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831658#M292634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 15:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831658#M292634</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-04-14T15:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831659#M292635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try with the follow approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Load statement (example):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;if(Year=2013 or Year=2014,1,0) as Flag1314&lt;/P&gt;&lt;P&gt;FROM [...];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Set Analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Flag1314={1}&lt;/SPAN&gt;&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Fact.CustomerSales&lt;/SPAN&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 15:08:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Usage-of-set-Analysis/m-p/831659#M292635</guid>
      <dc:creator />
      <dc:date>2015-04-14T15:08:59Z</dc:date>
    </item>
  </channel>
</rss>

