<?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: qliksense conditional select while joining tables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614145#M45731</link>
    <description>&lt;P&gt;I think i understand how to join the table in the editor (i found this &lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/combine-tables-join-keep.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/combine-tables-join-keep.htm&lt;/A&gt;), but how do i apply the where clause?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2019 06:56:24 GMT</pubDate>
    <dc:creator>beaubellamy</dc:creator>
    <dc:date>2019-08-20T06:56:24Z</dc:date>
    <item>
      <title>qliksense conditional select while joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614124#M45726</link>
      <description>&lt;P&gt;I would like to recreate the SQL command below.&lt;/P&gt;&lt;P&gt;I am unable to use the data connection directly from Qliksense to the datebasse, we are still troubleshooting this. In the meantime, i am loading the tables as csv files into the data load editor and wanting to select the tables based on the below SQL command&lt;/P&gt;&lt;P&gt;select *&lt;BR /&gt;from workorder&lt;BR /&gt;&amp;nbsp; &amp;nbsp; left join asset on workorder.assetnum = asset.assetnum&lt;BR /&gt;&amp;nbsp; &amp;nbsp; left join classancestor on asset.classstructureid = classancestor.classstructureid&lt;BR /&gt;&amp;nbsp; &amp;nbsp; left join pm on asset.assetnum = pm.assetnum&lt;BR /&gt;&amp;nbsp; &amp;nbsp; left join locations on asset.location = locations.location&lt;BR /&gt;where classancestor.hierarchylevels = 0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; AND classancestor.ancestorclassid = 'TURNOUT'&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614124#M45726</guid>
      <dc:creator>beaubellamy</dc:creator>
      <dc:date>2024-11-16T04:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense conditional select while joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614141#M45727</link>
      <description>&lt;P&gt;Store the raw data from .csv into .qvd and then make the join using the .qvd tables&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:48:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614141#M45727</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-08-20T06:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense conditional select while joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614145#M45731</link>
      <description>&lt;P&gt;I think i understand how to join the table in the editor (i found this &lt;A href="https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/combine-tables-join-keep.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/June2019/Subsystems/Hub/Content/Sense_Hub/Scripting/combine-tables-join-keep.htm&lt;/A&gt;), but how do i apply the where clause?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:56:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614145#M45731</guid>
      <dc:creator>beaubellamy</dc:creator>
      <dc:date>2019-08-20T06:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense conditional select while joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614149#M45733</link>
      <description>&lt;P&gt;You have to create a temporary table with the LEFT JOINS and after this to import the data from the temporary table into a new table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TEMP:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;LEFT JOIN&lt;/P&gt;&lt;P&gt;....;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FINAL_TABLE:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;RESIDENT TABLE TEMP&lt;/P&gt;&lt;P&gt;WHERE ..... ;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:59:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614149#M45733</guid>
      <dc:creator>Claudiu_Anghelescu</dc:creator>
      <dc:date>2019-08-20T06:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: qliksense conditional select while joining tables</title>
      <link>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614161#M45734</link>
      <description>&lt;P&gt;Given that your key fields are named identically in each of your source tables this should be relatively simple.&lt;/P&gt;&lt;P&gt;The final right join to ClassAncestor will take care of your where clause&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Table]:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[field list]&lt;/P&gt;&lt;P&gt;FROM [Work Order];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[field list]&lt;/P&gt;&lt;P&gt;FROM [Asset];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[field list]&lt;/P&gt;&lt;P&gt;FROM [PM];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[field list]&lt;/P&gt;&lt;P&gt;FROM [Locations];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RIGHT JOIN (Table)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;[field list]&lt;/P&gt;&lt;P&gt;FROM [ClassAncestor]&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WHERE hierarchylevels = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; AND ancestorclassid = 'TURNOUT'&lt;/SPAN&gt;;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2019 07:41:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/qliksense-conditional-select-while-joining-tables/m-p/1614161#M45734</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2019-08-20T07:41:04Z</dc:date>
    </item>
  </channel>
</rss>

