<?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 expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression/m-p/868730#M1013000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not possible. A set analysis expression cannot branch like an if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 08:30:58 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-04T08:30:58Z</dc:date>
    <item>
      <title>Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression/m-p/868729#M1012999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody help me out converting this if condition to a set analysis expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(sum(DISTINCT{$&amp;lt;Flag={'S'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}SVPL_amount)&amp;gt;0 and sum(DISTINCT{$&amp;lt;Flag={'H'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}HWPL_amount)&amp;lt;=0,&lt;/P&gt;&lt;P&gt;0.01,if(sum(DISTINCT{$&amp;lt;Flag={'S'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}SVPL_amount)&amp;lt;=0 and sum(DISTINCT{$&amp;lt;Flag={'H'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}HWPL_amount)&amp;lt;=0,0,&lt;/P&gt;&lt;P&gt;(sum(DISTINCT{$&amp;lt;Flag={'S'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}SVPL_amount)/sum(DISTINCT{$&amp;lt;Flag={'H'},FiscalYear={$(=vMaxYear-1)},FiscalQuarter={'Q1'}&amp;gt;}HWPL_amount)/100)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Happy &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 06:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression/m-p/868729#M1012999</guid>
      <dc:creator>imhappiee</dc:creator>
      <dc:date>2015-05-04T06:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-expression/m-p/868730#M1013000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's not possible. A set analysis expression cannot branch like an if statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 08:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-expression/m-p/868730#M1013000</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-04T08:30:58Z</dc:date>
    </item>
  </channel>
</rss>

