<?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 Different results from same load-string? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287755#M707897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample QlikView document? That will make it easier to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 10:51:04 GMT</pubDate>
    <dc:creator>dpietersz</dc:creator>
    <dc:date>2011-12-08T10:51:04Z</dc:date>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287752#M707894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a dashboard for our company. However, I am encountering the following problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is data coming from our company in Argentina. This data is located in 1 file, called "Argentina - New 2011 All Data.xls".&lt;/P&gt;&lt;P&gt;We also have a budget for next year, which is located in another file, called "Budget AR 2012".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a product we sold this year, which we will also sell in next year. This means it is in both files. Now here's a little part from the files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV Comparison.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/9313_QV+Comparison.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, the number and the name are exactly the same in both files. &lt;/P&gt;&lt;P&gt;The lay-out for the cells are also the same ('Number' for the Product_number and 'General' for the Product_name).&lt;/P&gt;&lt;P&gt;I tie these to fields together in my script, adding a " - " in between and calling the filed [Material - Code &amp;amp; Name].&lt;/P&gt;&lt;P&gt;So you would get: "210794001205467 - PERSOFTAL L 1000KG."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I load these two files into Qlikview. Both files are loaded seperatly, and are concatenated seperatly into another table, 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"&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;(This is the table from our main office, which also contains products, different from the Argentina ones)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Product_7:&lt;/P&gt;&lt;P&gt;LOAD %MaterialNumber_Key, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Material - Code &amp;amp; Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Material Name], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Line Desc 1]&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;MAKT_MaterialDescriptions_P60.qvd&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;(This is the table containing the 2011 data from Argentina)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//LE Concatenation&lt;/P&gt;&lt;P&gt;Concatenate (Product_7)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;%MaterialNumber_Key,&lt;/P&gt;&lt;P&gt;[Material - Code &amp;amp; Name],&lt;/P&gt;&lt;P&gt;[Material Name]&lt;/P&gt;&lt;P&gt;Resident ArgentinaTest; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;(This is the table containing the 2012 budget data from Argentina)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;//LE Budget Concatenate&lt;/P&gt;&lt;P&gt;Concatenate (Product_7)&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;%MaterialNumber_Key,&lt;/P&gt;&lt;P&gt;[Material - Code &amp;amp; Name]&lt;/P&gt;&lt;P&gt;Resident Budget_LE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I tell Qlikview to show me a list box of the [Material - Code &amp;amp; Name] field and look for the product from Argentina, it shows me this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QV Persoftal Problem.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/9314_QV+Persoftal+Problem.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;As you can see, it is loaded into Qlikview 2 times, with a different number each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any idea what this could be?&lt;/P&gt;&lt;P&gt;I hope I explained it clear enough, if anyone has any questions, please ask!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 09:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287752#M707894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T09:11:35Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287753#M707895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be something with the interpretation of the fields. Try to force a text interpretation with the functions TEXT().&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 09:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287753#M707895</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T09:50:44Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287754#M707896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried putting text() in front of the formula, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;text(Product_number) &amp;amp; ' - ' &amp;amp; text(Product_name) as [Material - Code &amp;amp; Name],&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn't make any difference, still showing the two different numbers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another strange thing I noticed: I also load the 'Product_number' field as a key with the name %MaterialNumber_Key&lt;/P&gt;&lt;P&gt;When I check the listbox for that key-field, it does show only 1 number, the correct one...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 10:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287754#M707896</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T10:00:49Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287755#M707897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample QlikView document? That will make it easier to help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 10:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287755#M707897</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T10:51:04Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287756#M707898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I post a sample document? &lt;/P&gt;&lt;P&gt;I cannot give you all the files, that's huge data...&lt;/P&gt;&lt;P&gt;What would you need???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 11:01:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287756#M707898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T11:01:35Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287757#M707899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you reply you can switch to the advanced editor (in the upper right corner of the editor). Than you can upload a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just the QlikView file with a limited set of data. You can make a small selection in QlikView and than reduce the data (and keep the possible values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only post columns and data that are not a security risk for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 11:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287757#M707899</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T11:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287758#M707900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, ok, this should do the trick I guess...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOL, just found out I kept the password and username on it... Please use 'Diepen' and&amp;nbsp; 'Diepen'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please click forward to Product (using the cycling icon) and then search in the box 'Material - Code &amp;amp; Name' for "Persoftal L 1000KG." and select the upper two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the problem lies with the data presented in the column 'KG', which is the data loaded for 2011 from the table ArgentinaTest.&lt;/P&gt;&lt;P&gt;The data presented in the column 'Budget KG' is the 2012 data, coming from the table Budget_LE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see that the %MaterialNumber_Key is the same for both, which is strange, since the origin is the same as the number used in the Material - Code &amp;amp; Name...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 11:28:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287758#M707900</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T11:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287759#M707901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's hard to get to the bottom of the problem. There are alot of synthetic keys in the datamodel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These synthetic keys are generated because of matching columns in more than one table. QlikView will generate automatic (synthetic) tables to keep their associative data model working. Because their is no control over the automatic generated synthetic tables it's hard to say where the problem lies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I would have to analyze this problem. I would start with loading only one table and see if you still have the problem. Do this for every table. If the problem doesn't occur, you can start step by step with your data model. Check after every step the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to make a datamodel without synthetic tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 12:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287759#M707901</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T12:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287760#M707902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dimitri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all: the keys are only there because I removed a lot of tables which have nothing to do with the problem at hand. The file I am using, is without keys, loops or whatever...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange thing is: if I concatenate the two files (2011 and 2012), it shows only 1 code, the right one. If I concatenate them seperatly from eachother with another table, it gives the 2 codes... Very strange thing it is...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 12:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287760#M707902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T12:56:45Z</dc:date>
    </item>
    <item>
      <title>Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287761#M707903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; The problem will be solved once the synthetic keys are resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 12:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287761#M707903</guid>
      <dc:creator />
      <dc:date>2011-12-08T12:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287762#M707904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand the 2 different ways of concatenating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you post the 2 different scripting approaches you mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have the problem without synthetic tables, than it has to be in one of the steps you do.&lt;/P&gt;&lt;P&gt;You can be sure of this if you make a new clean .qvw and load only one table at the time. My guess is that will show the correct data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try to see if there is a difference in the cell properties of the 2 excel files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287762#M707904</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T13:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287763#M707905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1st Concatenate way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Load Table 2011 data&lt;/P&gt;&lt;P&gt;- Load Table 2012 data&lt;/P&gt;&lt;P&gt;- Load Table with HeadQuarter data&lt;/P&gt;&lt;P&gt;- concatenate Table 2011 data with Table HQ-data&lt;/P&gt;&lt;P&gt;- concatenate Table 2012 data with Table HQ-data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd Concatenate way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Load Table 2011 data&lt;/P&gt;&lt;P&gt;- Load Table 2012 data&lt;/P&gt;&lt;P&gt;- concatenate Table 2012 data with Table 2011 data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st way gives the double data&lt;/P&gt;&lt;P&gt;2nd way only gives single data, as it should be...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Complicated for me to explain this clearly to you all I'm afraid &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Think I'll try the table for table approach you suggest...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287763#M707905</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287764#M707906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I beginning to understand it. Don't worry, it's always hard to explain these things via internet &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the function "exit script;" between your load statements to see if everything is working as it should be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe QlikView automaticllay does a concatenation which you don't expect. If your load state has exactly the same column names as a previous load statement QlikView will concatenate it for you. If you don't want this you can use "noconcatenate load" instead of "Load".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:26:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287764#M707906</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T13:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287765#M707908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I reload once more, and everything works... I didn't change a thing...&lt;/P&gt;&lt;P&gt;This is very, very strange...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, thanks for the help Dimitri, much appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:37:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287765#M707908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T13:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Different results from same load-string?</title>
      <link>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287766#M707910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your welcome!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 13:42:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Different-results-from-same-load-string/m-p/287766#M707910</guid>
      <dc:creator>dpietersz</dc:creator>
      <dc:date>2011-12-08T13:42:41Z</dc:date>
    </item>
  </channel>
</rss>

