<?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 Compare 2 fields from 2 tables - With Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-2-fields-from-2-tables-With-Set-Analysis/m-p/301981#M1193266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All.&lt;/P&gt;&lt;P&gt;Please see the file attached, and look on it's script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this file I have 3 tables: &lt;/P&gt;&lt;P&gt;SerialCakes: The serial number for each cake, and it's request quantity.&lt;/P&gt;&lt;P&gt;RecipeIngredients:&amp;nbsp;&amp;nbsp; Cake ingredient&amp;nbsp; + coefficient(quant for 1 cake).&lt;/P&gt;&lt;P&gt;Transorder: list of&amp;nbsp; the De-facto consumption. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the GUI I created 2 straight tables: "Recipe Ingredients", "De Facto".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to show is a straight tables that compare the values from "Recipe Ingredients" and "De Facto".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For expl:&lt;/P&gt;&lt;P&gt;If I select "Sponge cake", I want to show a compare straight table like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="511"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="20" width="91"&gt;PartName&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="74"&gt;PartDes&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="59"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Recipe&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="80"&gt;De Facto&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none;" width="207"&gt;Gap (Resipe - De Facto)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1008&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;flour&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;249&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;249&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1009&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Sugar&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;373.8&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;373.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1015&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;eggs&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1800&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none;"&gt;348&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;1452&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1020&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;rum&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1033&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Wine&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none;"&gt;248&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;-248&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;How can I do that (&lt;SPAN style="text-decoration: underline;"&gt;without&lt;/SPAN&gt; changing the tables links, all the tables link with serial.serial)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is clear, and tks for your ideas...&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 24 Jul 2011 11:42:46 GMT</pubDate>
    <dc:creator>matancha</dc:creator>
    <dc:date>2011-07-24T11:42:46Z</dc:date>
    <item>
      <title>Compare 2 fields from 2 tables - With Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-2-fields-from-2-tables-With-Set-Analysis/m-p/301981#M1193266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All.&lt;/P&gt;&lt;P&gt;Please see the file attached, and look on it's script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this file I have 3 tables: &lt;/P&gt;&lt;P&gt;SerialCakes: The serial number for each cake, and it's request quantity.&lt;/P&gt;&lt;P&gt;RecipeIngredients:&amp;nbsp;&amp;nbsp; Cake ingredient&amp;nbsp; + coefficient(quant for 1 cake).&lt;/P&gt;&lt;P&gt;Transorder: list of&amp;nbsp; the De-facto consumption. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the GUI I created 2 straight tables: "Recipe Ingredients", "De Facto".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to show is a straight tables that compare the values from "Recipe Ingredients" and "De Facto".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For expl:&lt;/P&gt;&lt;P&gt;If I select "Sponge cake", I want to show a compare straight table like this:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="511"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="20" width="91"&gt;PartName&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="74"&gt;PartDes&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="59"&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Recipe&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD align="left" class="xl63" style="border-left: medium none;" width="80"&gt;De Facto&lt;/TD&gt;&lt;TD align="left" class="xl64" style="border-left: medium none;" width="207"&gt;Gap (Resipe - De Facto)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1008&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;flour&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;249&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;249&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1009&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Sugar&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;373.8&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;373.8&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1015&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;eggs&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;1800&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none;"&gt;348&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;1452&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1020&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;rum&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;60&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl65" height="20" style="border-top: medium none;"&gt;1033&lt;/TD&gt;&lt;TD align="left" class="xl65" style="border-left: medium none; border-top: medium none;"&gt;Wine&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: medium none;"&gt;0&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: medium none;"&gt;248&lt;/TD&gt;&lt;TD align="right" class="xl66"&gt;-248&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;How can I do that (&lt;SPAN style="text-decoration: underline;"&gt;without&lt;/SPAN&gt; changing the tables links, all the tables link with serial.serial)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is clear, and tks for your ideas...&lt;/P&gt;&lt;P&gt;Matan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Jul 2011 11:42:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-2-fields-from-2-tables-With-Set-Analysis/m-p/301981#M1193266</guid>
      <dc:creator>matancha</dc:creator>
      <dc:date>2011-07-24T11:42:46Z</dc:date>
    </item>
  </channel>
</rss>

