<?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 Selection and Set analysis Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/742999#M473268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with my set analysis in a chart.&amp;nbsp; Below is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(_TimePeriod = '1 MONTH', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, IsCurrentMonth = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '3 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, Is3Month = {1}&amp;gt;} Qty), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '6 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, Is6Month = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = 'QTD', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, IsQtd = {1}&amp;gt;} Qty)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so when I want to conditionally show another expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(_TimePeriod = '1 MONTH', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, IsCurrentMonth = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '3 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, Is3Month = {1}&amp;gt;} Qty), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '6 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, Is6Month = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = 'QTD', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, IsQtd = {1}&amp;gt;} Qty)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Values for ProductId 2 are not showing up and I cannot figure out why.&amp;nbsp; It seems like I am licked into a weird selection, where productId = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 21:49:13 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-11-13T21:49:13Z</dc:date>
    <item>
      <title>Selection and Set analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/742999#M473268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having an issue with my set analysis in a chart.&amp;nbsp; Below is my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(_TimePeriod = '1 MONTH', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, IsCurrentMonth = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '3 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, Is3Month = {1}&amp;gt;} Qty), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '6 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, Is6Month = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = 'QTD', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1}, IsQtd = {1}&amp;gt;} Qty)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so when I want to conditionally show another expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(_TimePeriod = '1 MONTH', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, IsCurrentMonth = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '3 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, Is3Month = {1}&amp;gt;} Qty), &lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = '6 MONTHS', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, Is6Month = {1}&amp;gt;} Qty),&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(_TimePeriod = 'QTD', Sum({$&amp;lt;Measure={'TEB'}, ProductId = {1,2}, IsQtd = {1}&amp;gt;} Qty)))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Values for ProductId 2 are not showing up and I cannot figure out why.&amp;nbsp; It seems like I am licked into a weird selection, where productId = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 21:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/742999#M473268</guid>
      <dc:creator />
      <dc:date>2014-11-13T21:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and Set analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743000#M473269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;ProductId = {'1','2'}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743000#M473269</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-13T22:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and Set analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743001#M473270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No change, unfortunately &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:24:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743001#M473270</guid>
      <dc:creator />
      <dc:date>2014-11-13T22:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Selection and Set analysis Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743002#M473271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using multiple expressions and the conditional to calculate each one of those, that way you could also debug it a lot easier&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 22:27:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Selection-and-Set-analysis-Issue/m-p/743002#M473271</guid>
      <dc:creator />
      <dc:date>2014-11-13T22:27:11Z</dc:date>
    </item>
  </channel>
</rss>

