<?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 Syntax Help.... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Syntax-Help/m-p/262964#M709781</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;&lt;/P&gt;&lt;P&gt;Need some help with some syntax please:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;MixMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;, 'Contractor', 'contractor','Contractor '), 'Contractors' &lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;MixMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;,'SI', 'SI ','SI Partner'),'SIPartner'), &lt;SPAN style="color: #800000;"&gt;or&lt;/SPAN&gt;&lt;BR /&gt;if(MixMatch(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;,'?', 'FTC'), 'Other', &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;)) as &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent_New]&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to group my data together in certain buckets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Contractor', 'contractor','Contractor ' =&amp;nbsp; 'Contractors'&lt;/P&gt;&lt;P&gt;'SI', 'SI ','SI Partner' = 'SIPartner'&lt;/P&gt;&lt;P&gt;'?', 'FTC' =&amp;nbsp; 'Other'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call the the rest keep it the same and for the new buckets created create a new field called &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent_New].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Sunil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Oct 2011 11:09:51 GMT</pubDate>
    <dc:creator>Sunil_Kenth</dc:creator>
    <dc:date>2011-10-20T11:09:51Z</dc:date>
    <item>
      <title>Syntax Help....</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Help/m-p/262964#M709781</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;&lt;/P&gt;&lt;P&gt;Need some help with some syntax please:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(&lt;SPAN style="color: #0000ff;"&gt;MixMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;, 'Contractor', 'contractor','Contractor '), 'Contractors' &lt;SPAN style="color: #0000ff;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;if&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;MixMatch&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;,'SI', 'SI ','SI Partner'),'SIPartner'), &lt;SPAN style="color: #800000;"&gt;or&lt;/SPAN&gt;&lt;BR /&gt;if(MixMatch(&lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;,'?', 'FTC'), 'Other', &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent]&lt;/SPAN&gt;)) as &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent_New]&lt;/SPAN&gt;, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to group my data together in certain buckets:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Contractor', 'contractor','Contractor ' =&amp;nbsp; 'Contractors'&lt;/P&gt;&lt;P&gt;'SI', 'SI ','SI Partner' = 'SIPartner'&lt;/P&gt;&lt;P&gt;'?', 'FTC' =&amp;nbsp; 'Other'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then call the the rest keep it the same and for the new buckets created create a new field called &lt;SPAN style="color: #800000;"&gt;[Contractor / Permanent_New].&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000;"&gt;Sunil&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 11:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Help/m-p/262964#M709781</guid>
      <dc:creator>Sunil_Kenth</dc:creator>
      <dc:date>2011-10-20T11:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax Help....</title>
      <link>https://community.qlik.com/t5/QlikView/Syntax-Help/m-p/262965#M709783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd use instead a mapping load and a MapSubString() in the field&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;OldNewValueMap:&lt;/P&gt;&lt;P&gt;MAPPING LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Contractor, Contractors &lt;/P&gt;&lt;P&gt;contractor, Contractors&lt;/P&gt;&lt;P&gt;Contractor , Contractors&lt;/P&gt;&lt;P&gt;SI, SIPartner&lt;/P&gt;&lt;P&gt;SI , SIPartner&lt;/P&gt;&lt;P&gt;SI Partner, SIPartner&lt;/P&gt;&lt;P&gt;?, Other&lt;/P&gt;&lt;P&gt;FTC, Other&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change:&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MapSubString('OldNewValueMap', [Contractor / Permanent]) AS [Contractor / Permanent_New]&lt;/P&gt;&lt;P&gt;INLINE [&lt;/P&gt;&lt;P&gt;Contractor / Permanent&lt;/P&gt;&lt;P&gt;Contractor&lt;/P&gt;&lt;P&gt;Different Value&lt;/P&gt;&lt;P&gt;contractor&lt;/P&gt;&lt;P&gt;SI Partner&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;FTC&lt;/P&gt;&lt;P&gt;ftc&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/PRE&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, 20 Oct 2011 11:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Syntax-Help/m-p/262965#M709783</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-10-20T11:38:53Z</dc:date>
    </item>
  </channel>
</rss>

