<?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 Set Analysis In Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-In-Expression/m-p/305245#M112744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we have set analysis as expression of a chart based on&amp;nbsp; a dimension? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my app, I have quarterly sales person quota. Quota table is not associated to sales table. In my sales analysis chart, I would like to compare sales versus quota. In dimension, I have quarter and in sales expression&amp;nbsp; I have sum (salesamount). For quota expression, can I have sum( {$&amp;lt;QuotaQuarter={SalesQuarter}&amp;gt;} Quota)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jul 2011 21:50:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-25T21:50:28Z</dc:date>
    <item>
      <title>Set Analysis In Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-In-Expression/m-p/305245#M112744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we have set analysis as expression of a chart based on&amp;nbsp; a dimension? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my app, I have quarterly sales person quota. Quota table is not associated to sales table. In my sales analysis chart, I would like to compare sales versus quota. In dimension, I have quarter and in sales expression&amp;nbsp; I have sum (salesamount). For quota expression, can I have sum( {$&amp;lt;QuotaQuarter={SalesQuarter}&amp;gt;} Quota)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jul 2011 21:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-In-Expression/m-p/305245#M112744</guid>
      <dc:creator />
      <dc:date>2011-07-25T21:50:28Z</dc:date>
    </item>
    <item>
      <title>Set Analysis In Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-In-Expression/m-p/305246#M112745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are selecting a Sales Quarter first then your expression should look like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;QuotaQuarter=P(SalesQuarter)&amp;gt;} Quota)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the contrary, if you don't want to force a Quarter selection then your expression should be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( if(QuotaQuarter=SalesQuarter, Quota))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will probably not work that great unless you do a sum distinct, it might be a good idea if you can post a sample qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 01:36:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-In-Expression/m-p/305246#M112745</guid>
      <dc:creator>danielrozental</dc:creator>
      <dc:date>2011-07-26T01:36:07Z</dc:date>
    </item>
  </channel>
</rss>

