<?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: SQL AND EXCEL QUESTION in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54568#M790662</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you use simple &lt;/P&gt;&lt;P&gt;where exists()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your current SQL query&lt;/P&gt;&lt;P&gt;sql select &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;Load * from excel&lt;/P&gt;&lt;P&gt;where exists(cd_nis,nis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Feb 2018 07:46:56 GMT</pubDate>
    <dc:creator>big_dreams</dc:creator>
    <dc:date>2018-02-06T07:46:56Z</dc:date>
    <item>
      <title>SQL AND EXCEL QUESTION</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54565#M790659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community, I Have the next question :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - In m y script i have two diffetent data providers, one from Sql server and other from an excel file, they both have 1 field in commun&lt;/P&gt;&lt;P&gt;so im trying something like this to make them match, becouse i just need the row from the excel that match with the data in the Sql sentence.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="script.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192563_script.png" style="height: 336px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;when I run the script its run with no problem, so I made a table to check what was the Nis i was getting from sql &lt;/P&gt;&lt;P&gt;and what was the current value stored in the Variable vCurrency to check if they match or no&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;IMG alt="excel.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/192564_excel.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;as you can see they match but I dont get data from in the table of the excel, and if i check the excel the current nis (571105) exist , so i dont know whats wrong Help Please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54565#M790659</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL AND EXCEL QUESTION</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54566#M790660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think, after storing the DB data into QVD, you need to left join it with Excel data on that column. Make sure your field name in excel matches with DB filed name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show your Table structure?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 05:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54566#M790660</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-02-06T05:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: SQL AND EXCEL QUESTION</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54567#M790661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like you are trying to set the variable vCurrency to the minimum cd_nis value in script. However, this expression will not be evaluated in the script. It will only be evaluated in the front end when the script is finished.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to Peek() the value from the table, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQLTable:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SQL SELECT ....&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Min_NIS:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD MinString('cd_nis') as Min_NIS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Resident SQLTable;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Let vCurrency = Peek('Min_NIS');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP Table Min_NIS;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;...&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Now use vCurrency as before.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 05:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54567#M790661</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-02-06T05:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: SQL AND EXCEL QUESTION</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54568#M790662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why don't you use simple &lt;/P&gt;&lt;P&gt;where exists()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your current SQL query&lt;/P&gt;&lt;P&gt;sql select &lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Excel:&lt;/P&gt;&lt;P&gt;Load * from excel&lt;/P&gt;&lt;P&gt;where exists(cd_nis,nis)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 07:46:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54568#M790662</guid>
      <dc:creator>big_dreams</dc:creator>
      <dc:date>2018-02-06T07:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: SQL AND EXCEL QUESTION</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54569#M790663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for yor answer Jonathan its works but Max payne solution was easier and fast to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 12:06:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-AND-EXCEL-QUESTION/m-p/54569#M790663</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T12:06:49Z</dc:date>
    </item>
  </channel>
</rss>

