<?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 Concatenate in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290420#M107801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the script, you can write:&lt;/P&gt;&lt;P&gt;load [COL1]&amp;amp;[COL2]&amp;amp; '-' &amp;amp; [COL3] AS KEY,&lt;/P&gt;&lt;P&gt;[COL1] AS [COL1]&lt;/P&gt;&lt;P&gt; [COL2]&amp;amp; '-' &amp;amp; [COL3] AS NAME&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can use [COL1] on the interface for selecions&lt;/P&gt;&lt;P&gt;Key for some operation (to link tables or some types of count)&lt;/P&gt;&lt;P&gt;and NAME as the value to be showed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 May 2011 13:05:25 GMT</pubDate>
    <dc:creator>erichshiino</dc:creator>
    <dc:date>2011-05-11T13:05:25Z</dc:date>
    <item>
      <title>Concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290419#M107800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to concatenate 3 fields separated by space in the scrip editor.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[COL1]&lt;/P&gt;&lt;P&gt;[COL2]&lt;/P&gt;&lt;P&gt;[COL3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to show something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[COL1] [COL2] - [COL3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another thing.&lt;BR /&gt;Is it possible to concatenate this values &lt;/P&gt;&lt;P&gt;[COL1] [COL2] - [COL3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And do not show the [COL1]?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why?&lt;/P&gt;&lt;P&gt;It's because I need the value of COL1 just to separate an specific type in order to avoid multiple sum on the frequency calculus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the best thing for me would be&lt;/P&gt;&lt;P&gt;Concatenate:&lt;/P&gt;&lt;P&gt;[COL1] [COL2] - [COL3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And show only:&lt;/P&gt;&lt;P&gt;[COL2] - [COL3]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If COL2= Bruno and COL3= Lelli&lt;/P&gt;&lt;P&gt;Then the value showed would be&lt;/P&gt;&lt;P&gt;Bruno - Lelli&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 12:57:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290419#M107800</guid>
      <dc:creator />
      <dc:date>2011-05-11T12:57:23Z</dc:date>
    </item>
    <item>
      <title>Concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290420#M107801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the script, you can write:&lt;/P&gt;&lt;P&gt;load [COL1]&amp;amp;[COL2]&amp;amp; '-' &amp;amp; [COL3] AS KEY,&lt;/P&gt;&lt;P&gt;[COL1] AS [COL1]&lt;/P&gt;&lt;P&gt; [COL2]&amp;amp; '-' &amp;amp; [COL3] AS NAME&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can use [COL1] on the interface for selecions&lt;/P&gt;&lt;P&gt;Key for some operation (to link tables or some types of count)&lt;/P&gt;&lt;P&gt;and NAME as the value to be showed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 13:05:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290420#M107801</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2011-05-11T13:05:25Z</dc:date>
    </item>
    <item>
      <title>Concatenate</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290421#M107802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is how to concatenate in your script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;COL1 &amp;amp; ' ' &amp;amp; COL2 &amp;amp; ' - ' &amp;amp; COL3 AS IDFullName,&lt;/P&gt;&lt;P&gt;COL2 &amp;amp; ' - ' &amp;amp; COL3 AS FullName&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"IDFullName" will contain the 3 fields. You'll use it for your frequencies.&lt;/P&gt;&lt;P&gt;"FullName" will contain the 2 fields you really need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't need to display the content of "IDFullName", use instead &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;autonumber(COL1 &amp;amp; ' ' &amp;amp; COL2 &amp;amp; ' - ' &amp;amp; COL3) AS IDFullNameWith&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will convert your string into a unique integer. This will speed up the operations by QlikView (it's easier for a program to compare integers instead of strings).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 May 2011 13:11:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate/m-p/290421#M107802</guid>
      <dc:creator />
      <dc:date>2011-05-11T13:11:17Z</dc:date>
    </item>
  </channel>
</rss>

