<?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: Script sintaxis conflict with '[]' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385475#M143963</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;I know, this is what I am trying not to do. I am looking for a sintaxis in QV which interpret these special field names right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you any way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 May 2013 09:34:40 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-20T09:34:40Z</dc:date>
    <item>
      <title>Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385469#M143957</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;I am trying to load this cross table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Value, Importe, 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD F1 as Entity, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; F2 as Account, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Entity Currency&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Entity Curr Adjs&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Entity Curr Total&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Parent Currency&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Parent Curr Adjs&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;lt;Parent Curr Total&amp;gt;], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Parent],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Parent Adjs], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Parent Total], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Proportion], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Elimination], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Contribution], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Contribution Adjs], &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Contribution Total]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives me the following script error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field not found - &amp;lt;Parent&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CrossTable(Value, Importe, 2)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose there is a problem with the original name of the field '[Parent]' because of the use of the '[]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to import the field with its original name using a special caracter or similar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 08:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385469#M143957</guid>
      <dc:creator />
      <dc:date>2013-05-20T08:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385470#M143958</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;What I'd say it's the problem is the "&amp;lt;" and "&amp;gt;". Make sure that these characters come from the database, otherwise clean them in the filed name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 08:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385470#M143958</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-05-20T08:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385471#M143959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please share the sample data.. i have tested field with &amp;lt;&amp;gt;.. and it is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 08:50:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385471#M143959</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-05-20T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385472#M143960</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;the database original names are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="156"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="156"&gt;&amp;lt;Entity Currency&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&amp;lt;Entity Curr Adjs&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&amp;lt;Entity Curr Total&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&amp;lt;Parent Currency&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&amp;lt;Parent Curr Adjs&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;&amp;lt;Parent Curr Total&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Parent]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Parent Adjs]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Parent Total]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Proportion]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Elimination]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Contribution]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Contribution Adjs]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;[Contribution Total]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I get rid of "&amp;lt;" and "&amp;gt;" it gives me error from the very first field, that is: &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="156"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="20" width="156"&gt;&amp;lt;Entity Currency&amp;gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem start in [Parent].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 08:52:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385472#M143960</guid>
      <dc:creator />
      <dc:date>2013-05-20T08:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385473#M143961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 08:56:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385473#M143961</guid>
      <dc:creator />
      <dc:date>2013-05-20T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385474#M143962</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;Problem is with your database column headers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your database you have column heading with [Parent].. due to [] in your database qlilkview is not interpreting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to remove [] in your database.. i have removed the [] from the xl file and it is working fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Sushil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 09:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385474#M143962</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2013-05-20T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385475#M143963</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;I know, this is what I am trying not to do. I am looking for a sintaxis in QV which interpret these special field names right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you any way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 09:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385475#M143963</guid>
      <dc:creator />
      <dc:date>2013-05-20T09:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script sintaxis conflict with '[]'</title>
      <link>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385476#M143964</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;&lt;/P&gt;&lt;P&gt;You may need to parse your column names through a routine.&amp;nbsp; The following is one method (you'll have to adjust for xlsx)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Get data with column names as top row of data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD rowno() as rowRef, * FROM [test.xls] (biff, no labels, table is [2011$]);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Convert top row data to column names&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;For c = 2 to NoOfFields('Data')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f1 = FieldName(c,'Data');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; f2 = peek(f1,0,'Data');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if len(f2) &amp;gt; 0 then&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rename field '$(f1)' to '$(f2)';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Next c&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;//Drop column names&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;right keep (Data)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;load rowRef resident Data where rowRef &amp;gt; 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Drop field rowRef;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 09:42:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-sintaxis-conflict-with/m-p/385476#M143964</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2013-05-20T09:42:08Z</dc:date>
    </item>
  </channel>
</rss>

