<?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 Concat in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243766#M497900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I got two text fields to be concatenated in the following way in a new field: "Esito [Att]"-"Sottoesito" [Att]".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esito has 2 values "OK/KO" and Sottoesito has 2 values "BLOCCANTE/NON BLOCCANTE" so I will have 3 combinations&lt;/P&gt;&lt;P&gt;- OK-&lt;/P&gt;&lt;P&gt;- KO-BLOCCANTE&lt;/P&gt;&lt;P&gt;- KO- NON BLOCCANTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would then renominate them into:&lt;/P&gt;&lt;P&gt;- OK- = OK&lt;/P&gt;&lt;P&gt;- KO-BLOCCANTE= KOB&lt;/P&gt;&lt;P&gt;- KO-NON BLOCCANTE= KON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea how to proceed, could you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2011 15:17:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-12T15:17:50Z</dc:date>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243766#M497900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I got two text fields to be concatenated in the following way in a new field: "Esito [Att]"-"Sottoesito" [Att]".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esito has 2 values "OK/KO" and Sottoesito has 2 values "BLOCCANTE/NON BLOCCANTE" so I will have 3 combinations&lt;/P&gt;&lt;P&gt;- OK-&lt;/P&gt;&lt;P&gt;- KO-BLOCCANTE&lt;/P&gt;&lt;P&gt;- KO- NON BLOCCANTE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would then renominate them into:&lt;/P&gt;&lt;P&gt;- OK- = OK&lt;/P&gt;&lt;P&gt;- KO-BLOCCANTE= KOB&lt;/P&gt;&lt;P&gt;- KO-NON BLOCCANTE= KON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no idea how to proceed, could you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bruno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 15:17:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243766#M497900</guid>
      <dc:creator />
      <dc:date>2011-10-12T15:17:50Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243767#M497901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the help file look at a section called 'mapping' this allows you to replace one value in a field with another, for example 'OK-' with 'OK' and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the combined new column simply use: Estio&amp;amp;'-'&amp;amp;Sottoestio as My_New_Column; in the load script then simply apply the mapping as per the Help File.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 15:30:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243767#M497901</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-10-12T15:30:04Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243768#M497902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;I wouldn't use crossing tables....there is anyalternative&amp;nbsp; way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 15:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243768#M497902</guid>
      <dc:creator />
      <dc:date>2011-10-12T15:37:45Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243769#M497903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You could always simply use a multiple if() statement in the load script eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Estio&amp;amp;'-'&amp;amp;Sottoestio='OK-','OK',if(Estio&amp;amp;'-'&amp;amp;Sottoestio='KO-BLOCCANTE','KOB','KON'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt - Visual Analytics Ltd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 15:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243769#M497903</guid>
      <dc:creator>matt_crowther</dc:creator>
      <dc:date>2011-10-12T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243770#M497904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i wrote it in this way but is not working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ("Esito [Att]"&amp;amp;'-'&amp;amp;"Sottoesito [Att]"='OK-','OK',if("Esito [Att]"&amp;amp;'-'&amp;amp;"Sottoesito [Att]"='KO-NONBLOCCANTE','KON','KOB')) as "AAA"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 16:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243770#M497904</guid>
      <dc:creator />
      <dc:date>2011-10-12T16:17:09Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243771#M497905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left(PurgeChar(Esito [Att]"&amp;amp;'-'&amp;amp;"Sottoesito [Att],'-'),3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2011 17:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243771#M497905</guid>
      <dc:creator />
      <dc:date>2011-10-12T17:22:54Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243772#M497906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is not solving the problem...could you help me? thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 08:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243772#M497906</guid>
      <dc:creator />
      <dc:date>2011-10-13T08:59:30Z</dc:date>
    </item>
    <item>
      <title>Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243773#M497907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't solve the problem...anyone could help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 09:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243773#M497907</guid>
      <dc:creator />
      <dc:date>2011-10-13T09:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243774#M497908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you load example application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 17:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243774#M497908</guid>
      <dc:creator />
      <dc:date>2011-10-13T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concat</title>
      <link>https://community.qlik.com/t5/QlikView/Concat/m-p/243775#M497909</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;You can give a try to the following in the script, but is better off using a mapping table and a MapSubString() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Pick(Match("Esito [Att]"&amp;amp;'-'&amp;amp;"Sottoesito [Att]", 'OK-', 'KO-NONBLOCCANTE', 'KO-BLOCCANTE'), 'OK', 'KON', 'KOB') AS AAA,&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note both field names and values are case sensitive in QlikView, hence the condition may not be working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 18:00:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat/m-p/243775#M497909</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-13T18:00:08Z</dc:date>
    </item>
  </channel>
</rss>

