<?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 field from binary file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453367#M794948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2018 10:38:15 GMT</pubDate>
    <dc:creator>fgirardin</dc:creator>
    <dc:date>2018-01-11T10:38:15Z</dc:date>
    <item>
      <title>Rename field from binary file</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453364#M794945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use data from 3 differents sources: &lt;SPAN style="color: #008080;"&gt;qvw file&lt;/SPAN&gt;, &lt;SPAN style="color: #666699;"&gt;SP&lt;/SPAN&gt; and &lt;SPAN style="color: #3366ff;"&gt;SQL&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I need to rename the Key field from my QVW (KEY_Main_Item) as "&lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;" so I can link all the datas from these 3 sources&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is as follow&lt;/P&gt;&lt;P&gt;___________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080;"&gt;Binary [\\server1\QlikView\Data\Models\Data_Sales.qvw];&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;OLEDB CONNECT TO [********];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;LET vT1=INPUT('ENTER TASK','INPUT BOX');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;"MAIN_KEY" as &lt;SPAN style="color: #ff6600;"&gt;&lt;STRONG&gt;Key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;FROM database.dbo."V_ITEMS"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3366ff;"&gt;Where Company = 'A';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;ADD LOAD *;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;SQL sp_RSM_project&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;@in_job_type = 1,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;@in_param_varchar_1 = 'A',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;@in_param_varchar_2 = 'f',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666699;"&gt;@in_param_varchar_3 = '$(vT1)';&lt;/SPAN&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;Is there a way to rename a field loaded through a QVW file ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453364#M794945</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rename field from binary file</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453365#M794946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you try &lt;BR /&gt;Rename field X to Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;of course after the binary load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453365#M794946</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2018-01-11T09:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Rename field from binary file</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453366#M794947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Once you load the qvw using binary load, the data model gets into the source qvw. Hence you can rename the field immediately after binary load statement like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Binary [\\server1\QlikView\Data\Models\Data_Sales.qvw]; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; 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: #008080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="color: #000000;"&gt;Rename field &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;KEY_Main_Item&lt;/SPAN&gt; to Key;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; 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: #008080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3366ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;OLEDB CONNECT TO &lt;/SPAN&gt;.......;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080; 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: #008080; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 09:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453366#M794947</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2018-01-11T09:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Rename field from binary file</title>
      <link>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453367#M794948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both, it works perfectly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 10:38:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Rename-field-from-binary-file/m-p/1453367#M794948</guid>
      <dc:creator>fgirardin</dc:creator>
      <dc:date>2018-01-11T10:38:15Z</dc:date>
    </item>
  </channel>
</rss>

