<?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: &amp; Character in Column Header Name in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025458#M920766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not clearly understood your requirement,&lt;/P&gt;&lt;P&gt;but you can rename / alias&amp;nbsp; it in load to avoid duplicate column error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load A as NewA,&lt;/P&gt;&lt;P&gt;A as NewB&lt;/P&gt;&lt;P&gt;From table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Apr 2016 05:06:19 GMT</pubDate>
    <dc:creator>PrashantSangle</dc:creator>
    <dc:date>2016-04-27T05:06:19Z</dc:date>
    <item>
      <title>&amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025455#M920763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an excel file I am trying to import into QlikView where the column headers contain the ampersand (&amp;amp;) character. I am using the wizard to try to do this import; I keep getting an error and when I debug the script, I get an error because the script now has duplicate column names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, I have A&amp;amp;B Costs, Total A&amp;amp;B Costs as columns. The script truncates these to B Costs and B Costs - resulting in duplicate columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not have the ability to change the Excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to escape the &amp;amp; character in the data load script so that QlikView will load a file that results in two columns labelled A&amp;amp;B Costs and Total A&amp;amp;B Costs?&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/Character-in-Column-Header-Name/m-p/1025455#M920763</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: &amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025456#M920764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One quick and easy way to achieve this would be by using Script Editor. Press CTRL + E to open script editor.&lt;/P&gt;&lt;P&gt;Here in the Data tab below, click Table Files. This will ask you to open the excel file on your computer. Once selected you can use the Embedded Label option (as in the screenshot below) to have your column names populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122796_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&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;Basically in your load script the syntax should be similar to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD [A&amp;amp;B Costs], &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Total A&amp;amp;B Costs], &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2016 21:52:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025456#M920764</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-26T21:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: &amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025457#M920765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122797_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 04:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025457#M920765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-27T04:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: &amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025458#M920766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not clearly understood your requirement,&lt;/P&gt;&lt;P&gt;but you can rename / alias&amp;nbsp; it in load to avoid duplicate column error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load A as NewA,&lt;/P&gt;&lt;P&gt;A as NewB&lt;/P&gt;&lt;P&gt;From table;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 05:06:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025458#M920766</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2016-04-27T05:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: &amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025459#M920767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for responding and taking the time to provide a potential solution. I did as you suggested however the editor still refuses to recognize characters up to and including the ampersand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So this in Excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/122876_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Becomes this once I open the editor in QlikView and select Embedded Labels:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/122878_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can even see how the editor is appending the last field with a "1" - I presume to avoid duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution you proposed, unfortunately, does not resolve my problem - which is to load data with the field names as specified in Excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 12:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025459#M920767</guid>
      <dc:creator />
      <dc:date>2016-04-27T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: &amp; Character in Column Header Name</title>
      <link>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025460#M920768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - though I have to admit, going through and aliasing every field that contains the &amp;amp; is a little clunky. This did work using the script editor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2016 12:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Character-in-Column-Header-Name/m-p/1025460#M920768</guid>
      <dc:creator />
      <dc:date>2016-04-27T12:43:42Z</dc:date>
    </item>
  </channel>
</rss>

