<?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: Split columns into one column with several ids in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694444#M593379</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;that has already helped a lot! Unfortunately, I can't get any further on the second one, because I have two databases that I want to merge via Concatenate:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;components:
CrossTable (components, component)
LOAD
  'LIN_'&amp;amp; Variation.id  as %VariationId,
  SubField(SubField(VariationBundle.components, ';', 1), ':', 1) as VariationBundle.components1,
  SubField(SubField(VariationBundle.components, ';', 2), ':', 1) as VariationBundle.components2,
  SubField(SubField(VariationBundle.components, ';', 3), ':', 1) as VariationBundle.components3

FROM [lib://QVD (ssc-qlik_qlik)/Items_LIN/Items_Lin.qvd]
(qvd);


Unqualify 'components.*';
Concatenate (components)
CrossTable (components, component)
LOAD
  'SSC_'&amp;amp; Variation.id  as %VariationId,
  SubField(SubField(VariationBundle.components, ';', 1), ':', 1) as components.VariationBundle.components1,
  SubField(SubField(VariationBundle.components, ';', 2), ':', 1) as components.VariationBundle.components2,
  SubField(SubField(VariationBundle.components, ';', 3), ':', 1) as components.VariationBundle.components3

FROM [lib://QVD (ssc-qlik_qlik)/Items_SSC/Items_Ssc.qvd]
(qvd);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that's how I get it wrong: Illegal combination of prefixes&lt;/P&gt;&lt;P&gt;I guess I have to make a JOIN here, right? Unfortunately, I'm not getting anywhere on my own. Anyone else have a tip?&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2020 13:29:58 GMT</pubDate>
    <dc:creator>Tobschmi</dc:creator>
    <dc:date>2020-04-17T13:29:58Z</dc:date>
    <item>
      <title>Split columns into one column with several ids</title>
      <link>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694418#M593377</link>
      <description>&lt;P&gt;Hello, everyone,&lt;/P&gt;&lt;P&gt;I have a supposedly simple problem. I have data that looks like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;component1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;component2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;&lt;STRONG&gt;component3&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="25%" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;100&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;101&lt;/TD&gt;&lt;TD width="25%" height="25px"&gt;102&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;What I want is something like this:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;STRONG&gt;component&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;1&lt;/TD&gt;&lt;TD width="50%"&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;1&lt;/TD&gt;&lt;TD width="50%"&gt;101&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;1&lt;/TD&gt;&lt;TD width="50%"&gt;102&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I can load it with Resident and Inline, unfortunately I can't make it, could someone help me?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694418#M593377</guid>
      <dc:creator>Tobschmi</dc:creator>
      <dc:date>2020-04-17T12:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Split columns into one column with several ids</title>
      <link>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694423#M593378</link>
      <description>&lt;P&gt;Hi, you can do a crosstable, in example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CrossTable (componentName, component)
LOAD * Inline [
ID,	component1,	component2,	component3
1,	100,	101,	102
];

DROP Field conponentName&lt;/LI-CODE&gt;&lt;P&gt;Instead of inline use your data source.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 12:23:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694423#M593378</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-17T12:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split columns into one column with several ids</title>
      <link>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694444#M593379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;that has already helped a lot! Unfortunately, I can't get any further on the second one, because I have two databases that I want to merge via Concatenate:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;components:
CrossTable (components, component)
LOAD
  'LIN_'&amp;amp; Variation.id  as %VariationId,
  SubField(SubField(VariationBundle.components, ';', 1), ':', 1) as VariationBundle.components1,
  SubField(SubField(VariationBundle.components, ';', 2), ':', 1) as VariationBundle.components2,
  SubField(SubField(VariationBundle.components, ';', 3), ':', 1) as VariationBundle.components3

FROM [lib://QVD (ssc-qlik_qlik)/Items_LIN/Items_Lin.qvd]
(qvd);


Unqualify 'components.*';
Concatenate (components)
CrossTable (components, component)
LOAD
  'SSC_'&amp;amp; Variation.id  as %VariationId,
  SubField(SubField(VariationBundle.components, ';', 1), ':', 1) as components.VariationBundle.components1,
  SubField(SubField(VariationBundle.components, ';', 2), ':', 1) as components.VariationBundle.components2,
  SubField(SubField(VariationBundle.components, ';', 3), ':', 1) as components.VariationBundle.components3

FROM [lib://QVD (ssc-qlik_qlik)/Items_SSC/Items_Ssc.qvd]
(qvd);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that's how I get it wrong: Illegal combination of prefixes&lt;/P&gt;&lt;P&gt;I guess I have to make a JOIN here, right? Unfortunately, I'm not getting anywhere on my own. Anyone else have a tip?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:29:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694444#M593379</guid>
      <dc:creator>Tobschmi</dc:creator>
      <dc:date>2020-04-17T13:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Split columns into one column with several ids</title>
      <link>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694885#M593380</link>
      <description>&lt;P&gt;Hi, that error is about using concatenate and crosstable in the same step, try doing it with different steps:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;// Load second table data
tmpSecond:
Crosstable...

// Add tmp table to components and delete
Concatenate (components) LOAD * Resident tmpSecond;
DROP Table tmpSecond;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 11:38:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-columns-into-one-column-with-several-ids/m-p/1694885#M593380</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-20T11:38:38Z</dc:date>
    </item>
  </channel>
</rss>

