<?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 Dynamic Web URL Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794258#M280730</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; Hope everyone is good. My problem is simple one but I am missing some point here. I am trying to pull the data from URL and use that into QlikView. Let me explain you sample scenario. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let’s say that we have a URL (given below) and I am trying to pull the data from it. I am only interested to pull data from table 19 as&lt;BR /&gt;shown below. But this table # in URL keeps changing e.g. tomorrow the same information may be available at table 22. So, Instead of hardcoding this table in my script, is there a way where QlikView will automatically determine the table number where fields F1, 1 Year, Current etc. exists? I only want fields F1, 1 Year, Current and rest can be deleted and I do not want then data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI"&gt;http://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://www.moneycontrol.com/india/stockpricequote/computerssoftware/tataconsultancyservices/TCS"&gt;http://www.moneycontrol.com/india/stockpricequote/computerssoftware/tataconsultancyservices/TCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table Snapshot.jpg" class="jive-image" src="/legacyfs/online/70792_Table Snapshot.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, I have around 10 URLs with same data structure but different table number where fields F1, 1 Year, Current etc. exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Nov 2014 18:31:15 GMT</pubDate>
    <dc:creator>montubhardwaj</dc:creator>
    <dc:date>2014-11-09T18:31:15Z</dc:date>
    <item>
      <title>Dynamic Web URL Data</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794258#M280730</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; Hope everyone is good. My problem is simple one but I am missing some point here. I am trying to pull the data from URL and use that into QlikView. Let me explain you sample scenario. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let’s say that we have a URL (given below) and I am trying to pull the data from it. I am only interested to pull data from table 19 as&lt;BR /&gt;shown below. But this table # in URL keeps changing e.g. tomorrow the same information may be available at table 22. So, Instead of hardcoding this table in my script, is there a way where QlikView will automatically determine the table number where fields F1, 1 Year, Current etc. exists? I only want fields F1, 1 Year, Current and rest can be deleted and I do not want then data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="http://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI"&gt;http://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://www.moneycontrol.com/india/stockpricequote/computerssoftware/tataconsultancyservices/TCS"&gt;http://www.moneycontrol.com/india/stockpricequote/computerssoftware/tataconsultancyservices/TCS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Table Snapshot.jpg" class="jive-image" src="/legacyfs/online/70792_Table Snapshot.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI, I have around 10 URLs with same data structure but different table number where fields F1, 1 Year, Current etc. exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2014 18:31:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794258#M280730</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2014-11-09T18:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Web URL Data</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794259#M280731</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;maybe you could load the column names of the different tables using a crosstable load and check, if the columns exist, that you are interested in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14155746070023616" jivemacro_uid="_14155746070023616"&gt;
&lt;P&gt;FOR vTableNo = 1 to 27&lt;/P&gt;
&lt;P&gt;&amp;nbsp; tabColumns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CrossTable (ColumnName, ColumnValue)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD $(vTableNo) as TableNo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI"&gt;http://www.moneycontrol.com/india/stockpricequote/miscellaneous/thomascookindia/TCI&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; (html, codepage is 1252, embedded labels, table is @$(vTableNo))&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Where RecNo()=1;&lt;/P&gt;
&lt;P&gt;NEXT;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Fields ColumnValue;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then would load only the relevant table(s).&lt;/P&gt;&lt;P&gt;In your case there are more than one tables containing the columns of you are looking for:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_141350_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/70808_QlikCommunity_Thread_141350_Pic1.JPG.jpg" /&gt;&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;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2014 23:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794259#M280731</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-09T23:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Web URL Data</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794260#M280732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Marco, I want to thank you for the efforts you have taken to help me out here. Thanks much.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;But problem comes when I add more than one URL to your logic. There are many other table are getting created during load e.g. Table-1, table-2 etc. Below are the issues which I want to address:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;I only want to know the tables number where 1&lt;SUP&gt;st&amp;nbsp; &lt;/SUP&gt;occurrence of F1 happens. If there are many F1 fields, just want to know the table # where F1 appears 1&lt;SUP&gt;st&lt;/SUP&gt; time&lt;/LI&gt;&lt;LI&gt;We have set the loop from 1 through 27. Some of URLs are having only 20 tables and hence loop is failing. I guess I need to find a way for more intelligent loop.&lt;/LI&gt;&lt;LI&gt;Once we are able to find the desired tables (as in condition 1 above), I want to loop through all URLs and pull the data only from these tables.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Having any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 02:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794260#M280732</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2014-11-10T02:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Web URL Data</title>
      <link>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794261#M280733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any possibility of using xml files from web url? will that be easier?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 20:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dynamic-Web-URL-Data/m-p/794261#M280733</guid>
      <dc:creator>montubhardwaj</dc:creator>
      <dc:date>2014-11-10T20:41:40Z</dc:date>
    </item>
  </channel>
</rss>

