<?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: Concatenating data from an Excel sheet in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434281#M696026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just realized what is happening: It seems to be connected to those two fields having the same fieldname.&lt;/P&gt;&lt;P&gt;What is happening now is that when from the uppermost level of my drilldown group (turnover_type), where the variable and fixed turnover_types are neatly displayed I go down to the next detail level ("Zuordnung"), &lt;/P&gt;&lt;P&gt;=&amp;gt; QlikView mixes up those two datasets (well, it is actually one now since I have concatenated it) and, regardless whether I have selected "variable" or "fixed", it displays the values from both turnover_types - which is should not.&lt;/P&gt;&lt;P&gt;I chose to give the field (in the fixed_cost_table) the same name as one field in the qvd because I don't know how to incorporate a query in my drilldown group - is there a way I can include sth. like an IF clause in the drilldown group (like &amp;gt;&amp;gt;&amp;nbsp; IF(Umsatzart='Fix', [Field1], [Field2])&amp;nbsp; &amp;lt;&amp;lt;)?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I can - it didn't work before, but I have changed a number of things since and now it works. This is m.o.l. solved then - the multiplication of records is expected behaviour connected to those keyfields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 May 2013 15:27:18 GMT</pubDate>
    <dc:creator>datanibbler</dc:creator>
    <dc:date>2013-05-07T15:27:18Z</dc:date>
    <item>
      <title>Concatenating data from an Excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434278#M696023</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 messed up the results of my current document and I did not notice it right away - so I have to take a few steps backward.&lt;/P&gt;&lt;P&gt;Currently I am facing the following issue: I have a LOAD statement from a qvd file in my script with a WHERE clause at the end - nothing out of the ordinary there, it would seem. Then I have a CONCATENATE and another LOAD statement (I deleted the keyword &amp;gt;Directory;&amp;lt; above that) from an Excel file that contains only 9 records - but the script_execution dialog window tells me that from this Excel file, QlikView retrieved the same number of records as from the qvd file (+9).&lt;/P&gt;&lt;P&gt;When I leave out the CONCATENATE, the number of rows is correct, but then I have an issue with a synthetic key.&lt;/P&gt;&lt;P&gt;Can somebody tell me why this is happening and how I can fix it?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 13:31:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434278#M696023</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-05-07T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating data from an Excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434279#M696024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friedrich,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Could you please tell with example what did you really change in the script?&lt;/P&gt;&lt;P&gt;Attached example is working fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 14:26:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434279#M696024</guid>
      <dc:creator>anandathome</dc:creator>
      <dc:date>2013-05-07T14:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating data from an Excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434280#M696025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue I was concerned about is actually "solved" - one could say it never existed in the way I saw it. I just looked at only the first two ciphers of a number and it appeared wrong. When looking at the entire number, it is right.&lt;/P&gt;&lt;P&gt;The other issue, however, remains. I have just rerun the script: I am loading a qvd file with 1.5mio records approx. and I have an Excel file with just 9 records - the first is from our Database and I calculate (variable) turnover based on it, the second holds the 9 fixed_cost_items there are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script, I have the first LOAD statement closed with a semicolon. Then comes the keyword CONCATENATE and the second LOAD statement without the &amp;gt;Directory;&amp;lt; above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What should be happening is that the QlikView script loads the 1.5mio records from the qvd and then concatenates the 9 records from the Excel file. Instead, I get 1.5mio records from the qvd - and then another 1.5mio from the Excel file (exactly 9 records more).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Excel file (attached) has the same nr. of fields as the qvd of course, but primarily it has:&lt;/P&gt;&lt;P&gt;- the keyfield %ITEM_NUMBER (the keyfield linking that dimension table to my main facts table), &lt;/P&gt;&lt;P&gt;- two fields ("Zuordnung" and "Umsatzart") which have the same name as two fields in the qvd (so the contents of the Excel file will be seamlessly integrated&lt;BR /&gt;&amp;nbsp;&amp;nbsp; and the same drilldown_dimension will work for both datasets)&lt;/P&gt;&lt;P&gt;- and one extra field ("Fixkosten") that holds the amounts - but only for these 9 records - in the qvd, I have added that field, but with a numeric 0 in every record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So why is QlikView blowing up the Excel file to the same size as the qvd that it is concatenated to?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: OK - I just saw that in your file, the same thing is happening - the script load 7 records from the qvd and 10 from the Excel file. So I guess this is normal behaviour?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 15:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434280#M696025</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-05-07T15:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenating data from an Excel sheet</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434281#M696026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just realized what is happening: It seems to be connected to those two fields having the same fieldname.&lt;/P&gt;&lt;P&gt;What is happening now is that when from the uppermost level of my drilldown group (turnover_type), where the variable and fixed turnover_types are neatly displayed I go down to the next detail level ("Zuordnung"), &lt;/P&gt;&lt;P&gt;=&amp;gt; QlikView mixes up those two datasets (well, it is actually one now since I have concatenated it) and, regardless whether I have selected "variable" or "fixed", it displays the values from both turnover_types - which is should not.&lt;/P&gt;&lt;P&gt;I chose to give the field (in the fixed_cost_table) the same name as one field in the qvd because I don't know how to incorporate a query in my drilldown group - is there a way I can include sth. like an IF clause in the drilldown group (like &amp;gt;&amp;gt;&amp;nbsp; IF(Umsatzart='Fix', [Field1], [Field2])&amp;nbsp; &amp;lt;&amp;lt;)?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataNibbler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I can - it didn't work before, but I have changed a number of things since and now it works. This is m.o.l. solved then - the multiplication of records is expected behaviour connected to those keyfields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2013 15:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenating-data-from-an-Excel-sheet/m-p/434281#M696026</guid>
      <dc:creator>datanibbler</dc:creator>
      <dc:date>2013-05-07T15:27:18Z</dc:date>
    </item>
  </channel>
</rss>

