<?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 issues on joining tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/issues-on-joining-tables/m-p/1594702#M43754</link>
    <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create calculated values from different tables. my source is an API&amp;nbsp;&lt;/P&gt;&lt;P&gt;I joined all the needed tables and I am receiving a result&amp;nbsp; but this result is not related correctly to the rest of the data . I can't filter it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;What have I done wrong&amp;nbsp;?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HISTORY1 :&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;[__KEY_body] ,numero&lt;BR /&gt;resident body;&lt;BR /&gt;join load [__KEY_body] , [__KEY_sections]&lt;BR /&gt;resident sections ;&lt;BR /&gt;join load&lt;/P&gt;&lt;P&gt;[submittedDate],&lt;BR /&gt;[__KEY_sections]&lt;BR /&gt;resident statistics ;&lt;BR /&gt;join&lt;BR /&gt;load&lt;BR /&gt;[__KEY_history] , [__KEY_body] , [createdOn]&lt;BR /&gt;resident history ;&lt;BR /&gt;&lt;BR /&gt;join&lt;BR /&gt;load [__KEY_history] ,[__KEY_summary]&lt;BR /&gt;resident summary ;&lt;BR /&gt;&lt;BR /&gt;inner join&lt;BR /&gt;load [__KEY_summary],&lt;BR /&gt;[from],&lt;BR /&gt;[to]&lt;BR /&gt;resident status ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FinalResult:&lt;BR /&gt;&lt;BR /&gt;load&lt;/P&gt;&lt;P&gt;date(If([to]like 'granted' and [to] &amp;lt;&amp;gt; from ,createdOn)) as [grantedDate]&lt;BR /&gt;&lt;BR /&gt;resident HISTORY1;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issue.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14196i7176D0554375F897/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue.PNG" alt="issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jun 2019 16:57:42 GMT</pubDate>
    <dc:creator>Chadlia</dc:creator>
    <dc:date>2019-06-21T16:57:42Z</dc:date>
    <item>
      <title>issues on joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/issues-on-joining-tables/m-p/1594702#M43754</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create calculated values from different tables. my source is an API&amp;nbsp;&lt;/P&gt;&lt;P&gt;I joined all the needed tables and I am receiving a result&amp;nbsp; but this result is not related correctly to the rest of the data . I can't filter it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;What have I done wrong&amp;nbsp;?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;HISTORY1 :&lt;BR /&gt;LOAD&lt;/P&gt;&lt;P&gt;[__KEY_body] ,numero&lt;BR /&gt;resident body;&lt;BR /&gt;join load [__KEY_body] , [__KEY_sections]&lt;BR /&gt;resident sections ;&lt;BR /&gt;join load&lt;/P&gt;&lt;P&gt;[submittedDate],&lt;BR /&gt;[__KEY_sections]&lt;BR /&gt;resident statistics ;&lt;BR /&gt;join&lt;BR /&gt;load&lt;BR /&gt;[__KEY_history] , [__KEY_body] , [createdOn]&lt;BR /&gt;resident history ;&lt;BR /&gt;&lt;BR /&gt;join&lt;BR /&gt;load [__KEY_history] ,[__KEY_summary]&lt;BR /&gt;resident summary ;&lt;BR /&gt;&lt;BR /&gt;inner join&lt;BR /&gt;load [__KEY_summary],&lt;BR /&gt;[from],&lt;BR /&gt;[to]&lt;BR /&gt;resident status ;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FinalResult:&lt;BR /&gt;&lt;BR /&gt;load&lt;/P&gt;&lt;P&gt;date(If([to]like 'granted' and [to] &amp;lt;&amp;gt; from ,createdOn)) as [grantedDate]&lt;BR /&gt;&lt;BR /&gt;resident HISTORY1;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="issue.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/14196i7176D0554375F897/image-size/large?v=v2&amp;amp;px=999" role="button" title="issue.PNG" alt="issue.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 16:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issues-on-joining-tables/m-p/1594702#M43754</guid>
      <dc:creator>Chadlia</dc:creator>
      <dc:date>2019-06-21T16:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: issues on joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/issues-on-joining-tables/m-p/1594715#M43757</link>
      <description>&lt;P&gt;hat inner is filtering the records of the table, you could use left join, then the last table is not what you do.&lt;/P&gt;&lt;P&gt;I advise you that to the "join" statement, you add the name to the table to which you join,&lt;BR /&gt;for example :&lt;/P&gt;&lt;P&gt;HISTORY1:&lt;BR /&gt;LOAD&lt;BR /&gt;[__KEY_body], number&lt;BR /&gt;resident body;&lt;BR /&gt;join (HISTORY1)&lt;BR /&gt;load [__KEY_body], [__KEY_sections]&lt;BR /&gt;resident sections;&lt;/P&gt;&lt;P&gt;join (HISTORY1)&lt;BR /&gt;load&lt;BR /&gt;[submittedDate],&lt;BR /&gt;[__KEY_sections]&lt;BR /&gt;resident statistics;&lt;/P&gt;&lt;P&gt;join (HISTORY1)&lt;BR /&gt;load&lt;BR /&gt;[__KEY_history], [__KEY_body], [createdOn]&lt;BR /&gt;resident history;&lt;/P&gt;&lt;P&gt;join (HISTORY1)&lt;BR /&gt;load [__KEY_history], [__ KEY_summary]&lt;BR /&gt;resident summary;&lt;/P&gt;&lt;P&gt;inner join (HISTORY1)&lt;BR /&gt;load [__KEY_summary],&lt;BR /&gt;[desde],&lt;BR /&gt;[to]&lt;BR /&gt;resident status;&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2019 17:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/issues-on-joining-tables/m-p/1594715#M43757</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-06-21T17:59:48Z</dc:date>
    </item>
  </channel>
</rss>

