<?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: Data from Excel source has to match that found in SQL source data. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365360#M135976</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;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;ODBC CONNECT TO ABC_Report;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;FROM Project.par.Projects&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;WHERE Status = 'Live'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;AND Horizontal = 'ABC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client&amp;nbsp;&amp;nbsp; (Summary)],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client Feedback],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;(ooxml, embedded labels, table is Scorecard);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;Make sure the field name in the both table which need to be linked has the same name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;Deepak&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Jun 2012 12:20:54 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2012-06-23T12:20:54Z</dc:date>
    <item>
      <title>Data from Excel source has to match that found in SQL source data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365359#M135975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In blue below I have an SQL script that ONLY loads Projects that are Horizontal 'ABC'.&amp;nbsp; I've reduced the script considerably for this example.&amp;nbsp; In the red I have text that brings in projects from an Excel document.&amp;nbsp; The problem is that it's bringing in ALL projects! It's cluttering up my QlikView dashboard list with irrelevant projects.&amp;nbsp; How do I effectively say in the load script "Only bring in data from Excel corresponding to Projects that are found in the SQL database"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Thanks to anyone who has any suggestions&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;ODBC CONNECT TO ABC_Report;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;FROM Project.par.Projects&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;WHERE Status = 'Live'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;AND Horizontal = 'ABC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Project,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client&amp;nbsp;&amp;nbsp; (Summary)],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client Feedback],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red; font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;(ooxml, embedded labels, table is Scorecard);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;---------------------------------------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Morrison Govan UK &lt;A href="http://www.morrisongovan.co.uk" target="_blank"&gt;FATCA&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 12:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365359#M135975</guid>
      <dc:creator />
      <dc:date>2012-06-23T12:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Excel source has to match that found in SQL source data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365360#M135976</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;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;ODBC CONNECT TO ABC_Report;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;FROM Project.par.Projects&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;WHERE Status = 'Live'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: Arial, sans-serif;"&gt;AND Horizontal = 'ABC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Left join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client&amp;nbsp;&amp;nbsp; (Summary)],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client Feedback],&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;&lt;D&gt;&lt;/D&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;(ooxml, embedded labels, table is Scorecard);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;Make sure the field name in the both table which need to be linked has the same name.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="font-size: 10pt; color: red; font-family: Arial, sans-serif;"&gt;Deepak&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 12:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365360#M135976</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-06-23T12:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Excel source has to match that found in SQL source data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365361#M135977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming "Project" is your ID field present in both data sets, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT TO ABC_Report;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Project.par.Projects&lt;/P&gt;&lt;P&gt;WHERE Status = 'Live'&lt;/P&gt;&lt;P&gt;AND Horizontal = 'ABC'&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Project,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client&amp;nbsp;&amp;nbsp; (Summary)],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Client Feedback],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Scorecard)&lt;/P&gt;&lt;P&gt;Where Exists(Project);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXISTS will ensure the only records loaded from the Excel file are those whose "Project" value has already been loaded earlier in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 12:34:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365361#M135977</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-23T12:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Excel source has to match that found in SQL source data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365362#M135978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Just posted a reply but apparently it has to be approved by a moderator!? I'll try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming "Project" is an ID field present in both data sets, put this at te end of your Excel load (before the &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE EXISTS(Project);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will ensure the only rows loaded from Excel are those with a "Project" value that has already been loaded earlier in the script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 12:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365362#M135978</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2012-06-23T12:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data from Excel source has to match that found in SQL source data.</title>
      <link>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365363#M135979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jason, worked perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jun 2012 16:54:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-from-Excel-source-has-to-match-that-found-in-SQL-source/m-p/365363#M135979</guid>
      <dc:creator />
      <dc:date>2012-06-23T16:54:25Z</dc:date>
    </item>
  </channel>
</rss>

