<?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 Relationship between two tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252447#M95706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;ya what you said is correct. There is no else part so it returns null in both cases(c1,c2).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks buddy..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Aug 2011 10:57:03 GMT</pubDate>
    <dc:creator>jagannalla</dc:creator>
    <dc:date>2011-08-05T10:57:03Z</dc:date>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252440#M95699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a different number of fields from&amp;nbsp; qvd file. Along this fields i'm creating new fields with calculation. Again i'm using the newly create fields in resident load and based on the calculation of this fields again creating new fields. But, now i want to see exact result in the table box . How can i combine this fields in proper manner.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load A,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(C&amp;lt;&amp;gt;23,C) as C1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Table1.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Len(C1)&amp;gt;0,C1) as C2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Now, when i load A,B,C1 in one table box. I can see exact data what i retrived from qvd file.&lt;/P&gt;&lt;P&gt;- But if i load A,B,C1,C2 in table box then i want to see exact data how it is loaded(i.e 1 by 1 loading Table1.qvd) qvd file.&lt;/P&gt;&lt;P&gt;- With what keyword i can make relationship to this tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252440#M95699</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-05T09:14:49Z</dc:date>
    </item>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252441#M95700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load A,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(C&amp;lt;&amp;gt;23,C) as C1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Table1.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Len(C1)&amp;gt;0,C1) as C2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252441#M95700</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-05T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252442#M95701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load A,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(C&amp;lt;&amp;gt;23,C) as C1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From Table1.qvd;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;left join(Table1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(Len(C1)&amp;gt;0,C1) as C2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;this will give u fast access even in complx scenario&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; height: 8pt;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252442#M95701</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2011-08-05T09:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252443#M95702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do that in only one table, do you really need two tables for that? Check the following script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD A,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(C &amp;lt;&amp;gt; 23, C) as C1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(If(C &amp;lt;&amp;gt; 23, C)) &amp;gt; 0, If(C &amp;lt;&amp;gt; 23, C)) AS C2 // replacing the equivalent to C1 used in the field above&lt;/P&gt;&lt;P&gt;From Table1.qvd;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 09:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252443#M95702</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-05T09:49:07Z</dc:date>
    </item>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252444#M95703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for all....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252444#M95703</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-05T10:16:36Z</dc:date>
    </item>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252445#M95704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Miguel,&lt;/P&gt;&lt;P&gt;In if loop why we need to check conditon again. we can write like this also know.&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Table1:&lt;BR /&gt;LOAD A,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; B,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(C &amp;lt;&amp;gt; 23, C) as C1,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Len(If(C &amp;lt;&amp;gt; 23, C)) &amp;gt; 0, C) AS C2 // replacing the equivalent to C1 used in the field above&lt;BR /&gt;From Table1.qvd;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252445#M95704</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-05T10:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252446#M95705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that will be cleaner. Say the value for field C in the current record is "4". C1 is equal to 4, and C2 qwill be equal to 4 as well, because Len(4) &amp;gt; 0 returns true. Say now that the value is "23". C1 is equal to null() (there is no "else" part in the If() condition). C2 will be null as well, because it will enter the "else" part of the if, and since there is nothing specified, null() is returned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; text-decoration: underline; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:36:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252446#M95705</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-05T10:36:51Z</dc:date>
    </item>
    <item>
      <title>Relationship between two tables</title>
      <link>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252447#M95706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;ya what you said is correct. There is no else part so it returns null in both cases(c1,c2).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks buddy..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 10:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Relationship-between-two-tables/m-p/252447#M95706</guid>
      <dc:creator>jagannalla</dc:creator>
      <dc:date>2011-08-05T10:57:03Z</dc:date>
    </item>
  </channel>
</rss>

