<?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: Connecting two Independent tables through an expression in Qlikview FrontEnd in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436891#M431564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's probably a way to do this with set analysis, but the easiest (to me) way is:&lt;/P&gt;&lt;P&gt;sum(if([Old Opp Number] = [Opp Number],&amp;nbsp; [Old Sales price]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, I don't really recommend this approach - why not attach the old sales price to the opp number at the script level? You don't have to actually connect the tables, just bring in the one extra column using a mapping load or a join load. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Nov 2017 09:57:24 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2017-11-08T09:57:24Z</dc:date>
    <item>
      <title>Connecting two Independent tables through an expression in Qlikview FrontEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436890#M431563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below two tables with the following data. And for some technical reasons these tables are not connected in the model and there is no chance to connect them also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="128"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="64"&gt;Opp Number&lt;/TD&gt;&lt;TD width="64"&gt;Sales price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;2234&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;5577&lt;/TD&gt;&lt;TD align="right"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;6746&lt;/TD&gt;&lt;TD align="right"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 170px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="106"&gt;Old Opp Number&lt;/TD&gt;&lt;TD width="64"&gt;Old Sales price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;2234&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;5577&lt;/TD&gt;&lt;TD align="right"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;6746&lt;/TD&gt;&lt;TD align="right"&gt;850&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i would like to display in front end like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="234"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" width="106"&gt; Opp Number&lt;/TD&gt;&lt;TD width="64"&gt;Sales price&lt;/TD&gt;&lt;TD width="64"&gt;Old Sales price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;2234&lt;/TD&gt;&lt;TD align="right"&gt;100&lt;/TD&gt;&lt;TD align="right"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;5577&lt;/TD&gt;&lt;TD align="right"&gt;200&lt;/TD&gt;&lt;TD align="right"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19"&gt;6746&lt;/TD&gt;&lt;TD align="right"&gt;450&lt;/TD&gt;&lt;TD align="right"&gt;850&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying the below expression but it working only when i select an opp number, but i wanted show them without any selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimesion :&lt;/P&gt;&lt;P&gt;Opp Number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions:&lt;/P&gt;&lt;P&gt;Sales price : Sum([Sales price])&lt;/P&gt;&lt;P&gt;Old Sales price: &lt;SPAN style="font-size: 10pt;"&gt;Sum({1&amp;lt; [Old Opp Number]=p({$}[Opp Number])&amp;nbsp; &amp;gt;}&lt;SPAN style="font-size: 13.3333px;"&gt;[Old Sales price])&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Would be great if someone can help on this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436890#M431563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T09:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting two Independent tables through an expression in Qlikview FrontEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436891#M431564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's probably a way to do this with set analysis, but the easiest (to me) way is:&lt;/P&gt;&lt;P&gt;sum(if([Old Opp Number] = [Opp Number],&amp;nbsp; [Old Sales price]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That said, I don't really recommend this approach - why not attach the old sales price to the opp number at the script level? You don't have to actually connect the tables, just bring in the one extra column using a mapping load or a join load. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Nov 2017 09:57:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436891#M431564</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-08T09:57:24Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting two Independent tables through an expression in Qlikview FrontEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436892#M431565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your Reply.&lt;/P&gt;&lt;P&gt;The suggestion to use if condition is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have few restrictions not add the old sales price to Table1, because old sales price is being used in other places with other dimensions. If i add old sales price to Table1, it is like having same values in two different tables. If we do not have any other solution we will think to go for this approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 04:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436892#M431565</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T04:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting two Independent tables through an expression in Qlikview FrontEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436893#M431566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to change second table of field to same as first table like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Load * Inline [&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 128px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px solid black;" width="64"&gt;Opp Number&lt;/TD&gt;&lt;TD style="border: 0px solid black;" width="64"&gt;Sales price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;2234&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;5577&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;200&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;6746&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;450&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt; ];&lt;/P&gt;&lt;P&gt;Join&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load [Ola Opp Number] as [Opp Number], [Old Sales price] Inline [&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="19" style="border: 0px solid black;" width="106"&gt;Old Opp Number&lt;/TD&gt;&lt;TD style="border: 0px solid black;" width="64"&gt;Old Sales price&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;2234&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;500&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;5577&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;700&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="19" style="border: 0px solid black;"&gt;6746&lt;/TD&gt;&lt;TD align="right" style="border: 0px solid black;"&gt;850&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In front end, Create straight table&lt;/P&gt;&lt;P&gt;Dimension - [Opp Number]&lt;/P&gt;&lt;P&gt;Expressions are&lt;/P&gt;&lt;P&gt;1) Sum([Sales Price])&lt;/P&gt;&lt;P&gt;2) Sum([Old Sales Price])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 05:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436893#M431566</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-09T05:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting two Independent tables through an expression in Qlikview FrontEnd</title>
      <link>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436894#M431567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;This is going to make a join between two tables on opp number, which we can't do as i was explaining above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 09:17:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Connecting-two-Independent-tables-through-an-expression-in/m-p/1436894#M431567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T09:17:55Z</dc:date>
    </item>
  </channel>
</rss>

