<?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: Remove rows base on conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212234#M876048</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;Please find attached qvw. Hope that helps to resolve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Oct 2016 13:55:50 GMT</pubDate>
    <dc:creator>krishnacbe</dc:creator>
    <dc:date>2016-10-24T13:55:50Z</dc:date>
    <item>
      <title>Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212233#M876047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, how to I remove rows base on conditions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Group,name&lt;/P&gt;&lt;P&gt;A, Peter&lt;/P&gt;&lt;P&gt;A,Tan&lt;/P&gt;&lt;P&gt;A, Allen&lt;/P&gt;&lt;P&gt;B,Jacky&lt;/P&gt;&lt;P&gt;B,Tracy&lt;/P&gt;&lt;P&gt;B,Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove Group A because one of the name is Peter.&lt;/P&gt;&lt;P&gt;When I use&amp;nbsp;&amp;nbsp;&amp;nbsp; if(name &amp;lt;&amp;gt; Peter,1,0)&amp;nbsp; // I hides the 0's&amp;nbsp; , the other name in group A still shows. How do I remove them as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212233#M876047</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212234#M876048</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;Please find attached qvw. Hope that helps to resolve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212234#M876048</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-10-24T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212235#M876049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are few ways you can resolve this, I used one of them and please go thru the attachment. Hope this helps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="RemoveRowsBasedOnCondtion.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/141720_RemoveRowsBasedOnCondtion.jpg" style="height: 331px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Oct 2016 14:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212235#M876049</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-24T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212236#M876050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Thirumala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code seem to work if only one group contain name Peter. If the third group, C, contain Peter as well, it will not work. I have multiple groups with the same name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had attach back the same sample but included group C with name Peter in it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 01:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212236#M876050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-25T01:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212237#M876051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached and hope this is what you want,,,,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212237#M876051</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-25T13:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212238#M876052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your output if you want to eliminate the group where the name is 'Peter' then please use the attached file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your dimension will be as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Only({&amp;lt;Group -= P({&amp;lt;Name ={"Peter"}&amp;gt;}) &amp;gt;} Group),Group)&lt;/P&gt;&lt;P&gt;=Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Oct 2016 15:19:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212238#M876052</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-25T15:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212239#M876054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You, it works!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to explain to me what the expression mean?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Only&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;P&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"Peter"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}) &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 02:17:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212239#M876054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T02:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212240#M876056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to hear that it worked....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Explanation:&lt;/P&gt;&lt;P&gt;First I used Only() function to get the groups where the name is not 'Peter' :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({&amp;lt;Group -= P({&amp;lt;Name ={"Peter"}&amp;gt;}) &amp;gt;} Group)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Hope you noticed a hyphen &lt;STRONG&gt;'-'&lt;/STRONG&gt; in front of the equal sign meaning not equal. In the other way I am saying bring all the groups expect the groups where the name is 'Peter'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I am wrapping the only() function with Aggr() function to group it in the dimension like below:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;=Aggr(Only({&amp;lt;Group -= P({&amp;lt;Name ={"Peter"}&amp;gt;}) &amp;gt;} Group),Group)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hope this helps....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 06:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212240#M876056</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-26T06:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212241#M876057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand better now, is 'P' together with '-=' or does it have other meaning?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 07:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212241#M876057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-26T07:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212242#M876058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The below expression is a &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Indirect Set Analysis (P means possible):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;P({&amp;lt;Name ={"Peter"}&amp;gt;})&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;There are two types like below:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;• p( ) = Possible&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;• e( ) = Excluded&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;This expression returns all possible records where Name= 'Peter'. Based on which record has the name Peter, then that is passed to the Group. Then we are eliminating that Group by using '&lt;STRONG&gt;- ='&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps....&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:01:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212242#M876058</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-10-26T16:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Remove rows base on conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212243#M876059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright! I understand. thks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2016 00:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-rows-base-on-conditions/m-p/1212243#M876059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-27T00:56:41Z</dc:date>
    </item>
  </channel>
</rss>

