<?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: Filtering Data in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951719#M13529</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the idea... That we all get to learn from each other. I am glad that you got to learn something from me today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 11 Oct 2015 18:42:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-10-11T18:42:42Z</dc:date>
    <item>
      <title>Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951711#M13521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a very large data set and I'm trying to filter out the data I don't need during the load process.&amp;nbsp; I've been able to filter Material using the Where Not Exists() below, but I still need to filter further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the MainTable the Material column contains a value called Service Contract&amp;nbsp; and an Order column that contains a contact number value (ex. 400234234).&amp;nbsp;&amp;nbsp; I've been able to pull a list of all contract values (Order column) that I need to keep (as outlined in IncludedFile below).&amp;nbsp; Now I'm trying filter out all rows that contain a contract values that are not included in the IncludedFile where the Material is equal to Service Contract.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking that I need to do some sort of combine of Material and Order in the IncludedContracts table to create a unique key and then use a Where Exists() but I can't seem to get that to work. (items commented out won't work but show thought process).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty new to Qlik so any thoughts or suggestions would be greatly appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExcludeMaterial:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Material as ExcludedMaterial&lt;/P&gt;&lt;P&gt;FROM ExcludedFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;IncludedContracts:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Material,&lt;/P&gt;&lt;P&gt;"Order",&lt;/P&gt;&lt;P&gt;//Material&amp;amp;"Order" as ContractKey&lt;/P&gt;&lt;P&gt;FROM IncludedFile;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;MainTable:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;LOAD Material,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Orders",&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllOtherColumns&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;FROM MainFile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;Where Not Exists (ExcludedMaterial,Material);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;//Where Exists (ContractKey,Material&amp;amp;"Orders");&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;DROP Table ExcludeMaterial;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;DROP Table IncludedContracts;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 19:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951711#M13521</guid>
      <dc:creator />
      <dc:date>2015-10-10T19:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951712#M13522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand your requirement, may be this:&lt;/P&gt;&lt;P&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&gt;ExcludeMaterial:&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;STRONG&gt;LOAD&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;STRONG&gt;Material as ExcludedMaterial&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;STRONG&gt;FROM ExcludedFile;&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;&lt;STRONG&gt;TempTable:&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;LOAD Material,&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders,&lt;BR /&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllOtherColumns&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;FROM MainFile&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;Where Not Exists (ExcludedMaterial,Material);&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;&lt;STRONG&gt;IncludedContracts:&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;STRONG&gt;LOAD &lt;SPAN style="line-height: 1.5em;"&gt;Orders as IncludeOrders&lt;/SPAN&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;STRONG&gt;FROM IncludedFile;&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;STRONG&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;STRONG&gt;NoConcatenate&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;MainTable:&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;LOAD Material,&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders,&lt;BR /&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllOtherColumns&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;Resident TempTable&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;STRONG style="line-height: 1.5em; color: #575757; font-style: inherit; font-family: inherit;"&gt;Where Exists (IncludeOrders, Orders) and Material = 'Service Contract';&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;STRONG style="line-height: 1.5em; color: #575757; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&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;STRONG style="line-height: 1.5em; color: #575757; font-style: inherit; font-family: inherit;"&gt;Concatenate (MainTable)&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;LOAD Material,&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders,&lt;BR /&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllOtherColumns&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;Resident TempTable&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;Where not Material = 'Service Contract';&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&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;STRONG style="color: #575757; font-style: inherit; font-family: inherit;"&gt;DROP Tables ExcludeMaterial, &lt;/STRONG&gt;&lt;SPAN style="color: #575757; font-family: inherit; font-style: inherit; font-weight: inherit; line-height: 1.5em;"&gt;&lt;STRONG&gt;IncludedContracts, TempTable;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Oct 2015 23:51:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951712#M13522</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-10T23:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951713#M13523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the data to load but keep getting the following error: Field not found - &amp;lt;Line Itm&amp;gt;. The error seems to be occurring in the section below. Thoughts? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;MainTable:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Customer Name" as CustomerName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 1" as SubCategory1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 2" as SubCategory2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order Type" as OrderType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invoice Type" as InvoiceType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sales Region" as SalesRegion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;BR /&gt;Resident TempTable&lt;BR /&gt;Where Exists (Includeorders,"Order") and Material='SERVICE CONTRACT';&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 02:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951713#M13523</guid>
      <dc:creator />
      <dc:date>2015-10-11T02:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951714#M13524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post the complete script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 14:41:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951714#M13524</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-11T14:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951715#M13525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ExcludeMaterial:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material as Material_Excl&lt;BR /&gt;FROM [lib://ProductLine/Product Line (Software and Hardware)\ServiceException.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;TempTable:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Customer Name" as CustomerName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 1" as SubCategory1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 2" as SubCategory2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order Type" as OrderType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invoice Type" as InvoiceType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sales Region" as SalesRegion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;BR /&gt;FROM [lib://ProductLine/testComputerService 2011 through Oct 8 2015.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;WHERE NOT EXISTS (Material_Excl,Material)&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;IncludedContracts:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "Order" as Includeorders&lt;BR /&gt;&amp;nbsp;&amp;nbsp; FROM [lib://ProductLine/Product Line (Software and Hardware)\SoftwareContractFilter.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;BR /&gt;MainTable:&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Customer Name" as CustomerName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 1" as SubCategory1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 2" as SubCategory2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order Type" as OrderType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invoice Type" as InvoiceType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sales Region" as SalesRegion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;BR /&gt;Resident TempTable&lt;BR /&gt;Where Exists (Includeorders,"Order") and Material='SERVICE CONTRACT';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate(MainTable)&lt;BR /&gt;LOAD&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Customer Name" as CustomerName,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 1" as SubCategory1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 2" as SubCategory2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order Type" as OrderType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invoice Type" as InvoiceType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sales Region" as SalesRegion,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;BR /&gt;Resident TempTable&lt;BR /&gt;Where not Material='SERVICE CONTRACT';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Tables ExcludeMaterial,IncludedContracts,TempTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 14:56:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951715#M13525</guid>
      <dc:creator />
      <dc:date>2015-10-11T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951716#M13526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&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&gt;ExcludeMaterial:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material as Material_Excl&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [lib://ProductLine/Product Line (Software and Hardware)\ServiceException.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&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;BR /&gt;&lt;STRONG&gt;TempTable:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Customer Name" as CustomerName,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 1" as SubCategory1,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sub Category 2" as SubCategory2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order Type" as OrderType,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invoice Type" as InvoiceType,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Sales Region" as SalesRegion,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;FROM [lib://ProductLine/testComputerService 2011 through Oct 8 2015.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;WHERE NOT EXISTS (Material_Excl,Material);&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;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;IncludedContracts:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; "Order" as Includeorders&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp; FROM [lib://ProductLine/Product Line (Software and Hardware)\SoftwareContractFilter.xlsx]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Sheet1);&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;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MainTable:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;CustomerName,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubCategory1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubCategory2,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderType,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceType,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesRegion,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Resident TempTable&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where Exists (Includeorders,"Order") and Material='SERVICE CONTRACT';&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;&lt;STRONG&gt;Concatenate(MainTable)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Material,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;CustomerName,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubCategory1,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SubCategory2,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderType,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InvoiceType,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG style="color: #ff0000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SalesRegion,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Order",&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reference&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Resident TempTable&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Where not Material='SERVICE CONTRACT';&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;&lt;STRONG&gt;DROP Tables ExcludeMaterial,IncludedContracts,TempTable;&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;Since you are using a resident load from TempTable, you need to use their new names instead of the old ones.&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;Best,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 15:21:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951716#M13526</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-11T15:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951717#M13527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it working now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 15:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951717#M13527</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-11T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951718#M13528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script ran successfully - now validating the solution and will mark your initial reply as correct answer once complete. I greatly appreciate you helping me with this problem. I've learned a lot during this process.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 15:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951718#M13528</guid>
      <dc:creator />
      <dc:date>2015-10-11T15:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Data</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951719#M13529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the idea... That we all get to learn from each other. I am glad that you got to learn something from me today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2015 18:42:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Data/m-p/951719#M13529</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-10-11T18:42:42Z</dc:date>
    </item>
  </channel>
</rss>

