<?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: Load values from Web using values from another table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938394#M323782</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;Check below link for sample code&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8905"&gt;Load all Excel files and all sheets in a folder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Aug 2015 13:45:29 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2015-08-17T13:45:29Z</dc:date>
    <item>
      <title>Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938393#M323781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue where I need to extract several pages of data from websites using values from another table in the URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In other words, the initial extracts contains a brief overview of data for each year so that looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14398148789346115" jivemacro_uid="_14398148789346115" modifiedtitle="true"&gt;
&lt;P&gt;For i=2014 to Year(Now())&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DailyRecords:&lt;/P&gt;
&lt;P&gt;LOAD ID,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cat&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sharepointwebsite.net/database/dblist.php?Year=$(i" rel="nofollow"&gt;http://sharepointwebsite.net/database/dblist.php?Year=$(i&lt;/A&gt;&lt;SPAN&gt;)]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;NEXT i&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the load script for one day:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14398152366765447" jivemacro_uid="_14398152366765447" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;DailyRecordDetails:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;FROM &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sharepointwebsite.net/database/record.php?id=20150111-B2GT" rel="nofollow"&gt;http://sharepointwebsite.net/database/record.php?id=20150111-B2GT&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;(html, codepage is 1252, embedded labels, table is @1);&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the id at the end of the URL needs to change to look at the page relating to each ID from the DailyRecords table. Can this be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 12:49:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938393#M323781</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2015-08-17T12:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938394#M323782</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;Check below link for sample code&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-8905"&gt;Load all Excel files and all sheets in a folder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 13:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938394#M323782</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-17T13:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938395#M323783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't view the link: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="margin: 0 0 12px; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;This group is a private group.&lt;/H5&gt;&lt;P style="margin: 0 0 15px; font-size: 14px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The moderator of this group must approve membership or invite you before you can view group content or participate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 13:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938395#M323783</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2015-08-17T13:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938396#M323784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vFilePath = 'C:\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR EACH file in FileList('$(vFilePath)\*.xlsx');&amp;nbsp;&amp;nbsp; // Loops each excel file in the given Folder&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;//In order to get the file information from SQLtables command making use of the ODBC connection format&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ODBC CONNECT32 TO [Excel Files;DBQ=$(file)];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SheetNames:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQLtables;&amp;nbsp; // Loads all sheet names in the Excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DISCONNECT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FOR index = 0 to NoOfRows('SheetNames')-1&amp;nbsp; // Loops for each sheet in the Excel file.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET sheetName = PurgeChar(PurgeChar(Peek('TABLE_NAME', index, 'SheetNames'), Chr(39)), Chr(36));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TableName:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load * ,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FileBaseName()as FIle,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FileDir() as Dir,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; FileName() as File_Name,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; '$(sheetName)' as Sheet_name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From $(file)(ooxml, embedded labels, table is [$(sheetName)]);&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT index&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP TABLE SheetNames;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 13:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938396#M323784</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-08-17T13:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938397#M323785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For i=2014 to Year(Now())&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; DailyRecords:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD ID,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; date,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; type,&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; cat&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sharepointwebsite.net/database/dblist.php?Year=$(i" rel="nofollow"&gt;http://sharepointwebsite.net/database/dblist.php?Year=$(i&lt;/A&gt;&lt;SPAN&gt;)]&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (html, codepage is 1252, embedded labels, table is @1);&amp;nbsp; &lt;/P&gt;&lt;P&gt;Next i&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For j = 0 To NoOfRows('DailyRecords')&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let vID = Peek('ID', j, 'DailyRecords');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; DailyRecordDetails:&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; LOAD *&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; FROM [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sharepointwebsite.net/database/record.php?id=$(vID" rel="nofollow"&gt;http://sharepointwebsite.net/database/record.php?id=$(vID&lt;/A&gt;&lt;SPAN&gt;)]&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (html, codepage is 1252, embedded labels, table is @1);&amp;nbsp; &lt;/P&gt;&lt;P&gt;Next j&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 13:57:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938397#M323785</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-17T13:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load values from Web using values from another table</title>
      <link>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938398#M323786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect! Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2015 14:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Load-values-from-Web-using-values-from-another-table/m-p/938398#M323786</guid>
      <dc:creator>ciaran_mcgowan</dc:creator>
      <dc:date>2015-08-17T14:04:39Z</dc:date>
    </item>
  </channel>
</rss>

