<?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: Filter a field by values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733888#M592138</link>
    <description>&lt;P&gt;You are right. I corrected it in my code.&lt;/P&gt;&lt;P&gt;Thanks a ton for the help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It worked!&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2020 18:06:14 GMT</pubDate>
    <dc:creator>markgraham123</dc:creator>
    <dc:date>2020-08-06T18:06:14Z</dc:date>
    <item>
      <title>Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733862#M592129</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi all,&lt;/P&gt;&lt;P class="lia-align-justify"&gt;I'm working on a task to pull only the orders which have Products - A,B,C in any combinations.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;As long as an order has only those Products, i want to pull the order, else i want to exclude it.&lt;/P&gt;&lt;P class="lia-align-justify"&gt;Here is Sample data:&lt;/P&gt;&lt;TABLE width="137"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="137"&gt;Products&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;TABLE width="264px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;Order&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;Products&lt;/TD&gt;&lt;TD width="71px" height="25px"&gt;Result&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;A&lt;/TD&gt;&lt;TD width="71px" height="75px"&gt;Load&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;A&lt;/TD&gt;&lt;TD width="71px" height="50px"&gt;Load&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="129.5px" height="25px"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="37px"&gt;3&lt;/TD&gt;&lt;TD width="129.5px" height="37px"&gt;B&lt;/TD&gt;&lt;TD width="71px" height="112px"&gt;Exclude - As we have Product -'D'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="37px"&gt;3&lt;/TD&gt;&lt;TD width="129.5px" height="37px"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="38px"&gt;3&lt;/TD&gt;&lt;TD width="129.5px" height="38px"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="37px"&gt;4&lt;/TD&gt;&lt;TD width="129.5px" height="37px"&gt;A&lt;/TD&gt;&lt;TD width="71px" height="112px"&gt;Exclude As we have Product - 'D'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="37px"&gt;4&lt;/TD&gt;&lt;TD width="129.5px" height="37px"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="38px"&gt;4&lt;/TD&gt;&lt;TD width="129.5px" height="38px"&gt;D&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="45px"&gt;5&lt;/TD&gt;&lt;TD width="129.5px" height="45px"&gt;A&lt;/TD&gt;&lt;TD width="71px" height="135px"&gt;Exclude As we have Products -&amp;nbsp; 'E' and 'F'&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="45px"&gt;5&lt;/TD&gt;&lt;TD width="129.5px" height="45px"&gt;E&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="62.5px" height="45px"&gt;5&lt;/TD&gt;&lt;TD width="129.5px" height="45px"&gt;F&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please help? Any help is highly appreciated.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733862#M592129</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2024-11-16T00:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733865#M592130</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp; Hope you are doing well! Any thoughts?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733865#M592130</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2020-08-06T17:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733866#M592131</link>
      <description>&lt;P&gt;do you want to do this in script? or on chart?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733866#M592131</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-06T17:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733868#M592132</link>
      <description>&lt;P&gt;In Script please.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733868#M592132</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2020-08-06T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733870#M592133</link>
      <description>&lt;P&gt;follow below approach&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;//Step 1 load orders with other products
load distinct Order as ExcludeOrder
from yoursource
where not match(Products,'A','B','C')

//Step 2 load data not in above
load *
from yoursource
where not exists(ExcludeOrder,Order)&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:11:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733870#M592133</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-06T17:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733877#M592134</link>
      <description>&lt;P&gt;This is not working as we are filtering by products.&lt;/P&gt;&lt;P&gt;In this case, i still get the orders 3,4,5.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:28:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733877#M592134</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2020-08-06T17:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733878#M592135</link>
      <description>&lt;P&gt;share your code&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733878#M592135</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-06T17:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733880#M592136</link>
      <description>&lt;P&gt;SKU_Required:&amp;nbsp; &lt;STRONG&gt;//This is where i have all my products that are to be loaded&lt;/STRONG&gt;&lt;BR /&gt;LOAD item_number as SKU&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Desktop\SKUS.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Orders:&lt;BR /&gt;load distinct Order as Exclude_Order&amp;nbsp; //This section is bringing in all orders&amp;nbsp;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Desktop\Orders.qvd]&lt;BR /&gt;(qvd)&lt;BR /&gt;where not exists(SKU, item_number);&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733880#M592136</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2020-08-06T17:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733883#M592137</link>
      <description>&lt;P&gt;in my dummy code first load i am loading all the order with products other than a,b,c i.e.&amp;nbsp;orderids which should be excluded&lt;/P&gt;&lt;P&gt;in second load you should exlcude these.&lt;/P&gt;&lt;P&gt;you code doesnt seem to be doing that&amp;nbsp;&lt;/P&gt;&lt;P&gt;question for you whats the SKU.qvd do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:48:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733883#M592137</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2020-08-06T17:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter a field by values</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733888#M592138</link>
      <description>&lt;P&gt;You are right. I corrected it in my code.&lt;/P&gt;&lt;P&gt;Thanks a ton for the help! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It worked!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-a-field-by-values/m-p/1733888#M592138</guid>
      <dc:creator>markgraham123</dc:creator>
      <dc:date>2020-08-06T18:06:14Z</dc:date>
    </item>
  </channel>
</rss>

