<?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: Exclude rows based on two columns and list values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659582#M49449</link>
    <description>&lt;P&gt;May be this set analysis within your expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{&amp;lt;Invoice = e({&amp;lt;Material = {'A','X','Y','Z'}&amp;gt;})&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 02:18:53 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-12-20T02:18:53Z</dc:date>
    <item>
      <title>Exclude rows based on two columns and list values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659539#M49447</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello Experts ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need to exclude rows in the table based on two columns information.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have a list of materials like 'A','X','Y','Z' and i need to exclude all invoices where this materials exist&lt;/P&gt;&lt;P&gt;For source below I need to exclude three first rows where invoice is 111 as it contain material from the list - 'A'&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Invoice&lt;/TD&gt;&lt;TD&gt;Material&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;111&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;111&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;111&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;222&lt;/TD&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;222&lt;/TD&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;222&lt;/TD&gt;&lt;TD&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really not good in set analysis, so, please help me to write down correct expression.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Dec 2021 17:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659539#M49447</guid>
      <dc:creator>Yury</dc:creator>
      <dc:date>2021-12-22T17:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude rows based on two columns and list values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659581#M49448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/69299"&gt;@Yury&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can exclude sets by using the "-=" symbol in your set modifier, like so:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Material -= {'A'}&amp;gt;} YourMeasure)&lt;/P&gt;&lt;P&gt;To do it for all values of Material as you appear to want to do:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Material -= {"*"}&amp;gt;} YourMeasure)&lt;/P&gt;&lt;P&gt;You can also look to use the 'P()' and 'E()' element functions to do things like this.&lt;/P&gt;&lt;P&gt;Hopefully what you need is somewhere in there, I wasn't entirely clear on what you are trying to do.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 01:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659581#M49448</guid>
      <dc:creator>Rodj</dc:creator>
      <dc:date>2019-12-20T01:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exclude rows based on two columns and list values</title>
      <link>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659582#M49449</link>
      <description>&lt;P&gt;May be this set analysis within your expression&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{&amp;lt;Invoice = e({&amp;lt;Material = {'A','X','Y','Z'}&amp;gt;})&amp;gt;}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 02:18:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Exclude-rows-based-on-two-columns-and-list-values/m-p/1659582#M49449</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-12-20T02:18:53Z</dc:date>
    </item>
  </channel>
</rss>

