<?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: How to load new data for 2018 in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459341#M794861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you always load the customer registers from a xlsx or a qvd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 08:13:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-05T08:13:05Z</dc:date>
    <item>
      <title>How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459340#M794860</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;We have created a new customer register for 2018 and I want to merge this in Qlikview with our register from 2017. There are some minor changes in the new register.&lt;/P&gt;&lt;P&gt;If I just load the new register from an xlsx or an txt file Qlikview freezes. If I change all the headlines in the old register by adding "2017" the load works fine but they aren't connected.&lt;/P&gt;&lt;P&gt;I have worked my way around this with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;Directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Status 2017]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Status],&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Created By 2017]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Created By]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&amp;nbsp; &lt;/SPAN&gt; ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;But this means I have to do this in every single headline and this means all the fields become Keyfields and I loose the ability to use frequency in my listboxes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;I am guessing there are a better way to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Can someone push me in the right direction?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&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/How-to-load-new-data-for-2018/m-p/1459340#M794860</guid>
      <dc:creator>sloman123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459341#M794861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you always load the customer registers from a xlsx or a qvd?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459341#M794861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T08:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459342#M794862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Always from xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:15:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459342#M794862</guid>
      <dc:creator>sloman123</dc:creator>
      <dc:date>2018-01-05T08:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459343#M794863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the customer registers are in the same format, Qlikview will automatically concatenate the tables and as such form a single customer register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not perhaps try convert them to the same format, or Force concatenation using CONCATENATE statement, just ensure the key fields are the same in order to accurately link to the rest of your model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459343#M794863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-05T08:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459344#M794864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we have a look at your script? it will give us a clear idea where the issue is .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459344#M794864</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2018-01-05T08:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459345#M794865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why the qlikview freezes is Cartesian product created ?&amp;nbsp; I mean does the new register has a different column name but use force join the tables ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 08:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459345#M794865</guid>
      <dc:creator>qliksus</dc:creator>
      <dc:date>2018-01-05T08:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to load new data for 2018</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459346#M794866</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;&lt;/P&gt;&lt;P&gt;Best thing would be to not add 2017 or 2018 in fields names and keep the same name in multiple source files, just add a year column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround would be to create a specific config as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Parameters (fields in files and the names they should have)&lt;/P&gt;&lt;P&gt;Config:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Year, File, FieldName, FieldRename&lt;/P&gt;&lt;P&gt;2017,&amp;nbsp;&amp;nbsp; FileName2017.xlsx, Status 2017, Status&lt;/P&gt;&lt;P&gt;2017, FileName2017.xlsx, Created By 2017, Created By&lt;/P&gt;&lt;P&gt;2018,&amp;nbsp;&amp;nbsp; FileName__2018.xlsx, Status-2018, Status&lt;/P&gt;&lt;P&gt;2018, FileName__2018.xlsx, Created-By 2018, Created By&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Distinct files&lt;/P&gt;&lt;P&gt;Files:&lt;/P&gt;&lt;P&gt;LOAD distinct File, Year Resident Config;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Assuming there is only one year sufix by file&lt;/P&gt;&lt;P&gt;for i=0 to noofrows('Files')-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vAppelTable=if($(i)=0,'TableFinale:','Concatenate(TableFinale)');&lt;/P&gt;&lt;P&gt;let vFile=peek('File',$(i),'Files');&lt;/P&gt;&lt;P&gt;let vYear=peek('Year',$(i),'Files');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Creating the script for each file&lt;/P&gt;&lt;P&gt;PrepaScript:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;peek('PeekRenamingField',-1)&amp;amp;if(rowno()&amp;gt;1,',')&amp;amp;RenamingField as PeekRenamingField;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;'['&amp;amp;FieldName&amp;amp;'] as ['&amp;amp;FieldRename&amp;amp;']' as RenamingField&lt;/P&gt;&lt;P&gt;resident Config&lt;/P&gt;&lt;P&gt;Where File='$(vFile)'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vScript=peek('PeekRenamingField',-1,'PrepaScript');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table PrepaScript;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Loading data for this loop = this file, these fields, etc.&lt;/P&gt;&lt;P&gt;$(vAppelTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;$(vYear) as FileYear,&lt;/P&gt;&lt;P&gt;$(vScript)&lt;/P&gt;&lt;P&gt;FROM $(vFile) (ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop tables Files, Config;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 09:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-load-new-data-for-2018/m-p/1459346#M794866</guid>
      <dc:creator>thomaslg_wq</dc:creator>
      <dc:date>2018-01-05T09:40:14Z</dc:date>
    </item>
  </channel>
</rss>

