<?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 Filtering rows with IF expression in which one value does not exist in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524415#M482228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to build and expression to find out all the people who do not finished any courses for which they get CourseCredits. In my data model the CourseCredits field is linked to many statuses (such as failed and planned) and so I need to filter out all the rows with the Status 'Done'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following expression but it just filters out the Status values 'Done' whereas I want to filter all the people who do not have Status 'Done': &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum(if(&lt;STRONG style="text-decoration: underline;"&gt;Status &amp;lt;&amp;gt; 'Done'&lt;/STRONG&gt;, CourseCredits, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody help me out what I should use here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mikael &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 11:49:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-23T11:49:36Z</dc:date>
    <item>
      <title>Filtering rows with IF expression in which one value does not exist</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524415#M482228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to build and expression to find out all the people who do not finished any courses for which they get CourseCredits. In my data model the CourseCredits field is linked to many statuses (such as failed and planned) and so I need to filter out all the rows with the Status 'Done'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following expression but it just filters out the Status values 'Done' whereas I want to filter all the people who do not have Status 'Done': &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= sum(if(&lt;STRONG style="text-decoration: underline;"&gt;Status &amp;lt;&amp;gt; 'Done'&lt;/STRONG&gt;, CourseCredits, 0))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody help me out what I should use here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mikael &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 11:49:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524415#M482228</guid>
      <dc:creator />
      <dc:date>2013-08-23T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering rows with IF expression in which one value does not exist</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524416#M482229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;= if(&lt;/SPAN&gt;Status &amp;lt;&amp;gt; 'Done', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum(CourseCredits), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;also in Total Mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;check "Sum og Rows"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 11:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524416#M482229</guid>
      <dc:creator>narender123</dc:creator>
      <dc:date>2013-08-23T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering rows with IF expression in which one value does not exist</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524417#M482230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This filters out all the PersonID's that do not have a status Done, leaving only those persons that finished at least one course: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PersonID=p({&amp;lt;Status={'Done'}&amp;gt;}PersonID)&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; CourseCredits)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This filters out all the PersonID's that do have a status Done, leaving only those persons that did not finish any course:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PersonID=e({&amp;lt;Status={'Done'}&amp;gt;}PersonID)&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; CourseCredits)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Replace PersonID with the field that identifies your persons.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:13:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-rows-with-IF-expression-in-which-one-value-does-not/m-p/524417#M482230</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-08-23T12:13:56Z</dc:date>
    </item>
  </channel>
</rss>

