<?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 do I map field values from multiple data sets into one field name? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35904#M776053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to figure out a shortcut for my below issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple data sets, and within each data set there is one column in particular that is named differently, and has different field values, however I need to merge all of these column names and field values into one field so that I can filter my whole data set with just ONE filter. I'd rather not have to write out "IF(Business 101= 'Option AA','Option A') AS Master_Filter" throughout each data set, because this would take a long time (there about data sets, with many more field values) and my mapping might change in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business 1" and my field values are "Option A", "Option B" and "Option C"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 2: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business 101" and my field values are "Option AA", "Option BB" and "Option CC" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 3: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business One" and my field values are "Option Ace", "Option Beta" and "Option Charlie" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... when I actually want the field values from Data Set 1 to be the "master"... so in the latter two data sets I want "Option AA"&amp;nbsp; and "Option Ace" to be renamed "Option A". My newly created table would be named "Master_Table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, this would allow to me filter across all three data sets using ONE column name "Master_Table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to do this without writing out IF THEN statements within each data set? Thanks for any guidance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>scheibercamo</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How do I map field values from multiple data sets into one field name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35904#M776053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to figure out a shortcut for my below issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple data sets, and within each data set there is one column in particular that is named differently, and has different field values, however I need to merge all of these column names and field values into one field so that I can filter my whole data set with just ONE filter. I'd rather not have to write out "IF(Business 101= 'Option AA','Option A') AS Master_Filter" throughout each data set, because this would take a long time (there about data sets, with many more field values) and my mapping might change in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 1: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business 1" and my field values are "Option A", "Option B" and "Option C"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 2: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business 101" and my field values are "Option AA", "Option BB" and "Option CC" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data Set 3: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Column Name is "Business One" and my field values are "Option Ace", "Option Beta" and "Option Charlie" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... when I actually want the field values from Data Set 1 to be the "master"... so in the latter two data sets I want "Option AA"&amp;nbsp; and "Option Ace" to be renamed "Option A". My newly created table would be named "Master_Table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, this would allow to me filter across all three data sets using ONE column name "Master_Table".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to do this without writing out IF THEN statements within each data set? Thanks for any guidance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35904#M776053</guid>
      <dc:creator>scheibercamo</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I map field values from multiple data sets into one field name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35905#M776054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;attach your file to help&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35905#M776054</guid>
      <dc:creator>marcelviegas</dc:creator>
      <dc:date>2018-04-30T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I map field values from multiple data sets into one field name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35906#M776055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rick, to avoid if then you can use a mapping table, check the example in the help:&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/es-ES/sense/September2017/Subsystems/Hub/Content/Scripting/MappingFunctions/ApplyMap.htm" title="https://help.qlik.com/es-ES/sense/September2017/Subsystems/Hub/Content/Scripting/MappingFunctions/ApplyMap.htm"&gt;https://help.qlik.com/es-ES/sense/September2017/Subsystems/Hub/Content/Scripting/MappingFunctions/ApplyMap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an idea:&lt;/P&gt;&lt;P&gt;mapTable:&lt;/P&gt;&lt;P&gt;Mapping LOAD * Inline [&lt;/P&gt;&lt;P&gt;column1, renamed&lt;/P&gt;&lt;P&gt;OptionAA, OptionA&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Applymap('mapTable', Column1, Column1) as Master_Field&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that particular values "Left(Columa1, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; as Master_field" can work, but I don't know if your real or future data can be those values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:42:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35906#M776055</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-04-30T18:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I map field values from multiple data sets into one field name?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35907#M776056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Applymap&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Descriptions:&lt;/P&gt;&lt;P&gt;Mapping load * Inline&lt;/P&gt;&lt;P&gt;[ &lt;/P&gt;&lt;P&gt;From, To&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Option AA,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Option A&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Option Ace,&lt;/SPAN&gt;Option A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Master_table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;F1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;F2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; "Business 1" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;From&amp;nbsp; your source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Concatenate(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Master_table)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;F1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;F2,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Applymap('&lt;SPAN style="font-size: 13.3333px;"&gt;Map_Descriptions',&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Business 101" ,'NA') as &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"Business 1"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;From&amp;nbsp; &lt;/SPAN&gt;Your Source 2 &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hth&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sasi&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:54:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-map-field-values-from-multiple-data-sets-into-one-field/m-p/35907#M776056</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-04-30T18:54:21Z</dc:date>
    </item>
  </channel>
</rss>

