<?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 Expression based mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298510#M498064</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to the community and to Qlickview (less than two weeks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume my question might be in the expression category as well, but based on my understanding since what I am asking about will take place each load, it should be a scripting question ... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is to create a roll up hierarchy based on combination of several columns from a single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hierarchy is based on the combination of product number and product family columns (in Business Objects report this hierarchy is created via &lt;EM&gt;if statement &lt;/EM&gt;driven variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMapp – based on my understanding of the manual, replaces the values in the existing fields based on the given expression, however, my requirement is to have additional columns – levels of hierarchies, thus I need to add columns with values of the fields in these columns being assigned via expression instead of changing the field values in the existing columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a mode in which ApplyMap creates a new column in the existing table instead of over-writing the existing values in the column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ApplyMap is not the proper tool, should there a be a QVD created, if yes, should the hierarchy columns be created via a variable/LET function script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF QVD is not a correct approach should Inline Data Wizzard be applied in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Michael. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Aug 2011 02:12:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-25T02:12:30Z</dc:date>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298510#M498064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am new to the community and to Qlickview (less than two weeks).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume my question might be in the expression category as well, but based on my understanding since what I am asking about will take place each load, it should be a scripting question ... ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The challenge is to create a roll up hierarchy based on combination of several columns from a single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The hierarchy is based on the combination of product number and product family columns (in Business Objects report this hierarchy is created via &lt;EM&gt;if statement &lt;/EM&gt;driven variables)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ApplyMapp – based on my understanding of the manual, replaces the values in the existing fields based on the given expression, however, my requirement is to have additional columns – levels of hierarchies, thus I need to add columns with values of the fields in these columns being assigned via expression instead of changing the field values in the existing columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a mode in which ApplyMap creates a new column in the existing table instead of over-writing the existing values in the column?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ApplyMap is not the proper tool, should there a be a QVD created, if yes, should the hierarchy columns be created via a variable/LET function script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF QVD is not a correct approach should Inline Data Wizzard be applied in this case?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;Michael. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 02:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298510#M498064</guid>
      <dc:creator />
      <dc:date>2011-08-25T02:12:30Z</dc:date>
    </item>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298511#M498065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Assuming you have columns for ProdNumber and ProdFamily, and various combinations of those result in a Hierarchy Value, you can indeed use ApplyMap.&amp;nbsp; And you'll be creating new columns in the process (not replacing any existing columns).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your script, you could setup the Map something like the following.&amp;nbsp; This assumes you have products P1, P2 and Family Fam1, Fam2, with combinations mapping to groups called H1, H2, or H3, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MapProdHierarchy&lt;/STRONG&gt;:&lt;BR /&gt;MAPPING LOAD * INLINE [&lt;BR /&gt; ProdNumber_ProdFamily, HierarchyGroup&lt;BR /&gt; P1_Fam1, H1&lt;BR /&gt; P2_Fam1, H2&lt;BR /&gt; P1_Fam2, H3&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in the LOAD script for the table, you'd use the map as follows to create a new column called GroupName:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MyTable&lt;/STRONG&gt;:&lt;BR /&gt;LOAD&lt;BR /&gt; ProdNumber,&lt;BR /&gt; ProdFamily,&lt;BR /&gt; ApplyMap('MapProdHierarchy', ProdNumber &amp;amp; '_' &amp;amp; ProdFamily ) AS GroupName&lt;BR /&gt; *&lt;BR /&gt;FROM MyFile.qvd (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could of course load the map from an external source if desired... I loaded inline here for simplicity.&amp;nbsp; Also, if you have tons of groups, you should consider a Join (may offer improved performace over ApplyMap).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give it a try, and if you have trouble post up a sample of your QVW and I'll be happy to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 02:35:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298511#M498065</guid>
      <dc:creator />
      <dc:date>2011-08-25T02:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298512#M498066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DHutchins,&lt;/P&gt;&lt;P&gt;Thank you for the reply. The mapping is a bit ... convoluted, so the H groups in your sample below will have to be created with an expression. Also in BO this expressions are based on the InList function to map multiply product numbers to single product family names. I am going through the manuals and don’t anything equivalent to InList function. Can a While Clause handle multiple arguments in QlikView?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 20:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298512#M498066</guid>
      <dc:creator />
      <dc:date>2011-08-29T20:58:47Z</dc:date>
    </item>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298513#M498067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As for &lt;STRONG&gt;InList&lt;/STRONG&gt;(), you may want to have a look at the QlikView &lt;STRONG&gt;match&lt;/STRONG&gt;() function (and also: &lt;STRONG&gt;mixmatch&lt;/STRONG&gt;, &lt;STRONG&gt;wildmatch&lt;/STRONG&gt;).&amp;nbsp; The match() function allows you to compare a string or field (first argument) to a varible number of strings or string expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for &lt;STRONG&gt;while&lt;/STRONG&gt;, you can use in the context of a LOAD, but this essentially loads multiple iterations, which is probably not what you want.&amp;nbsp; As for a general looping constructs in the script, you have DO WHILE | UNTIL, FOR NEXT, FOR EACH.&amp;nbsp; And you may have have multiple conditions in the do loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do While {&lt;/STRONG&gt;&lt;EM&gt;condition&lt;/EM&gt;&lt;STRONG&gt;} AND {&lt;/STRONG&gt;&lt;EM&gt;condition&lt;/EM&gt;&lt;STRONG&gt;} etc...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Loop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can of course specify conditions on the Loop, so that the loop always executes the first time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Do&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Loop While {&lt;/STRONG&gt;&lt;EM&gt;condition&lt;/EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 14:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298513#M498067</guid>
      <dc:creator />
      <dc:date>2011-08-30T14:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298514#M498068</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;Thank you again for your help, I’ve tried to figure out the proper syntax out, but looks like I cant. Below is my entire script. The error “Syntax error, missing/misplaced FROM:Bookings:” seems to be triggered with the ApplyMap function. This is a watered down version of what I actually have to do, and eventually Mapping Load statement would have to be nested IF statement with Match function. Thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping Load * Inline [Product Super Family, Rollup&lt;/P&gt;&lt;P&gt;Product Super Family,(Match(Product Super Family,'Mobility',’Security','Mai',’Suites','Consulting')&amp;gt;0,'ABC','Other')&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bookings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Area&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Sales Region]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Sales Territory]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Booked Date]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Fiscal Sales Week of Qtr No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Fiscal Week End Date]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Fiscal Quarter-Finance Format]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;Organization&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Product Super Family]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[BU Interlock Family]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Comp Eligible]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;,&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Mgmt USD Amount]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: black; font-size: 9pt;"&gt;, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: maroon; font-size: 9pt;"&gt;[Current Fiscal Year Plan Amount]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('SalesRollUpMappings','Product Super Family') AS SalesRollUp *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/QlikView Bookings.csv"&gt;QlikView Bookings.csv&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 00:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298514#M498068</guid>
      <dc:creator />
      <dc:date>2011-08-31T00:16:08Z</dc:date>
    </item>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298515#M498069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; You need a comma after [Current Fiscal Year Plan Amount] and also a comma after SalesRollup (before the *).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 01:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298515#M498069</guid>
      <dc:creator />
      <dc:date>2011-08-31T01:02:15Z</dc:date>
    </item>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298516#M498070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, if you are just mapping a field from your CSV called [Product Super Family] as you indicate in the match() function, I don't think you need it.&amp;nbsp; You can instead setup a map like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mapping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Product Super Family, Rollup&lt;BR /&gt; 'Mobility','ABC'&lt;BR /&gt; 'Security','ABC'&lt;BR /&gt; 'Mai','ABC'&lt;BR /&gt; 'Suites','ABC'&lt;BR /&gt; 'Consulting','ABC'&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Then you can load it like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Bookings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Region&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Area&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Region]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Sales Territory]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Booked Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Fiscal Sales Week of Qtr No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Fiscal Week End Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Fiscal Quarter-Finance Format]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Organization&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Super Family]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[BU Interlock Family]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Comp Eligible]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Mgmt USD Amount]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Current Fiscal Year Plan Amount]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ApplyMap&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('SalesRollUpMappings',&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Product Super Family]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,'Other') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;SalesRollUp&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;BR /&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; QlikView Bookings.csv &lt;BR /&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;txt&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;codepage&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; 1252, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;embedded&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;delimiter&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;is&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; ',', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;msq&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 01:12:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298516#M498070</guid>
      <dc:creator />
      <dc:date>2011-08-31T01:12:15Z</dc:date>
    </item>
    <item>
      <title>Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298517#M498071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; And just to clarify, you really don't have to put the 'quote' delimters around the strings in the Mapping Load.&amp;nbsp; It works fine if you do, but you could also write as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mapping&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Product Super Family, Rollup&lt;BR /&gt; Mobility,ABC&lt;BR /&gt; Security,ABC&lt;BR /&gt; Mai,ABC&lt;BR /&gt; Suites,ABC&lt;BR /&gt; Consulting,ABC&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Aug 2011 01:24:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298517#M498071</guid>
      <dc:creator />
      <dc:date>2011-08-31T01:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298518#M498072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DHutchins,&lt;/P&gt;&lt;P&gt;Thank you again, the reason I want to use MATCH function is this mapping will eventually be based on several different fields and thus nested IF statements, plus I want to learn as much as I can about syntax and functionality &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Thank you for the corrections however both versions - MATCH/Non-match generate exactly the same error, I know that it is the syntax around the PRODUCT SUPER FAMILY, I just cant figure out what.&lt;/P&gt;&lt;P&gt;ERROR:&lt;/P&gt;&lt;P&gt;Field names must be unique within table&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Region,&lt;/P&gt;&lt;P&gt;     Area,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Region"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Territory"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Booked Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Sales Week of Qtr No"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Week End Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Quarter-Finance Format"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     Organization,&lt;/P&gt;&lt;P&gt;     &lt;A href="Product Super Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="BU Interlock Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Comp Eligible"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Mgmt USD Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Current Fiscal Year Plan Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     ApplyMap('SalesRollUpMappings',[Product Super Family],'other') AS SalesRollUp, *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;A href="QlikView Bookings.csv"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq)&lt;/P&gt;&lt;P&gt;CODE:&lt;/P&gt;&lt;P&gt;MATCH VERSION&lt;/P&gt;&lt;P&gt; SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping Load * Inline [ProductSuperFamily, Rollup&lt;/P&gt;&lt;P&gt;if(Match(Product Super Family,'Endpoint Mgmt and Mobility','Endpoint Security','Mail &amp;amp; Web Security','Security Suites','Symantec Hosted Services - Consulting','Symantec Hosted Services - Security','Symantec Hosted Services - Storage')&amp;gt;0,'ISG','Other')&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Region,&lt;/P&gt;&lt;P&gt;     Area,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Region"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Territory"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Booked Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Sales Week of Qtr No"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Week End Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Quarter-Finance Format"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     Organization,&lt;/P&gt;&lt;P&gt;     &lt;A href="Product Super Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="BU Interlock Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Comp Eligible"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Mgmt USD Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Current Fiscal Year Plan Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     ApplyMap('SalesRollUpMappings',[Product Super Family]) AS SalesRollUp, *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="QlikView Bookings.csv"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;NON-MATCH VERSION:&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping Load * Inline [ProductSuperFamily, Rollup&lt;/P&gt;&lt;P&gt;Endpoint Mgmt and Mobility,ISG&lt;/P&gt;&lt;P&gt;Endpoint Security,ISG&lt;/P&gt;&lt;P&gt;Mail &amp;amp; Web Security,ISG&lt;/P&gt;&lt;P&gt;Security Suites,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Consulting,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Security,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Storage,ISG];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Region,&lt;/P&gt;&lt;P&gt;     Area,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Region"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Sales Territory"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Booked Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Sales Week of Qtr No"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Week End Date"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Fiscal Quarter-Finance Format"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     Organization,&lt;/P&gt;&lt;P&gt;     &lt;A href="Product Super Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="BU Interlock Family"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Comp Eligible"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Mgmt USD Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     &lt;A href="Current Fiscal Year Plan Amount"&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;     ApplyMap('SalesRollUpMappings',[Product Super Family],'other') AS SalesRollUp, *&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="QlikView Bookings.csv"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2011 21:37:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298518#M498072</guid>
      <dc:creator />
      <dc:date>2011-09-02T21:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: Expression based mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298519#M498073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As for your error on "field names must be unique", get rid of the "*" as your last column.&amp;nbsp; If you are loading columns explicitly as in this case, then you just name the columns in the LOAD that you want.&amp;nbsp; When you add the "*", you are effectively saying you want ALL columns, so if you've already named some of them, you get the duplicate.&amp;nbsp; So use "*" only when you want ALL of the columns in the load source, and only when you haven't already named one or more of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On using Match(), you can of course just specify the formula as a column in your Load script.&amp;nbsp; This would create a new column named 'Rollup' based on the Match() evaluation:&amp;nbsp; (here I load from a RESIDENT table just for my testing, of course you load from your CSV)&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;Bookings:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;Region, &lt;/P&gt;&lt;P&gt;Area,&lt;/P&gt;&lt;P&gt;if(Match([Product Super Family],'Endpoint Mgmt and Mobility','Endpoint Security','Mail &amp;amp; Web Security','etc...')&amp;gt;0,'ISG','Other') As Rollup&lt;/P&gt;&lt;P&gt;RESIDENT BookingSource;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Note that the mapping table need not be INLINE via script, but may be loaded from an external source (Excel, database, etc.) ... and nothing prevents you from building htis table via script too.&amp;nbsp; That syntax could look like the following:&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;SalesRollUpMappings:&lt;/P&gt;&lt;P&gt;Mapping Load * Inline [&lt;/P&gt;&lt;P&gt;ProductSuperFamily, Rollup&lt;/P&gt;&lt;P&gt;Endpoint Mgmt and Mobility,ISG&lt;/P&gt;&lt;P&gt;Endpoint Security,ISG&lt;/P&gt;&lt;P&gt;Mail &amp;amp; Web Security,ISG&lt;/P&gt;&lt;P&gt;Security Suites,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Consulting,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Security,ISG&lt;/P&gt;&lt;P&gt;Symantec Hosted Services - Storage,ISG&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;Bookings:&lt;BR /&gt;LOAD &lt;BR /&gt;Region, &lt;BR /&gt;Area,&lt;BR /&gt;ApplyMap('SalesRollUpMappings',[Product Super Family],'Other') AS SalesRollUp&lt;BR /&gt;RESIDENT BookingSource;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your logic is complex or conditional based on other columns or values, you may need to handle that complexity in a step prior to the final load mapping (by creating your mapping table beforehand via script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note also you can certain consider just JOINing the data to a related table in your database or data source.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2011 16:26:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-based-mapping/m-p/298519#M498073</guid>
      <dc:creator />
      <dc:date>2011-09-06T16:26:32Z</dc:date>
    </item>
  </channel>
</rss>

