<?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: Rename fields using mapping table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775980#M275116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your second RenameMappingTable are spaces between the old_name and the comma-delimiter - I think this will be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 16:01:10 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-05-07T16:01:10Z</dc:date>
    <item>
      <title>Rename fields using mapping table</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775978#M275114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some problem with command&lt;STRONG&gt; rename fields &lt;/STRONG&gt;which the scenario is we have 2 table : Product and Order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By field&lt;STRONG&gt; id&lt;/STRONG&gt; in table product should be link with field product in &lt;STRONG&gt;order.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;However, it seem that command rename fields using &amp;lt;mapping table&amp;gt; cannot change field name if they already exist.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you have any idea on this ?&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, description, category, type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10001, Product A, category A, A&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename_Table1:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; old_name , new_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id , product_id&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; description , product_desc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; category , product_category&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; type , product_type&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME Fields using Rename_Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id, product, amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A0001, 10001, 40000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename_Table2:&lt;/P&gt;&lt;P&gt;Mapping&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; old_name , new_name&lt;/P&gt;&lt;P&gt;&amp;nbsp; id , order_id&lt;/P&gt;&lt;P&gt;&amp;nbsp; product , product_id&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RENAME Fields using Rename_Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Result&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-02-24_09-45-47.jpg" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/78919_2015-02-24_09-45-47.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 02:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775978#M275114</guid>
      <dc:creator />
      <dc:date>2015-02-24T02:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Rename fields using mapping table</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775979#M275115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I sugest you to create a loop&lt;/P&gt;&lt;P&gt;load the file&lt;/P&gt;&lt;P&gt;use rename fields using 'mapname'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store the file to a qvd&lt;/P&gt;&lt;P&gt;drop the table&lt;/P&gt;&lt;P&gt;and next file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 13:49:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775979#M275115</guid>
      <dc:creator>hectorgarcia</dc:creator>
      <dc:date>2015-05-07T13:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: Rename fields using mapping table</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775980#M275116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your second RenameMappingTable are spaces between the old_name and the comma-delimiter - I think this will be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 16:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775980#M275116</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-05-07T16:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Rename fields using mapping table</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775981#M275117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; id,product,amount&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A0001,10001,40000&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rename_Table2:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;old_name,new_name&lt;/P&gt;&lt;P&gt;id,order_id&lt;/P&gt;&lt;P&gt;product,product_id&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldMap:&lt;/P&gt;&lt;P&gt;Mapping load old_name, new_name resident Rename_Table2;&lt;/P&gt;&lt;P&gt;Rename fields using FieldMap;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 16:26:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775981#M275117</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-05-07T16:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rename fields using mapping table</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775982#M275118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it doesn't work because you already have in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Rename_Table1 &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;a rename to product_id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; id , product_id&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;change in (bold) ad it works&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Rename_Table2:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;old_name,new_name&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;id,order_id&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;product,&lt;STRONG&gt;product_id_2&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 17:38:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-fields-using-mapping-table/m-p/775982#M275118</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-05-07T17:38:56Z</dc:date>
    </item>
  </channel>
</rss>

