<?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: Rename 2 values in field to something else in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644932#M447472</link>
    <description>&lt;P&gt;Hi That doesnt work. I get no values loaded in the field....&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 18:35:56 GMT</pubDate>
    <dc:creator>aaronnayan</dc:creator>
    <dc:date>2019-11-08T18:35:56Z</dc:date>
    <item>
      <title>Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644926#M447470</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Can anyone aid me in renaming 2 values within a field within the script?&lt;/P&gt;&lt;P&gt;Field = [Salesperson]&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;John&lt;/LI&gt;&lt;LI&gt;Mary&lt;/LI&gt;&lt;LI&gt;Sue&lt;/LI&gt;&lt;LI&gt;Frank&lt;/LI&gt;&lt;LI&gt;Barbara&lt;/LI&gt;&lt;LI&gt;Terry&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I would like to change "Sue" to "Susan" and "John" to "Jonathon".&lt;/P&gt;&lt;P&gt;I have already tried&amp;nbsp;&lt;STRONG&gt;if(Salesperson='Sue','&lt;SPAN&gt;Susan&lt;/SPAN&gt;', AND if(Salesperson='John','&lt;SPAN&gt;Johnathon&lt;/SPAN&gt;', Salesperson&lt;/STRONG&gt;&lt;SPAN&gt;&lt;STRONG&gt;) as Salesperson&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;It doesnt work. The field Salesperson comes from a QVD with more than a 100 values.&lt;/P&gt;&lt;P&gt;I do alternatively have the SalespersonID field if something could be done from that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:42:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644926#M447470</guid>
      <dc:creator>aaronnayan</dc:creator>
      <dc:date>2024-11-16T19:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644929#M447471</link>
      <description>&lt;P&gt;Try using&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/MappingFunctions/ApplyMap.htm" target="_self"&gt;ApplyMap()&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MapPerson:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MAPPING Load&lt;/STRONG&gt; * inline [&lt;/P&gt;&lt;P&gt;A , B&lt;/P&gt;&lt;P&gt;Sue, Susan&lt;/P&gt;&lt;P&gt;John, Johnaton&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;&lt;P&gt;Applymap ('MapPerson',&amp;nbsp;&lt;SPAN&gt;Salesperson,&amp;nbsp;Salesperson) as Salesperson,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Other fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From Source;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 18:37:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644929#M447471</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-11-08T18:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644932#M447472</link>
      <description>&lt;P&gt;Hi That doesnt work. I get no values loaded in the field....&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 18:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644932#M447472</guid>
      <dc:creator>aaronnayan</dc:creator>
      <dc:date>2019-11-08T18:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644933#M447473</link>
      <description>&lt;P&gt;Oops, my bad. It is supposed&amp;nbsp; to be &lt;STRONG&gt;mapping load.&lt;/STRONG&gt; I'll adjust my original answer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 18:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1644933#M447473</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-11-08T18:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1646590#M447558</link>
      <description>&lt;P&gt;Aaron, did Vegar's adjust post get things working as you wished?&amp;nbsp; If so, be sure to come back to the thread and use the Accept as Solution button on his main post to give him credit for the help and to let others know it did work.&amp;nbsp; If you are still working upon things, leave an update.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 17:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1646590#M447558</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-11-13T17:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rename 2 values in field to something else</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1646605#M447559</link>
      <description>try this:&lt;BR /&gt;if(Salesperson='Sue', 'Susan' , if(Salesperson='John' , 'Johnathon', Salesperson) ) as Salesperson</description>
      <pubDate>Wed, 13 Nov 2019 18:04:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-2-values-in-field-to-something-else/m-p/1646605#M447559</guid>
      <dc:creator>Marcos_rv</dc:creator>
      <dc:date>2019-11-13T18:04:11Z</dc:date>
    </item>
  </channel>
</rss>

