<?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 LOAD field comparing two diferent table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-field-comparing-two-diferent-table/m-p/2003160#M1221453</link>
    <description>&lt;P&gt;Good moring!&lt;BR /&gt;I need to compare two fields in diferent table to put the rigth value in my destination table.&lt;BR /&gt;LOAD&lt;BR /&gt;my_id, &lt;BR /&gt;my_catalog_number&lt;BR /&gt;FROM&lt;BR /&gt;MY.qvd&lt;BR /&gt;&lt;BR /&gt;LOAD&amp;nbsp;&lt;BR /&gt;vendor_catalog_number1,&lt;BR /&gt;vendor_catalog_number2,&lt;BR /&gt;price&lt;BR /&gt;&lt;SPAN&gt;FROM&lt;BR /&gt;&lt;/SPAN&gt;VENDOR.qvd&lt;BR /&gt;&lt;BR /&gt;I need store a new table with price with:&lt;BR /&gt;my_id, price &lt;BR /&gt;And my_catalog_number:&lt;BR /&gt;if(my_catalog_number=vendor_catalog_number1) use vendor_catalog_number1&lt;BR /&gt;if(my_catalog_number=vendor_catalog_number1) use vendor_catalog_number2&lt;BR /&gt;if( my_catalog_number!=catalog_number1 or catalog_number2= 'not_in_vendor_catalog')&lt;BR /&gt;I also need to know which products I need to register because they exist in the vendor list and do not exist in my system.&lt;BR /&gt;&lt;BR /&gt;Sample:&lt;BR /&gt;MY.QVD&lt;BR /&gt;(id, my_catalog_number)&lt;BR /&gt;1, ABC&lt;BR /&gt;2, 123456&lt;BR /&gt;3, GHI&lt;BR /&gt;&lt;BR /&gt;VENDOR.QVD (vendor_catalog_number1, vendor_catalog_numer2, price)&lt;BR /&gt;ABC, 999999, 12.00&lt;BR /&gt;XYZ,123456, 10.00&lt;BR /&gt;JKL,888888, 20.00&lt;BR /&gt;&lt;BR /&gt;I need a table with (id, catalog_number,price,status)&lt;BR /&gt;1, ABC,12.00,'IN PRICE LIST'&lt;BR /&gt;2,123456,10.'IN PRICE LIST'&lt;BR /&gt;3,GHI,'NOT IN PRICE LIST'&lt;BR /&gt;,JKL,'NOT IN MY LIST'&lt;/P&gt;
&lt;P&gt;I dont have idea to solve it.&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;</description>
    <pubDate>Thu, 10 Nov 2022 15:21:50 GMT</pubDate>
    <dc:creator>alangustavo</dc:creator>
    <dc:date>2022-11-10T15:21:50Z</dc:date>
    <item>
      <title>LOAD field comparing two diferent table</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-field-comparing-two-diferent-table/m-p/2003160#M1221453</link>
      <description>&lt;P&gt;Good moring!&lt;BR /&gt;I need to compare two fields in diferent table to put the rigth value in my destination table.&lt;BR /&gt;LOAD&lt;BR /&gt;my_id, &lt;BR /&gt;my_catalog_number&lt;BR /&gt;FROM&lt;BR /&gt;MY.qvd&lt;BR /&gt;&lt;BR /&gt;LOAD&amp;nbsp;&lt;BR /&gt;vendor_catalog_number1,&lt;BR /&gt;vendor_catalog_number2,&lt;BR /&gt;price&lt;BR /&gt;&lt;SPAN&gt;FROM&lt;BR /&gt;&lt;/SPAN&gt;VENDOR.qvd&lt;BR /&gt;&lt;BR /&gt;I need store a new table with price with:&lt;BR /&gt;my_id, price &lt;BR /&gt;And my_catalog_number:&lt;BR /&gt;if(my_catalog_number=vendor_catalog_number1) use vendor_catalog_number1&lt;BR /&gt;if(my_catalog_number=vendor_catalog_number1) use vendor_catalog_number2&lt;BR /&gt;if( my_catalog_number!=catalog_number1 or catalog_number2= 'not_in_vendor_catalog')&lt;BR /&gt;I also need to know which products I need to register because they exist in the vendor list and do not exist in my system.&lt;BR /&gt;&lt;BR /&gt;Sample:&lt;BR /&gt;MY.QVD&lt;BR /&gt;(id, my_catalog_number)&lt;BR /&gt;1, ABC&lt;BR /&gt;2, 123456&lt;BR /&gt;3, GHI&lt;BR /&gt;&lt;BR /&gt;VENDOR.QVD (vendor_catalog_number1, vendor_catalog_numer2, price)&lt;BR /&gt;ABC, 999999, 12.00&lt;BR /&gt;XYZ,123456, 10.00&lt;BR /&gt;JKL,888888, 20.00&lt;BR /&gt;&lt;BR /&gt;I need a table with (id, catalog_number,price,status)&lt;BR /&gt;1, ABC,12.00,'IN PRICE LIST'&lt;BR /&gt;2,123456,10.'IN PRICE LIST'&lt;BR /&gt;3,GHI,'NOT IN PRICE LIST'&lt;BR /&gt;,JKL,'NOT IN MY LIST'&lt;/P&gt;
&lt;P&gt;I dont have idea to solve it.&amp;nbsp;&lt;BR /&gt;Thanks&lt;/P&gt;
&lt;P&gt;Alan&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 15:21:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-field-comparing-two-diferent-table/m-p/2003160#M1221453</guid>
      <dc:creator>alangustavo</dc:creator>
      <dc:date>2022-11-10T15:21:50Z</dc:date>
    </item>
  </channel>
</rss>

