<?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 Question on set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275914#M102959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD -&amp;gt; sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',F_CV_YTD*SEC_REV_FLAG/1000,F_CV_YTD)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last YTD -&amp;gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',(F_CV_PREV_YTD*SEC_REV_FLAG)/1000,F_CV_PREV_YTD/1000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FY -&amp;gt; sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',(F_CV_PREV_YEAR*SEC_REV_FLAG)/1000,F_CV_PREV_YEAR/1000))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Dec 2011 21:14:42 GMT</pubDate>
    <dc:creator>jolivares</dc:creator>
    <dc:date>2011-12-02T21:14:42Z</dc:date>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275910#M102955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have been trying to resolve this but cant get it working... appreciate if someone can help....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the attached file.. when I click on Americas and select Yes for Exclude primary revenue, the chart should still show revenue across all regions but it should exclude primary revenue.. all primary revenue is attributed towards Primary business in this example. But that may not be the case all the time. So cannot write the logic using L3_NM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary revenue flag is determined based on SEC_REV_FLAG that is part of every revenue record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is if I select a particular EQ_L3_NM, it excludes primary revenue for that selected region but not from all other regions... I am using below expression -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(only(EXCLUDE_PRIMARY_REVENUE_FLAG)='Yes',&lt;/P&gt;&lt;P&gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} F_CV_YTD*SEC_REV_FLAG)/1000,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} F_CV_YTD)/1000&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for any suggestions..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:41:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275910#M102955</guid>
      <dc:creator />
      <dc:date>2011-12-02T20:41:55Z</dc:date>
    </item>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275911#M102956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with if(only(total ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275911#M102956</guid>
      <dc:creator />
      <dc:date>2011-12-02T20:55:52Z</dc:date>
    </item>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275912#M102957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry.. I didnt quite understand.. .can you elaborate more please...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 20:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275912#M102957</guid>
      <dc:creator />
      <dc:date>2011-12-02T20:58:43Z</dc:date>
    </item>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275913#M102958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; color: #636363; font-family: Arial;"&gt;=if(only(total EXCLUDE_PRIMARY_REVENUE_FLAG)='Yes',&lt;/P&gt;&lt;P style="background-color: #eef4f9; color: #636363; font-family: Arial;"&gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} F_CV_YTD*SEC_REV_FLAG)/1000,&lt;/P&gt;&lt;P style="background-color: #eef4f9; color: #636363; font-family: Arial;"&gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} F_CV_YTD)/1000&lt;/P&gt;&lt;P style="background-color: #eef4f9; color: #636363; font-family: Arial;"&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 21:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275913#M102958</guid>
      <dc:creator />
      <dc:date>2011-12-02T21:01:16Z</dc:date>
    </item>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275914#M102959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD -&amp;gt; sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',F_CV_YTD*SEC_REV_FLAG/1000,F_CV_YTD)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last YTD -&amp;gt;sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',(F_CV_PREV_YTD*SEC_REV_FLAG)/1000,F_CV_PREV_YTD/1000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FY -&amp;gt; sum({&amp;lt;EQ_L3_NM=,EQ_L2_NM=&amp;gt;} if(EXCLUDE_PRIMARY_REVENUE_FLAG='Yes',(F_CV_PREV_YEAR*SEC_REV_FLAG)/1000,F_CV_PREV_YEAR/1000))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 21:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275914#M102959</guid>
      <dc:creator>jolivares</dc:creator>
      <dc:date>2011-12-02T21:14:42Z</dc:date>
    </item>
    <item>
      <title>Question on set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275915#M102960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you both...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 21:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-on-set-analysis/m-p/275915#M102960</guid>
      <dc:creator />
      <dc:date>2011-12-02T21:37:45Z</dc:date>
    </item>
  </channel>
</rss>

