<?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: Data load (SQL and xlxs) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2133320#M92099</link>
    <description>&lt;P&gt;For tables to join, they need to have 1 field in common. (Make sure the capitalization of the field name is the same)&lt;/P&gt;
&lt;P&gt;A better way of doing that is to use the ApplyMap function, where it creates internal lookup tables and translates the values.&lt;/P&gt;
&lt;P&gt;More information is available here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-ws&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 11:43:25 GMT</pubDate>
    <dc:creator>WaltShpuntoff</dc:creator>
    <dc:date>2023-10-31T11:43:25Z</dc:date>
    <item>
      <title>Data load (SQL and xlxs)</title>
      <link>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2131685#M91988</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I would appreciate some help with the below data load.&lt;/P&gt;
&lt;P&gt;I' struggling to create a field joining so.operating_desk_cd (from the sql) and CommodityGroup (from the first xlxs table). I would like to name this Join2 and then join with the second xlxs table.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Daniel&lt;/P&gt;
&lt;P&gt;LOAD *,&lt;BR /&gt;first_name &amp;amp; ' ' &amp;amp; last_name as trader_name,&lt;BR /&gt;office_cd &amp;amp; ' ' &amp;amp; desk_cd as office_desk_cd,&lt;BR /&gt;trade_type_group_cd&amp;amp;'-'&amp;amp;cmdty_cd as Join;&lt;BR /&gt;&lt;BR /&gt;select distinct atr.hdr_num, atr.pcr_num, atr.bfc_cd, atr.co_cd,atr.exchange_cd, atr.strategy_num,atr.trade_dt, atr.trade_num,&amp;nbsp; atr.trade_status_ind, atr.trade_type_group_cd, atr.trader_initials, bs_ind, atr.cmdty_cd,&lt;BR /&gt;so.desk_cd, so.office_cd, so.operating_desk_cd&lt;/P&gt;
&lt;P&gt;from tempest_tier1.p_edw_trade_all('Non-US','Crude','%','%','%','%','Trade Dt','2023-09-01','2050-12-31','%','Today','Trade',0) atr&lt;BR /&gt;left join tempest_tier1.v_STRATEGY_OWNER so on (so.strategy_num = atr.strategy_num)&lt;BR /&gt;Where atr.trade_status_ind not in ('C');&lt;/P&gt;
&lt;P&gt;LOAD [Trade Type], &lt;BR /&gt;Commodity, &lt;BR /&gt;CommodityGroup, &lt;BR /&gt;Join&lt;BR /&gt;FROM&lt;BR /&gt;[K:\KPI Dashboards\Trader Mandates\Product Mapping.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Products);&lt;/P&gt;
&lt;P&gt;LOAD operating_desk, &lt;BR /&gt;[TradeType],&lt;BR /&gt;Mandate,&lt;BR /&gt;Join2&lt;BR /&gt;FROM&lt;BR /&gt;[K:\KPI Dashboards\Trader Mandates\Product Mapping.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Mandates);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 09:43:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2131685#M91988</guid>
      <dc:creator>danielnevitt</dc:creator>
      <dc:date>2023-10-25T09:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data load (SQL and xlxs)</title>
      <link>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2133320#M92099</link>
      <description>&lt;P&gt;For tables to join, they need to have 1 field in common. (Make sure the capitalization of the field name is the same)&lt;/P&gt;
&lt;P&gt;A better way of doing that is to use the ApplyMap function, where it creates internal lookup tables and translates the values.&lt;/P&gt;
&lt;P&gt;More information is available here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/August2023/Subsystems/Hub/Content/Sense_Hub/Scripting/MappingFunctions/ApplyMap.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-ws&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2133320#M92099</guid>
      <dc:creator>WaltShpuntoff</dc:creator>
      <dc:date>2023-10-31T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Data load (SQL and xlxs)</title>
      <link>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2133321#M92100</link>
      <description>&lt;P&gt;One more thing you can try is to use the Data Manager and then review the resulting code.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 11:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-load-SQL-and-xlxs/m-p/2133321#M92100</guid>
      <dc:creator>WaltShpuntoff</dc:creator>
      <dc:date>2023-10-31T11:44:20Z</dc:date>
    </item>
  </channel>
</rss>

