<?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 Adding fields to source as months go by in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869529#M304061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quite a silly question &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each month i load in am excel file containing Column A , B , C&amp;nbsp; for month 1 , 2 , 3 ...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;as the months pass on by , sometime additional columns get added A , B , C ,D E , month 4 , 5 , 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Is it possible to load all of these with one load &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; .&amp;nbsp; I currently have one load statement for month 1 , 2, 3 and then an&amp;nbsp; outer Join &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; to table to load month 4, 5, 6 and each time new columns get added , i have a new outer join and a new load statement ect ect ect , now &lt;/SPAN&gt;there's&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; just to many outer joins and loads&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can i load them all with one Load &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; . &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Jun 2015 08:25:52 GMT</pubDate>
    <dc:creator>vvvvvvizard</dc:creator>
    <dc:date>2015-06-22T08:25:52Z</dc:date>
    <item>
      <title>Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869529#M304061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Quite a silly question &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each month i load in am excel file containing Column A , B , C&amp;nbsp; for month 1 , 2 , 3 ...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;as the months pass on by , sometime additional columns get added A , B , C ,D E , month 4 , 5 , 6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Is it possible to load all of these with one load &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; .&amp;nbsp; I currently have one load statement for month 1 , 2, 3 and then an&amp;nbsp; outer Join &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; to table to load month 4, 5, 6 and each time new columns get added , i have a new outer join and a new load statement ect ect ect , now &lt;/SPAN&gt;there's&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; just to many outer joins and loads&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;How can i load them all with one Load &lt;/SPAN&gt;statement&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; . &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 08:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869529#M304061</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-22T08:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869530#M304062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Instead of specifying columns in the Load statement, directly use * in the load statement so that all columns will be loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM FileName.xls;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&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, 22 Jun 2015 08:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869530#M304062</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-06-22T08:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869531#M304063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data like this should be loaded with a cross table load- this will give two fields - a month (as data), and a value -- rather than a field for each month. You have already encountered some of the problems with the latter approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Crosstable(Month, Value, &amp;lt;&lt;EM&gt;n&amp;gt;)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM .......xlsx&lt;/P&gt;&lt;P&gt;(ooxml, ....);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(replace &lt;EM&gt;&amp;lt;n&amp;gt;&lt;/EM&gt; with the number of attribute columns before the first month column). The results table will contain the &lt;EM&gt;&amp;lt;n&amp;gt; &lt;/EM&gt;attribute fields, a Month field (which will contain the column header in the spreadsheet) and a Value field. The * in the load means it will load whatever months are in the file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 08:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869531#M304063</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-22T08:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869532#M304064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well then you get many tables with lots of sythetic keys , the source files with extra columns get loaded as Table1 , those with more columns as Table 2 , table 3&amp;nbsp; , ect &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;Load * &lt;/P&gt;&lt;P&gt;with 2 excel sheets , one with columns A , B and other with A, B, C&lt;/P&gt;&lt;P&gt;you get 2 tables instead of one , &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 08:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869532#M304064</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-22T08:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869533#M304065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apologies for not giving enough info , i currently get the date field from the file name of the excel worksheet . All the data in the worksheet is in a tabular format (not in cross table format) . &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 09:00:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869533#M304065</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-22T09:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869534#M304066</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;I have this exact issue in an app which I built a while ago. Every month, one column is added. My solution:&lt;/P&gt;&lt;P&gt;- First I do a FIRST 1 LOAD with the * so that I get all the names of all the fields.&lt;/P&gt;&lt;P&gt;- I have a loop starting at the first row which I am not certain about anymore and counting from there the number&lt;BR /&gt;&amp;nbsp;&amp;nbsp; of months still to come (say it runs from 37 to (37+8=)44)&lt;/P&gt;&lt;P&gt;- In the LOOP, the names of the fields are identified and&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I query whether they begin with some letters leading me to believe there is useful data in there&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - I have a variable reading like &amp;gt; v_field_37 &amp;lt; and one like &amp;gt; AS_v_field_37 &amp;lt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - If they DO contain these letters, then v_field_37 is filled with the actual name and AS_v_field_37 with&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a logical alias_name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;-&amp;gt; otherwise, both are filled with the text "dummy_37"&lt;/P&gt;&lt;P&gt;- Then comes the actual LOAD where I load all these fields, whether there is useful monthly_data in there or&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; not.&lt;/P&gt;&lt;P&gt;- After the LOAD, I have another LOOP where I parse all the fields in the result_table again, beginning at the first one&lt;BR /&gt;&amp;nbsp;&amp;nbsp; I'm not sure about anymore and again counting up for all the months to come&lt;BR /&gt;&amp;nbsp;&amp;nbsp; =&amp;gt; When the field_names start with "dummy", I just delete them again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's it in short. You'll have to do quite some trying out and testing. So did I, that thing with the LOOPs is not exactly easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 11:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869534#M304066</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2015-06-22T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Adding fields to source as months go by</title>
      <link>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869535#M304067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like a plan , il test and advise&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 12:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Adding-fields-to-source-as-months-go-by/m-p/869535#M304067</guid>
      <dc:creator>vvvvvvizard</dc:creator>
      <dc:date>2015-06-22T12:00:22Z</dc:date>
    </item>
  </channel>
</rss>

