<?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 Load table field from oracle function in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-table-field-from-oracle-function/m-p/1413756#M3098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I am new to Qlik Sense and I am trying to load a table field in a connection script from an Oracle DB (using Qlik ODBC connector Package with Oracle Driver) from the results of an Oracle function.&lt;/P&gt;&lt;P&gt;I can retrieve the table fields with the load script, and then I would like to fill a new field based upon the results of an Oracle function resident in the database package, using one of the table fields as a parameter.&lt;/P&gt;&lt;P&gt;I know that I could replicate that function in Qlik Sense, but I have lots of functions developed in the package and I'm trying to save all that work...&lt;/P&gt;&lt;P&gt;The load script is something like this:&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'Oracle_connector1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CITYID, &lt;/P&gt;&lt;P&gt;ORDERID, &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;REFTIPO_RED&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;[WORK_ORDER]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SELECT "CITYID", &lt;/P&gt;&lt;P&gt;"ORDERID", &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"REFTIPO_RED" &lt;/P&gt;&lt;P&gt;FROM "MIRA"."WORK_ORDER";&lt;/P&gt;&lt;P&gt;and now I want to load a new field (ex: REFTIPO1) using an Oracle function called MIRA.NIVEL_RED(REFTIPO_RED) wich retrieves the result with the previously loaded field REFTIPO_RED as a input parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tryed using this formula after the table load:&lt;/P&gt;&lt;P&gt;Load REFTIPO1;&lt;/P&gt;&lt;P&gt;SQL MIRA.NIVEL_RED(REFTIPO_RED) as "REFTIPO1";&lt;/P&gt;&lt;P&gt;but I obtain the following error:&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 'REFTIPO1' not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it possible to load data in this way with Qlik Sense??&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 07:25:40 GMT</pubDate>
    <dc:creator>sgallego</dc:creator>
    <dc:date>2017-09-14T07:25:40Z</dc:date>
    <item>
      <title>Load table field from oracle function</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-table-field-from-oracle-function/m-p/1413756#M3098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! I am new to Qlik Sense and I am trying to load a table field in a connection script from an Oracle DB (using Qlik ODBC connector Package with Oracle Driver) from the results of an Oracle function.&lt;/P&gt;&lt;P&gt;I can retrieve the table fields with the load script, and then I would like to fill a new field based upon the results of an Oracle function resident in the database package, using one of the table fields as a parameter.&lt;/P&gt;&lt;P&gt;I know that I could replicate that function in Qlik Sense, but I have lots of functions developed in the package and I'm trying to save all that work...&lt;/P&gt;&lt;P&gt;The load script is something like this:&lt;/P&gt;&lt;P&gt;LIB CONNECT TO 'Oracle_connector1';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CITYID, &lt;/P&gt;&lt;P&gt;ORDERID, &lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;REFTIPO_RED&lt;SPAN style="font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;[WORK_ORDER]:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SELECT "CITYID", &lt;/P&gt;&lt;P&gt;"ORDERID", &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"REFTIPO_RED" &lt;/P&gt;&lt;P&gt;FROM "MIRA"."WORK_ORDER";&lt;/P&gt;&lt;P&gt;and now I want to load a new field (ex: REFTIPO1) using an Oracle function called MIRA.NIVEL_RED(REFTIPO_RED) wich retrieves the result with the previously loaded field REFTIPO_RED as a input parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tryed using this formula after the table load:&lt;/P&gt;&lt;P&gt;Load REFTIPO1;&lt;/P&gt;&lt;P&gt;SQL MIRA.NIVEL_RED(REFTIPO_RED) as "REFTIPO1";&lt;/P&gt;&lt;P&gt;but I obtain the following error:&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 'REFTIPO1' not found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Is it possible to load data in this way with Qlik Sense??&lt;/P&gt;&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 07:25:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-table-field-from-oracle-function/m-p/1413756#M3098</guid>
      <dc:creator>sgallego</dc:creator>
      <dc:date>2017-09-14T07:25:40Z</dc:date>
    </item>
  </channel>
</rss>

