<?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: Error unique fields, combine/merge two fields into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650833#M238018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for each row the contents of the 2 fields will be concatenated in a new field (this happens in each row) ... nothing more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Oct 2014 09:11:55 GMT</pubDate>
    <dc:creator>alexandros17</dc:creator>
    <dc:date>2014-10-17T09:11:55Z</dc:date>
    <item>
      <title>Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650830#M238015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can enyone help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I load a specific table I get an error that says I have to use unique fields. I looked at my load statement and indeed found two fields with the samen name. The fields I load holds ID-numbers of suppliers and customers. I want them loaded in the same column called&amp;nbsp; custSupID. &lt;/P&gt;&lt;P&gt;Example of the script I use now:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customerSupplier:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;[&amp;lt;bseg&amp;gt;-kunnr] as depSupID,&lt;/P&gt;&lt;P&gt;[&amp;lt;bseg&amp;gt;-lifnr] as credSupID,&lt;/P&gt;&lt;P&gt;[lwa_kna1-name1] as debCompanyName, &lt;/P&gt;&lt;P&gt;[lwa_lfa1-name1] as credCompanyName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is:&lt;/P&gt;&lt;P&gt;[&amp;lt;bseg&amp;gt;-kunnr] as &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;custSupID&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;[&amp;lt;bseg&amp;gt;-lifnr] as &lt;STRONG&gt;custSupID&lt;/STRONG&gt; (this will give an error because the field is not unique&lt;/P&gt;&lt;P&gt;[lwa_kna1-name1] as &lt;STRONG&gt;companyName&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;[lwa_lfa1-name1] as &lt;STRONG&gt;companyName (the same here)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can I just use sumething like this:&lt;/P&gt;&lt;P&gt;[&amp;lt;bseg&amp;gt;-kunnr] + [&amp;lt;bseg&amp;gt;-lifnr] as &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;custSupID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Will this create a column that holds both ID-numbers?&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 08:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650830#M238015</guid>
      <dc:creator />
      <dc:date>2014-10-17T08:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650831#M238016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes to all your questions,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[&amp;lt;bseg&amp;gt;-kunnr] + [&amp;lt;bseg&amp;gt;-lifnr] as &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;custSupID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;is correct, just use &amp;amp; instead +&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Let me know&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 08:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650831#M238016</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-17T08:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650832#M238017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And this will place each unique value in a unique field (underneath each other)? Not that it will combine them &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="alt-edited hps"&gt;one behind the other.....&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650832#M238017</guid>
      <dc:creator />
      <dc:date>2014-10-17T09:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650833#M238018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for each row the contents of the 2 fields will be concatenated in a new field (this happens in each row) ... nothing more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:11:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650833#M238018</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-17T09:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650834#M238019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;described the question wrong, I'm sorry. What I want to do is merge/combine two columns into one column. So the new column holds the ID's of the one and the other, but not combined in one field but each ID in a unique field.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650834#M238019</guid>
      <dc:creator />
      <dc:date>2014-10-17T09:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650835#M238020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to have the ID's in one column, so each value in a different row, you can do two seperate loads. If you keep the fields the same they will automatically concatenate into one table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[&amp;lt;bseg&amp;gt;-kunnr] as &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;custSupID&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[lwa_kna1-name1] as &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;companyName&lt;/STRONG&gt;,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;From......&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[&amp;lt;bseg&amp;gt;-lifnr] as &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;custSupID&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[lwa_lfa1-name1] as &lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;companyName&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-style: inherit;"&gt;from.....&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:16:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650835#M238020</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2014-10-17T09:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error unique fields, combine/merge two fields into one</title>
      <link>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650836#M238021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, that's it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-unique-fields-combine-merge-two-fields-into-one/m-p/650836#M238021</guid>
      <dc:creator />
      <dc:date>2014-10-17T09:19:50Z</dc:date>
    </item>
  </channel>
</rss>

