<?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: Exist or join with multiple tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582942#M598028</link>
    <description>&lt;P&gt;JONNAMB: That gets the sales data in, but the work order data still doesn't show up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2019 17:34:32 GMT</pubDate>
    <dc:creator>nburton78</dc:creator>
    <dc:date>2019-05-21T17:34:32Z</dc:date>
    <item>
      <title>Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582439#M598022</link>
      <description>&lt;P&gt;I have 3 tables: Purchasing, Sales and Work Orders&lt;/P&gt;&lt;P&gt;Purchasing&amp;nbsp; is lot number and quantity&lt;/P&gt;&lt;P&gt;Sales is lot number and quantity&lt;/P&gt;&lt;P&gt;Work orders is Parent lot and Component lot and Quantity.&lt;/P&gt;&lt;P&gt;I to show work orders only where the parent lot equals the sales lot number and component lot equals the purchasing lot number.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;**Don't know if it's relevant, but I need the Purchasing and Sales lot numbers to align, thus&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if I'm not explaining it correct, but the report has to do with imports and exports, I have a list of all the imports (Purchasing) and then I have a seperate list&amp;nbsp; with the exports (sales).&amp;nbsp; The last piece is to look at workorders . During that process a component lot is changed and becomes a different, parent lot.&amp;nbsp; I have a list of all the workorders along with their component lot numbers and parent lot numbers.&amp;nbsp; I was hoping there was a way to look at a workorder and if the component exists in the purchasing table and the parent in the sales table then include it in the workorder table.&amp;nbsp; Is this possible?&amp;nbsp; I have the first part done the workorder table is whats really messing with me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Purchasing:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;lot_Number,&lt;/P&gt;&lt;P&gt;Purchasing_Quantity&lt;/P&gt;&lt;P&gt;From Purchasing.qvd;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;lot_Number,&lt;/P&gt;&lt;P&gt;Sales_Quantity&lt;/P&gt;&lt;P&gt;From Sales.QVD;&lt;/P&gt;&lt;P&gt;WorkOrders:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Parentlotnumber,&lt;/P&gt;&lt;P&gt;Componentlotnumber,&lt;/P&gt;&lt;P&gt;WOQuantity&lt;/P&gt;&lt;P&gt;from Workorder.QVD;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582439#M598022</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2024-11-16T03:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582588#M598023</link>
      <description>&lt;P&gt;Hi, one option is concatenate all data in one table:&lt;/P&gt;&lt;P&gt;FactTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;lot_Number,&lt;/P&gt;&lt;P&gt;lot_Number as Componentlotnumber&lt;/P&gt;&lt;P&gt;Purchasing_Quantity,&lt;/P&gt;&lt;P&gt;'Purchase' as FactType&lt;/P&gt;&lt;P&gt;From Purchasing.qvd;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Concatenate(FactTable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;lot_Number,&lt;/P&gt;&lt;P&gt;lot_Number as Parentlotnumber,&lt;/P&gt;&lt;P&gt;Sales_Quantity,&lt;/P&gt;&lt;P&gt;'Sale' as FactType&lt;/P&gt;&lt;P&gt;From Sales.QVD;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Concatenate(FactTable)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Parentlotnumber,&lt;/P&gt;&lt;P&gt;Componentlotnumber,&lt;/P&gt;&lt;P&gt;WOQuantity,&lt;/P&gt;&lt;P&gt;'WorkOrder' as FactType&lt;/P&gt;&lt;P&gt;from Workorder.QVD&lt;/P&gt;&lt;P&gt;Where Exists(Parentlotnumber) and Exists(Componentlotnumber);&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 08:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582588#M598023</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T08:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582802#M598024</link>
      <description>&lt;P&gt;I'm not sure if this is what i'm looking for.&amp;nbsp; I need all from the purchase table, all from the sales table and the subset of the workorder table that occurs in both sales and purchase.&amp;nbsp; Is that clearer?&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 13:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582802#M598024</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2019-05-21T13:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582807#M598025</link>
      <description>Well, I haven't tested but that's what it should do: olnly load workorders that already ahs loaded a Parentlotnumber in sales and a Componentlotnumberin purchases</description>
      <pubDate>Tue, 21 May 2019 13:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582807#M598025</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2019-05-21T13:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582875#M598026</link>
      <description>&lt;P&gt;Hello Nburton78,&lt;/P&gt;&lt;P&gt;I believe this is what you are looking for:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Quantity_Table:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Load&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;lot_Number as Componentlotnumber,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Purchasing_Quantity,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;'0' as Sales_Quantity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;From Purchasing.qvd;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;Concatenate(&lt;FONT face="courier new,courier" size="2" color="#0000FF"&gt;Quantity_Table&lt;/FONT&gt;)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;Load&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;lot_Number as &lt;FONT color="#0000FF"&gt;Componentlotnumber&lt;/FONT&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;Sales_Quantity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;&lt;FONT face="courier new,courier" size="2"&gt;'0' as Purchase_Quantity&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#993300"&gt;From Sales.QVD;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;WorkOrders:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;NoConcatenate&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;Load&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;Parentlotnumber,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;&lt;FONT color="#0000FF"&gt;Componentlotnumber&lt;/FONT&gt;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;WOQuantity&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2" color="#003300"&gt;from Workorder.QVD;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Essentially, you will be having 2 tables, associated with ComponentLotNumber field. I hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 14:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582875#M598026</guid>
      <dc:creator>jonnaamb</dc:creator>
      <dc:date>2019-05-21T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582939#M598027</link>
      <description>&lt;P&gt;RubenMarin:&lt;/P&gt;&lt;P&gt;when I tried this none of my sales or workorder data shows up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 17:17:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582939#M598027</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2019-05-21T17:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exist or join with multiple tables</title>
      <link>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582942#M598028</link>
      <description>&lt;P&gt;JONNAMB: That gets the sales data in, but the work order data still doesn't show up.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 17:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Exist-or-join-with-multiple-tables/m-p/1582942#M598028</guid>
      <dc:creator>nburton78</dc:creator>
      <dc:date>2019-05-21T17:34:32Z</dc:date>
    </item>
  </channel>
</rss>

