<?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: Adding a column with a repeating value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567584#M1099298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this thread if your problem is solved.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 08:04:09 GMT</pubDate>
    <dc:creator>MarcoWedel</dc:creator>
    <dc:date>2014-04-24T08:04:09Z</dc:date>
    <item>
      <title>Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567575#M1099286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am loading a table from a website.&amp;nbsp; The site has the same table of data for each of several years (a table for 2013, a table for 2012,&amp;nbsp; a table for 2011, etc.).&amp;nbsp; Unfortuanely, only the table title has the year.&amp;nbsp; There is no column for it.&amp;nbsp; When I load the table is there a way to add the year as a dimension in the table for each record?&amp;nbsp; If so, how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 22:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567575#M1099286</guid>
      <dc:creator />
      <dc:date>2014-04-11T22:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567576#M1099287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post the url of this site?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 22:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567576#M1099287</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-04-11T22:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567577#M1099289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://www.fhwa.dot.gov/bridge/nbi/no10/wearing13.cfm" title="https://www.fhwa.dot.gov/bridge/nbi/no10/wearing13.cfm"&gt;2013 - Bridges by Wearing Surface - NBI - Inspection and Evaluation - Bridge - Structures - Federal Highway Administrati…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 22:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567577#M1099289</guid>
      <dc:creator />
      <dc:date>2014-04-11T22:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567578#M1099291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also have a follow up question.&amp;nbsp; This page has several tables and when I try to load it directly from the site it has several tables that get listed (they show up as @1, @2, @3, etc.).&amp;nbsp; If I save it as an excel file it lists all of them as well in one file though.&amp;nbsp; The only way to clean it up is to delete all the rows that have info from the other tables.&amp;nbsp; I feel like I am missing an easier way of loading just the one table I need.&amp;nbsp; Any thoughts?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Apr 2014 22:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567578#M1099291</guid>
      <dc:creator />
      <dc:date>2014-04-11T22:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567579#M1099293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Tablename() Function, in another field. It returns the name of the table you are reading:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Field2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tablename()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as Year&lt;/P&gt;&lt;P&gt;From ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 02:33:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567579#M1099293</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2014-04-12T02:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567580#M1099294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!  I will try that!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 03:16:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567580#M1099294</guid>
      <dc:creator />
      <dc:date>2014-04-12T03:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567581#M1099295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that the year is also coded in the URL of this site,&lt;/P&gt;&lt;P&gt;so one solution could be:&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_13974329861372714" jivemacro_uid="_13974329861372714"&gt;
&lt;P&gt;FOR vYear = 0 to 13&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vYearForm = num(vYear,'00');&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CrossTable([Type of Wearing Surface], [Number of Bridges], 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD 2000+$(vYear) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm"&gt;https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm&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 [Count by Type of Wearing Surface])&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE(State &amp;lt;&amp;gt; 'TOTALS');&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57180" alt="QlikCommunity_Thread_114064_Pic1.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57180_QlikCommunity_Thread_114064_Pic1.JPG.jpg" style="width: 620px; height: 129px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57181" alt="QlikCommunity_Thread_114064_Pic2.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57181_QlikCommunity_Thread_114064_Pic2.JPG.jpg" style="width: 620px; height: 365px;" /&gt;&lt;/P&gt;&lt;P&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, 13 Apr 2014 23:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567581#M1099295</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-04-13T23:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567582#M1099296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I understand this, but am curious as how to do this if I am&lt;/P&gt;&lt;P&gt;transforming the data for each table?  That os to say, I need to remove the&lt;/P&gt;&lt;P&gt;"TOTALS" row from each one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 15:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567582#M1099296</guid>
      <dc:creator />
      <dc:date>2014-04-14T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567583#M1099297</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;each TOTALS row will be removed because the WHERE clause applies to all the loaded tables during the loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A combination of the different facts (e.g. number and area of bridges) could be done like this:&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_13975235827886462" jivemacro_uid="_13975235827886462"&gt;
&lt;P&gt;FOR vYear = 0 to 13&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vYearForm = num(vYear,'00');&lt;/P&gt;
&lt;P&gt;&amp;nbsp; tabTypeofWearingSurface:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CrossTable([Type of Wearing Surface], [Number of Bridges], 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD 2000+$(vYear) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm"&gt;https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm&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 @1)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE(State &amp;lt;&amp;gt; 'TOTALS');&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;FOR vYear = 0 to 13&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LET vYearForm = num(vYear,'00');&lt;/P&gt;
&lt;P&gt;&amp;nbsp; tabTemp:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; CrossTable([Type of Wearing Surface], [Area (Sq Meters)], 2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; LOAD 2000+$(vYear) as Year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FROM&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm"&gt;https://www.fhwa.dot.gov/bridge/nbi/no10/wearing$(vYearForm).cfm&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 @4)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; WHERE(State &amp;lt;&amp;gt; 'TOTALS');&lt;/P&gt;
&lt;P&gt;NEXT&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Join (tabTypeofWearingSurface)&lt;/P&gt;
&lt;P&gt;LOAD * Resident tabTemp;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;DROP Table tabTemp;&lt;/P&gt;
&lt;/PRE&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>Tue, 15 Apr 2014 01:02:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567583#M1099297</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-04-15T01:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a column with a repeating value</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567584#M1099298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this thread if your problem is solved.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 08:04:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-a-column-with-a-repeating-value/m-p/567584#M1099298</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-04-24T08:04:09Z</dc:date>
    </item>
  </channel>
</rss>

