<?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: Concatenation field error on ODBC connection in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055880#M1609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I'm noticing is that there is no a clear or logical explanation about how come this works some situations and others don't.&amp;nbsp; Do you know, or someone else know a documentation where all the best practices are found?.&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, 08 Feb 2016 17:58:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-02-08T17:58:43Z</dc:date>
    <item>
      <title>Concatenation field error on ODBC connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055878#M1607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI:&lt;/P&gt;&lt;P&gt;I'm confused because when I used an extraction of information coming from a SQL Server database using Excel for prototyping the following load script worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DATOS]:&lt;/P&gt;&lt;P&gt;LOAD [UBICACION],&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; [FECHA FACTURA],&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mid([FECHA FACTURA],1,4) as [AÑO],&lt;/P&gt;&lt;P&gt;mid([FECHA FACTURA],6,2) as [MES],&lt;/P&gt;&lt;P&gt;[AÑO]&amp;amp;[MES] AS [AÑOMES],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [C.P.] AS CP&lt;/P&gt;&lt;P&gt;FROM [lib://BI-SenseAutomotriz/Informacion.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is DATOS);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So [AÑO],[MES] and [AÑOMES] new fields where created with partial extraction from [FECHA FACTURA] field and concatenation worked fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But using ODBC connection to original database script don't work.&amp;nbsp; It says field [AÑO] don't exist!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'DATA';&lt;/P&gt;&lt;P&gt;LOAD UBICACION,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "FECHA FACTURA",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid("FECHA FACTURA",1,4) as [AÑO],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid("FECHA FACTURA",6,2) as [MES],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [AÑO]&amp;amp;[MES] AS [AÑOMES],&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C.P.";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT UBICACION,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "FECHA FACTURA",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C.P."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM RENUNIAPP.dbo."Custom_Clientes_Ventas_Autos";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; font-family: 'Courier New'; font-size: 15px; background-color: rgba(255, 38, 38, 0.2);"&gt;Field not found - &amp;lt;AÑO&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;I've tryed to change fields name with no "Ñ" spanish letter.&lt;/P&gt;&lt;P&gt;Any clues?.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 03:47:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055878#M1607</guid>
      <dc:creator />
      <dc:date>2016-02-05T03:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation field error on ODBC connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055879#M1608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a field in a load statement and in that same load statement assume it already exists in the source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this instead:&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;LIB CONNECT TO 'DATA';&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 *, &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[AÑO]&amp;amp;[MES] AS [AÑOMES];&lt;/STRONG&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;LOAD UBICACION,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "FECHA FACTURA",&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid("FECHA FACTURA",1,4) as [AÑO],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mid("FECHA FACTURA",6,2) as [MES],&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C.P.";&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;SQL SELECT UBICACION,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "FECHA FACTURA",&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "C.P."&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;FROM RENUNIAPP.dbo."Custom_Clientes_Ventas_Autos";&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 17:30:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055879#M1608</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-05T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation field error on ODBC connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055880#M1609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing I'm noticing is that there is no a clear or logical explanation about how come this works some situations and others don't.&amp;nbsp; Do you know, or someone else know a documentation where all the best practices are found?.&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, 08 Feb 2016 17:58:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055880#M1609</guid>
      <dc:creator />
      <dc:date>2016-02-08T17:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenation field error on ODBC connection</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055881#M1610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can never use a value from a field before the field (and thus the value) exists. There are no exceptions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 18:12:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Concatenation-field-error-on-ODBC-connection/m-p/1055881#M1610</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-02-08T18:12:48Z</dc:date>
    </item>
  </channel>
</rss>

