<?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 Joining and filtering with the where clause in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Joining-and-filtering-with-the-where-clause/m-p/2159566#M94034</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am very new to qlik sense, and i am currently struggling with Joining my tables and filtering with the where clause.&lt;/P&gt;
&lt;P&gt;This is what my script looks like,&amp;nbsp; and i keep getting an error can someone please help me out? thanks&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'MY_LIVE SFDC';&lt;/P&gt;
&lt;P&gt;LOAD HistoryID, &lt;BR /&gt;AssetID, &lt;BR /&gt;StatusID, &lt;BR /&gt;SubStatusID, &lt;BR /&gt;ReasonID, &lt;BR /&gt;WorksOrder, &lt;BR /&gt;ProductionRate, &lt;BR /&gt;StartTime, &lt;BR /&gt;EndTime, &lt;BR /&gt;Username, &lt;BR /&gt;Comment;&lt;/P&gt;
&lt;P&gt;[AssetStatusHistory]:&lt;BR /&gt;SELECT HistoryID,&lt;BR /&gt;AssetID,&lt;BR /&gt;StatusID,&lt;BR /&gt;SubStatusID,&lt;BR /&gt;ReasonID,&lt;BR /&gt;WorksOrder,&lt;BR /&gt;ProductionRate,&lt;BR /&gt;StartTime,&lt;BR /&gt;EndTime,&lt;BR /&gt;Username,&lt;BR /&gt;Comment&lt;BR /&gt;FROM SFDataCapture.dbo.AssetStatusHistory;&lt;/P&gt;
&lt;P&gt;LOAD EventID, &lt;BR /&gt;Username, &lt;BR /&gt;WorksOrder, &lt;BR /&gt;StartTime, &lt;BR /&gt;EndTime, &lt;BR /&gt;HasHandover;&lt;BR /&gt;&lt;BR /&gt;Left Join (AssetStatusHistory)&lt;/P&gt;
&lt;P&gt;[ServiceEvent]:&lt;BR /&gt;SELECT EventID,&lt;BR /&gt;Username,&lt;BR /&gt;WorksOrder,&lt;BR /&gt;StartTime,&lt;BR /&gt;EndTime,&lt;BR /&gt;HasHandover&lt;BR /&gt;FROM SFDataCapture.dbo.ServiceEvent&lt;BR /&gt;WHERE SFDataCapture.dbo.ServiceEvent.StartTime &amp;gt;= SFDataCapture.dbo.AssetStatusHistory.StartTime&lt;BR /&gt;AND SFDataCapture.dbo.ServiceEvent.StartTime &amp;lt;= SFDataCapture.dbo.AssetStatusHistory.EndTime OR now();&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 12:25:22 GMT</pubDate>
    <dc:creator>ClareChinonye</dc:creator>
    <dc:date>2024-01-09T12:25:22Z</dc:date>
    <item>
      <title>Joining and filtering with the where clause</title>
      <link>https://community.qlik.com/t5/App-Development/Joining-and-filtering-with-the-where-clause/m-p/2159566#M94034</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am very new to qlik sense, and i am currently struggling with Joining my tables and filtering with the where clause.&lt;/P&gt;
&lt;P&gt;This is what my script looks like,&amp;nbsp; and i keep getting an error can someone please help me out? thanks&lt;/P&gt;
&lt;P&gt;LIB CONNECT TO 'MY_LIVE SFDC';&lt;/P&gt;
&lt;P&gt;LOAD HistoryID, &lt;BR /&gt;AssetID, &lt;BR /&gt;StatusID, &lt;BR /&gt;SubStatusID, &lt;BR /&gt;ReasonID, &lt;BR /&gt;WorksOrder, &lt;BR /&gt;ProductionRate, &lt;BR /&gt;StartTime, &lt;BR /&gt;EndTime, &lt;BR /&gt;Username, &lt;BR /&gt;Comment;&lt;/P&gt;
&lt;P&gt;[AssetStatusHistory]:&lt;BR /&gt;SELECT HistoryID,&lt;BR /&gt;AssetID,&lt;BR /&gt;StatusID,&lt;BR /&gt;SubStatusID,&lt;BR /&gt;ReasonID,&lt;BR /&gt;WorksOrder,&lt;BR /&gt;ProductionRate,&lt;BR /&gt;StartTime,&lt;BR /&gt;EndTime,&lt;BR /&gt;Username,&lt;BR /&gt;Comment&lt;BR /&gt;FROM SFDataCapture.dbo.AssetStatusHistory;&lt;/P&gt;
&lt;P&gt;LOAD EventID, &lt;BR /&gt;Username, &lt;BR /&gt;WorksOrder, &lt;BR /&gt;StartTime, &lt;BR /&gt;EndTime, &lt;BR /&gt;HasHandover;&lt;BR /&gt;&lt;BR /&gt;Left Join (AssetStatusHistory)&lt;/P&gt;
&lt;P&gt;[ServiceEvent]:&lt;BR /&gt;SELECT EventID,&lt;BR /&gt;Username,&lt;BR /&gt;WorksOrder,&lt;BR /&gt;StartTime,&lt;BR /&gt;EndTime,&lt;BR /&gt;HasHandover&lt;BR /&gt;FROM SFDataCapture.dbo.ServiceEvent&lt;BR /&gt;WHERE SFDataCapture.dbo.ServiceEvent.StartTime &amp;gt;= SFDataCapture.dbo.AssetStatusHistory.StartTime&lt;BR /&gt;AND SFDataCapture.dbo.ServiceEvent.StartTime &amp;lt;= SFDataCapture.dbo.AssetStatusHistory.EndTime OR now();&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 12:25:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Joining-and-filtering-with-the-where-clause/m-p/2159566#M94034</guid>
      <dc:creator>ClareChinonye</dc:creator>
      <dc:date>2024-01-09T12:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Joining and filtering with the where clause</title>
      <link>https://community.qlik.com/t5/App-Development/Joining-and-filtering-with-the-where-clause/m-p/2159670#M94039</link>
      <description>&lt;P&gt;It's probably the &lt;FONT face="courier new,courier"&gt; OR now()&lt;/FONT&gt; part of your script. Please provide the exact error you are getting instead of just writing " getting &lt;EM&gt;an&lt;/EM&gt; error".&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 15:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Joining-and-filtering-with-the-where-clause/m-p/2159670#M94039</guid>
      <dc:creator>steeefan</dc:creator>
      <dc:date>2024-01-09T15:35:33Z</dc:date>
    </item>
  </channel>
</rss>

