<?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 replace all fileds with their corresponding keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700726#M475234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have these two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63596_1.png" style="width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63597_2.png" style="width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to replace all of the YearEvents and YearEventKey_Grouping with their corresponding key... so for example replace all 2009 WTS with a 1. all 2011 WTS with a 2... etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 21:09:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-01T21:09:54Z</dc:date>
    <item>
      <title>How to replace all fileds with their corresponding keys</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700726#M475234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have these two tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63596_1.png" style="width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63597_2.png" style="width: 620px; height: 384px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to replace all of the YearEvents and YearEventKey_Grouping with their corresponding key... so for example replace all 2009 WTS with a 1. all 2011 WTS with a 2... etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:09:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700726#M475234</guid>
      <dc:creator />
      <dc:date>2014-08-01T21:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace all fileds with their corresponding keys</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700727#M475235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I understand your problem exactly, but if you want to make the YearEventKey_Grouping go from&lt;/P&gt;&lt;P&gt;2009 Submission-2010 Submission to 12-13, then this is how you can do it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YearEventIDMap:&lt;/P&gt;&lt;P&gt;mapping load&lt;/P&gt;&lt;P&gt;YearEvent,&lt;/P&gt;&lt;P&gt;id&lt;/P&gt;&lt;P&gt;From Table2; //If this table is in memory, then you should use Resident Table2; in stead of From.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load &lt;/P&gt;&lt;P&gt;mapsubstring('YearEventIDMap',YearEventKey_Grouping) as YearEventKey_Grouping,&lt;/P&gt;&lt;P&gt;Volume,&lt;/P&gt;&lt;P&gt;ProductA,&lt;/P&gt;&lt;P&gt;ProductB&lt;/P&gt;&lt;P&gt;From Table1; //need to replace this line with the source for table 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;SKG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 21:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700727#M475235</guid>
      <dc:creator>simenkg</dc:creator>
      <dc:date>2014-08-01T21:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to replace all fileds with their corresponding keys</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700728#M475236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 15:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-replace-all-fileds-with-their-corresponding-keys/m-p/700728#M475236</guid>
      <dc:creator />
      <dc:date>2014-08-04T15:33:22Z</dc:date>
    </item>
  </channel>
</rss>

