<?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: Renaming Fields using a Mapping Table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419962#M33676</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just by adding the trace?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2017 14:56:12 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-31T14:56:12Z</dc:date>
    <item>
      <title>Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419955#M33669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am trying to rename fields in my table using a mapping table, I didn't want to use apply map because of its limitations so I am trying to do it manually. It is currently loading but it is not renaming the the fields, is there something wrong with my script? In loading the original fields I used Qualify so they are showing up Table.Field. Please let me know if you have any ideas:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MappingTable:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;('$(vTable)' &amp;amp; '.' &amp;amp; Field) AS FieldName,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rename&lt;/P&gt;&lt;P&gt;FROM [lib://AttachedFiles/FieldMap.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is $(vTable);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let j = 1;&lt;/P&gt;&lt;P&gt;For j = 1 to noofrows('MappingTable')&lt;/P&gt;&lt;P&gt;Set vOldFieldName = peek(‘FieldName(j)-1, ‘MappingTable’);&lt;/P&gt;&lt;P&gt;Set vNewFieldName = peek(‘Rename’, $(j)-1, ‘MappingTable’);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename Field [$(vOldFieldName)] to [$(vNewFieldName)];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next j;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:15:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419955#M33669</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T14:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419956#M33670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have no tried this, but may be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;MappingTable:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Load ('$(vTable)' &amp;amp; '.' &amp;amp; Field) AS FieldName,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rename&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FROM [lib://AttachedFiles/FieldMap.xlsx]&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is $(vTable);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;For j = 1 to noofrows('MappingTable')&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vOldFieldName = peek(‘FieldName', -1*$(j), ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vNewFieldName = peek(‘Rename’, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;-1*$(j)&lt;/SPAN&gt;, ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rename Field [$(vOldFieldName)] to [$(vNewFieldName)];&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Next j;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419956#M33670</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T14:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419957#M33671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the fields are still showing up as table.field instead of their new field name when loaded&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419957#M33671</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419958#M33672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using QUALIFY in your script? Is there a reason you use this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:24:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419958#M33672</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T14:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419959#M33673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is so that I can drop unwanted fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qualify *;&lt;/P&gt;&lt;P&gt;$(vTable):&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;*;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select *&lt;/P&gt;&lt;P&gt;From $(vTable);&amp;nbsp; &lt;/P&gt;&lt;P&gt;UNQUALIFY *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;DropFields:&lt;/P&gt;&lt;P&gt;LOAD concat('$(vTable)' &amp;amp; '.' &amp;amp; Field, ', ') AS DropFields&lt;/P&gt;&lt;P&gt;FROM [lib://AttachedFiles/FieldMap.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is $(vTable))&lt;/P&gt;&lt;P&gt;WHERE Load = 'No';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Let vDropFields = Peek('DropFields', 0, 'DropFields');&lt;/P&gt;&lt;P&gt;Drop Table DropFields;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Fields $(vDropFields);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419959#M33673</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419960#M33674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you add trace and see if there are values in these new variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vOldFieldName = peek(‘FieldName', -1*$(j), ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE $(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;vOldFieldName&lt;/STRONG&gt;);&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vNewFieldName = peek(‘Rename’, &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;-1*$(j)&lt;/SPAN&gt;, ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;TRACE $(&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;vNewFieldName&lt;/STRONG&gt;);&lt;/STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419960#M33674</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T14:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419961#M33675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added that, but now it is only loading the first table, and still has the wrong names&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:44:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419961#M33675</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T14:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419962#M33676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just by adding the trace?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 14:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419962#M33676</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T14:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419963#M33677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replaced&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Set vOldFieldName = peek(‘FieldName(j)-1, ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Set vNewFieldName = peek(‘Rename’, $(j)-1, ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;with&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vOldFieldName = peek(‘FieldName', -1*$(j), ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE $(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vOldFieldName&lt;/STRONG&gt;);&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vNewFieldName = peek(‘Rename’, &lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;-1*$(j)&lt;/SPAN&gt;, ‘MappingTable’);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;TRACE $(&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;vNewFieldName&lt;/STRONG&gt;);&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;and that is what happened&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419963#M33677</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T15:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419964#M33678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is so strange... would you be able to share a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419964#M33678</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-31T15:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419965#M33679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can skip the whole loop thing and just do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename Fields USING MappingTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 15:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419965#M33679</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-08-31T15:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419966#M33680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was originally using a mapping table, but there are a lot of limitations with it. You have to have distinct values in both the original field and the rename field, otherwise it doesn't rename. I was trying to avoid this issue by doing it manually&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 16:08:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419966#M33680</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T16:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419967#M33681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erica,&lt;/P&gt;&lt;P&gt;I'm not clear what you mean by having to have distinct values. Could you show some example data to illustrate your point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 17:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419967#M33681</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-08-31T17:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419968#M33682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In one of my tables User, I assign&lt;/P&gt;&lt;P&gt;ProfileId as %ProfileID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the next table Profile, I want to assign &lt;SPAN style="font-size: 10pt;"&gt;Id as %ProfileID, but the name is only reassigned in the User table because it came first. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran only the profile table and all the names got reassigned correctly but when I run it with the other tables it no longer works.&lt;/P&gt;&lt;P&gt;I found this on the Qlik website:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; text-align: justify;"&gt;"The Rename Field statement is positioned after the Load statement, and may also use a mapping table for ease of maintenance. The one caveat is that you cannot rename two fields with the same name using the Rename Field statement. If attempted, only the first instance of the renaming will take place; all the other instances will be ignored."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 18:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419968#M33682</guid>
      <dc:creator>etrotter</dc:creator>
      <dc:date>2017-08-31T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming Fields using a Mapping Table</title>
      <link>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419969#M33683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But don't you face the same restriction -- can't rename to an existing fieldname -- with your looping code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2017 18:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Renaming-Fields-using-a-Mapping-Table/m-p/1419969#M33683</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-08-31T18:30:35Z</dc:date>
    </item>
  </channel>
</rss>

