<?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 Join two columns into one in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155754#M31887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I've been struggling with this for a while now... I want to group two columns into one.&lt;/P&gt;&lt;P&gt;I got it working with :&lt;/P&gt;&lt;P&gt;if(len([rel_no])&amp;lt;&amp;gt;0,[rel_no],[Project]) &lt;B&gt;as&lt;/B&gt; ProjRel&lt;/P&gt;&lt;P&gt;Project is fine but rel_no is just the ID, the description is in another table…&lt;/P&gt;&lt;P&gt;I've joined the tables but can't reference the Project field… This doesn't work:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;left&lt;/B&gt; &lt;B&gt;join&lt;/B&gt;(&lt;I&gt;"top table"&lt;/I&gt;) &lt;B&gt;load&lt;/B&gt; * ;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;load&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; text-indent: 36pt; line-height: normal; mso-layout-grid-align: none;"&gt;rel_no,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; text-indent: 36pt; line-height: normal; mso-layout-grid-align: none;"&gt;rel_desc &lt;B&gt;as&lt;/B&gt; ProjRel;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;fRom&lt;/B&gt; relLookup&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Nov 2009 12:52:09 GMT</pubDate>
    <dc:creator>alerse</dc:creator>
    <dc:date>2009-11-18T12:52:09Z</dc:date>
    <item>
      <title>Join two columns into one</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155754#M31887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I've been struggling with this for a while now... I want to group two columns into one.&lt;/P&gt;&lt;P&gt;I got it working with :&lt;/P&gt;&lt;P&gt;if(len([rel_no])&amp;lt;&amp;gt;0,[rel_no],[Project]) &lt;B&gt;as&lt;/B&gt; ProjRel&lt;/P&gt;&lt;P&gt;Project is fine but rel_no is just the ID, the description is in another table…&lt;/P&gt;&lt;P&gt;I've joined the tables but can't reference the Project field… This doesn't work:&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;left&lt;/B&gt; &lt;B&gt;join&lt;/B&gt;(&lt;I&gt;"top table"&lt;/I&gt;) &lt;B&gt;load&lt;/B&gt; * ;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;load&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; text-indent: 36pt; line-height: normal; mso-layout-grid-align: none;"&gt;rel_no,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; text-indent: 36pt; line-height: normal; mso-layout-grid-align: none;"&gt;rel_desc &lt;B&gt;as&lt;/B&gt; ProjRel;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;SQL&lt;/B&gt; &lt;B&gt;SELECT&lt;/B&gt; *&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; line-height: normal; mso-layout-grid-align: none;"&gt;&lt;B&gt;fRom&lt;/B&gt; relLookup&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thank you!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 12:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155754#M31887</guid>
      <dc:creator>alerse</dc:creator>
      <dc:date>2009-11-18T12:52:09Z</dc:date>
    </item>
    <item>
      <title>Join two columns into one</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155755#M31888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;One approach is to create a Mapping Table out of rel_no and ProjRel and then use ApplyMap() in your if statement to call the mapping table and pass rel_no in there and receive the matching ProjRel back.&lt;/P&gt;&lt;P&gt;Please see the F1 help and/or QV ref manual for the syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 12:56:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155755#M31888</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-18T12:56:30Z</dc:date>
    </item>
    <item>
      <title>Join two columns into one</title>
      <link>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155756#M31889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, thank you! Exactly what I needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Nov 2009 14:04:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Join-two-columns-into-one/m-p/155756#M31889</guid>
      <dc:creator>alerse</dc:creator>
      <dc:date>2009-11-18T14:04:23Z</dc:date>
    </item>
  </channel>
</rss>

