<?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 How to use mapping function for certain customers in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-use-mapping-function-for-certain-customers/m-p/1518829#M37094</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a source file with fields customer and country .Currently a,b,c customers are marked as Germany customers,and other customers say d,e,f...belong to Germany or different countries.&lt;/P&gt;&lt;P&gt;Now the requirement is to implement a generic solution to change it to Austria customers without hard coding in script.&lt;/P&gt;&lt;P&gt;What i have tried:&lt;/P&gt;&lt;P&gt;MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;BR /&gt;Country,&lt;/P&gt;&lt;P&gt;newCountry&lt;/P&gt;&lt;P&gt;from mappingfile;(created one)&lt;/P&gt;&lt;P&gt;Datamodel:&lt;/P&gt;&lt;P&gt;ApplyMap('MAP',"E") AS [Customer Country] ,&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Now a,b,c customers are mapped to new country but other customers say z which is having Germany as country will also be mapped to Austria. Hence how to apply condition(if any other) here?Can anyone help here?&lt;/P&gt;</description>
    <pubDate>Mon, 10 Dec 2018 16:35:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-12-10T16:35:45Z</dc:date>
    <item>
      <title>How to use mapping function for certain customers</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-mapping-function-for-certain-customers/m-p/1518829#M37094</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a source file with fields customer and country .Currently a,b,c customers are marked as Germany customers,and other customers say d,e,f...belong to Germany or different countries.&lt;/P&gt;&lt;P&gt;Now the requirement is to implement a generic solution to change it to Austria customers without hard coding in script.&lt;/P&gt;&lt;P&gt;What i have tried:&lt;/P&gt;&lt;P&gt;MAP:&lt;/P&gt;&lt;P&gt;MAPPING LOAD&lt;BR /&gt;Country,&lt;/P&gt;&lt;P&gt;newCountry&lt;/P&gt;&lt;P&gt;from mappingfile;(created one)&lt;/P&gt;&lt;P&gt;Datamodel:&lt;/P&gt;&lt;P&gt;ApplyMap('MAP',"E") AS [Customer Country] ,&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;Now a,b,c customers are mapped to new country but other customers say z which is having Germany as country will also be mapped to Austria. Hence how to apply condition(if any other) here?Can anyone help here?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 16:35:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-mapping-function-for-certain-customers/m-p/1518829#M37094</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-10T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use mapping function for certain customers</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-use-mapping-function-for-certain-customers/m-p/1518848#M37095</link>
      <description>&lt;P&gt;May be something like this&lt;/P&gt;&lt;PRE&gt;If(Match(Customer, 'a', 'b', 'c'), ApplyMap('MAP',"E"), "E") AS [Customer Country]&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Dec 2018 17:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-use-mapping-function-for-certain-customers/m-p/1518848#M37095</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-10T17:10:50Z</dc:date>
    </item>
  </channel>
</rss>

