<?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: Case 008 Recode 2 Diff field by Mapping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697036#M592639</link>
    <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;I expected below apply map expression return the Field, But it didn’t.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ApplyMap('MAP_STOCK',[GL_CODE_A],'NON_STOCK') as [STOCK_M]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As I can use the field to filter those row.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 11:33:36 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2020-04-27T11:33:36Z</dc:date>
    <item>
      <title>Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1696912#M592637</link>
      <description>&lt;P&gt;(1) My Excel file = GL_MAPPING_TABLE.csv with below info :-&lt;/P&gt;&lt;P&gt;GL_CODE_A … GL_&lt;BR /&gt;10 … STOCK&lt;/P&gt;&lt;P&gt;(2) Below is my Load Script :-&lt;/P&gt;&lt;P&gt;MAP_STOCK:&lt;BR /&gt;MAPPING LOAD&lt;BR /&gt;GL_CODE,&lt;BR /&gt;GL_&lt;BR /&gt;FROM&lt;BR /&gt;GL_MAPPING_TABLE.csv&lt;BR /&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;GL_TABLE:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;GL_CODE_A,GL_DESC,DOC_NO,Amount,date,SOURCE&lt;BR /&gt;10,STOCK,1,4,14/4/2019,COY_A&lt;BR /&gt;10,STOCK,2,4,14/4/2020,COY_A&lt;BR /&gt;20,REVENUE,3,6,1/4/2020,COY_A&lt;BR /&gt;10,STOCK,4,69,23/4/2020,COY_A&lt;BR /&gt;20,REVENUE,5,9,24/4/2020,COY_A&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;//GL_TABLE:&lt;BR /&gt;LOAD * INLINE [&lt;BR /&gt;GL_CODE,GL_DESC,DOC_NO,Amount,date,SOURCE&lt;BR /&gt;11,STOCK,1,5,14/4/2019,COY_B&lt;BR /&gt;11,STOCK,2,6,14/4/2020,COY_B&lt;BR /&gt;20,REVENUE,7,6,1/4/2020,COY_B&lt;BR /&gt;11,STOCK,4,60,23/4/2020,COY_B&lt;BR /&gt;20,REVENUE,5,19,24/4/2020,COY_B&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;TABLE_P:&lt;BR /&gt;left keep (GL_TABLE)&lt;BR /&gt;load GL_CODE,GL_CODE_A,&lt;/P&gt;&lt;P&gt;ApplyMap('MAP_STOCK',[GL_CODE_A],'NON_STOCK') as [STOCK_M]&lt;BR /&gt;&lt;BR /&gt;resident GL_TABLE;&lt;BR /&gt;&lt;BR /&gt;May i know how to make STOCK_M return value = STOCK and NON_STOCK ?&lt;/P&gt;&lt;P&gt;Hope some one cn advise me.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 05:46:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1696912#M592637</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-27T05:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697026#M592638</link>
      <description>&lt;P&gt;Hi, I don't understand the requirements, What's the expected result from that inline data?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697026#M592638</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-27T11:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697036#M592639</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;I expected below apply map expression return the Field, But it didn’t.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ApplyMap('MAP_STOCK',[GL_CODE_A],'NON_STOCK') as [STOCK_M]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;As I can use the field to filter those row.&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:33:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697036#M592639</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-27T11:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697037#M592640</link>
      <description>&lt;P&gt;The middle table does a concatenation of a table with&amp;nbsp;&lt;SPAN&gt;[GL_CODE] to another with&amp;nbsp;[GL_CODE_A], so each row will have only one value and applymap only will return value of the table with&amp;nbsp;[GL_CODE_A] field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Posting the expected result can help to understand what are you trying to do.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697037#M592640</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-27T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697039#M592641</link>
      <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;In what way I can make them concatenate?&lt;BR /&gt;It is possible by left or right join ?&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697039#M592641</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-27T11:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697040#M592642</link>
      <description>&lt;P&gt;Hi Paul, I still don't know what's the expected result, maybe it's just renaming the field while concatenating to both tables have the same field names&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697040#M592642</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-27T11:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Case 008 Recode 2 Diff field by Mapping</title>
      <link>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697046#M592643</link>
      <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;Thank you very much, I will rename both table into same name.&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Apr 2020 11:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Case-008-Recode-2-Diff-field-by-Mapping/m-p/1697046#M592643</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-04-27T11:59:48Z</dc:date>
    </item>
  </channel>
</rss>

