<?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 Re: Set Analysis - Not Equal Too (Multiple values) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334003#M123145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a bug in the syntax checker in expression dialog that claims the -= and following as incorrect, but the status line should say 'expression ok'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, you don't get the correct result, so I seem to miss something in your setting. I am glad the simple solution seems to work (even if it is probably less performant than a full set expression solution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2012 15:21:07 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-07-04T15:21:07Z</dc:date>
    <item>
      <title>Set Analysis - Not Equal Too (Multiple values)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334000#M123142</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;&lt;/P&gt;&lt;P&gt;I am looking for some help in regards to a query with SET ANALYSIS!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following query that is calculating correctly, but if I set any filters the figures are re-calculated based on the filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Complete&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CancelledCall&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need try and achieve the same query using Set Analysis as I need to calculate the number of logs in progress regardless of any filters that have been set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;any help would be much appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Martyn &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:45:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334000#M123142</guid>
      <dc:creator />
      <dc:date>2012-07-04T14:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Not Equal Too (Multiple values)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334001#M123143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the easiest way is to use set identifer 1 in your expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;( &lt;STRONG&gt;{1} &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Complete&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CancelledCall&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;1 &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=1,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;or convert the conditions to a full set expression&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({1&amp;lt;Complete -= {1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CancelledCall -= {1},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {1} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334001#M123143</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-04T14:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Not Equal Too (Multiple values)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334002#M123144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the quick response!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your 1st answer worked correctly and returned the value I was expecting (Thanks very much)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I tried to convert into a full set analysis expression the system didnt seem to like it as there were errors with the query and it returned 0!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({1&amp;lt;Complete -= {1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CancelledCall -= {1},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {1} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I decided to use the easy option!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Great help&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Martyn &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334002#M123144</guid>
      <dc:creator />
      <dc:date>2012-07-04T15:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Not Equal Too (Multiple values)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334003#M123145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a bug in the syntax checker in expression dialog that claims the -= and following as incorrect, but the status line should say 'expression ok'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, you don't get the correct result, so I seem to miss something in your setting. I am glad the simple solution seems to work (even if it is probably less performant than a full set expression solution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 15:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334003#M123145</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-07-04T15:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Not Equal Too (Multiple values)</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334004#M123146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi martyn0578&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Set Expression like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #3366ff;"&gt;sum&lt;/SPAN&gt;({1&amp;lt;Complete ={*}- {1}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CancelledCall ={'*'}- {1},&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {1} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;LatestEntry&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Answer for your question lies in the following post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/303970"&gt;&lt;SPAN class="loading"&gt;http://community.qlik.com/message/303970&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 07:41:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Not-Equal-Too-Multiple-values/m-p/334004#M123146</guid>
      <dc:creator />
      <dc:date>2013-03-18T07:41:31Z</dc:date>
    </item>
  </channel>
</rss>

