<?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 Help with expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/219091#M72137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following expression in a pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=IF((sum(if(Month([Date1])='Feb',1,0)) * sum(if(Month([Date2])='Feb',1,0))),&lt;BR /&gt; sum(if(Month([Date2])='Feb',1,0)))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This basically does is aggregates for the dimension product and counts the number of entries for the product where Date2 has a value.&lt;/P&gt;&lt;P&gt;Is there a way to write this expression to be free from the current selections like we can do in set analysis and which may be better on performance, may be using Set Analysis?&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Apr 2010 14:08:13 GMT</pubDate>
    <dc:creator>amit_shetty78</dc:creator>
    <dc:date>2010-04-20T14:08:13Z</dc:date>
    <item>
      <title>Help with expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/219091#M72137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have the following expression in a pivot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;=IF((sum(if(Month([Date1])='Feb',1,0)) * sum(if(Month([Date2])='Feb',1,0))),&lt;BR /&gt; sum(if(Month([Date2])='Feb',1,0)))&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This basically does is aggregates for the dimension product and counts the number of entries for the product where Date2 has a value.&lt;/P&gt;&lt;P&gt;Is there a way to write this expression to be free from the current selections like we can do in set analysis and which may be better on performance, may be using Set Analysis?&lt;/P&gt;&lt;P&gt;Any suggestions.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Apr 2010 14:08:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-expression/m-p/219091#M72137</guid>
      <dc:creator>amit_shetty78</dc:creator>
      <dc:date>2010-04-20T14:08:13Z</dc:date>
    </item>
  </channel>
</rss>

