<?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 to Exclude Certain Values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Exclude-Certain-Values/m-p/425864#M564913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually developing a waterfall-like chart in Qlikview and I have some problems to calculate some of the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="30548" class="jive-image-thumbnail jive-image" height="288" onclick="" alt="chart.jpg" src="https://community.qlik.com/legacyfs/online/30548_chart.jpg" width="552" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bars coloured in blue represent the Impressions value for the selected period with 12 month rolling. This is &lt;SPAN style="text-decoration: underline;"&gt;correctly &lt;/SPAN&gt;calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Erosion &lt;/SPAN&gt;(in red) represents the sum of the Impressions from printers in the Q3-2011 period that do NOT print in Q3-2012 period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;NEW IB &lt;/SPAN&gt;(in green) represents the sum of the Impressions from printers in the Q3-2012 period that have started printing this period (and that did NOT print in Q3-2011).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions I have now are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;EROSION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYear2MinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDateMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Impressions&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt;/1000000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;NEW IB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDateMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYear2MinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Impressions&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt;/1000000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that in both of the expressions the part of "DateComparison2" is correct, as it is only establishing the perior from which the impressions should be sumed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem on both Erosion and New IB expression resides on the exclusion part of the "Serial Number"s, which I think I am not doing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I get the sum of the Impressions as I want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;- Erosion &lt;/SPAN&gt;(in red) represents the sum of the Impressions from printers in the Q3-2011 period that do NOT print in Q3-2012 period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;- NEW IB &lt;/SPAN&gt;(in green) represents the sum of the Impressions from printers in the Q3-2012 period that have started printing this period (and that did NOT print in Q3-2011).&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;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 10:27:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-01-16T10:27:26Z</dc:date>
    <item>
      <title>Set Analysis to Exclude Certain Values</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Exclude-Certain-Values/m-p/425864#M564913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello people,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually developing a waterfall-like chart in Qlikview and I have some problems to calculate some of the expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="30548" class="jive-image-thumbnail jive-image" height="288" onclick="" alt="chart.jpg" src="https://community.qlik.com/legacyfs/online/30548_chart.jpg" width="552" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bars coloured in blue represent the Impressions value for the selected period with 12 month rolling. This is &lt;SPAN style="text-decoration: underline;"&gt;correctly &lt;/SPAN&gt;calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Erosion &lt;/SPAN&gt;(in red) represents the sum of the Impressions from printers in the Q3-2011 period that do NOT print in Q3-2012 period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;NEW IB &lt;/SPAN&gt;(in green) represents the sum of the Impressions from printers in the Q3-2012 period that have started printing this period (and that did NOT print in Q3-2011).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions I have now are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;EROSION&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0-&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYear2MinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDateMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Impressions&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt;/1000000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;NEW IB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDateMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;e&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateComparison2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;$(=date(Date#(vQuarterEndDatePreviousYear2MinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY')) &amp;lt;=$(=date(Date#(vQuarterEndDatePreviousYearMinusOne,'DD/MM/YYYY'), 'MM/DD/YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Serial Number]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Impressions&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;BR /&gt;/1000000 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that in both of the expressions the part of "DateComparison2" is correct, as it is only establishing the perior from which the impressions should be sumed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem on both Erosion and New IB expression resides on the exclusion part of the "Serial Number"s, which I think I am not doing correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How could I get the sum of the Impressions as I want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;- Erosion &lt;/SPAN&gt;(in red) represents the sum of the Impressions from printers in the Q3-2011 period that do NOT print in Q3-2012 period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;- NEW IB &lt;/SPAN&gt;(in green) represents the sum of the Impressions from printers in the Q3-2012 period that have started printing this period (and that did NOT print in Q3-2011).&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;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 10:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-to-Exclude-Certain-Values/m-p/425864#M564913</guid>
      <dc:creator />
      <dc:date>2013-01-16T10:27:26Z</dc:date>
    </item>
  </channel>
</rss>

