<?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: Load from warehouse limited to a specific year in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2064006#M12213</link>
    <description>&lt;P&gt;Hi, thx for help, its works.&lt;BR /&gt;My fixed code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'HD';

sales_tmp:
LOAD
hid_sklep,
date(hid_data) as data,
Year(hid_data) as year,
Month(hid_data) as month,
kod_ean,
hid_segment
Where Year(hid_data) = 2023;

SELECT
"hid_sklep",
"hid_data",
"kod_ean",
"hid_segment"
FROM "public"."sales_72"
;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 06:41:49 GMT</pubDate>
    <dc:creator>Sebastian_Dec</dc:creator>
    <dc:date>2023-04-25T06:41:49Z</dc:date>
    <item>
      <title>Load from warehouse limited to a specific year</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2063622#M12208</link>
      <description>&lt;P&gt;Hi, how I can load only one year from&amp;nbsp;warehouse using only one load?&lt;/P&gt;
&lt;P&gt;I need load only 2023, not 2000/2021/2022.&lt;/P&gt;
&lt;P&gt;Data is in format DD-MM-YYYY&lt;/P&gt;
&lt;P&gt;My code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'HD';

sales_tmp:
LOAD
hid_sklep,
date(hid_data) as data,
Year(hid_data) as year,
Month(hid_data) as month,
kod_ean,
hid_segment;

SELECT
"hid_sklep",
"hid_data",
"kod_ean",
"hid_segment"
FROM "public"."sales_72"
;
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 11:36:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2063622#M12208</guid>
      <dc:creator>Sebastian_Dec</dc:creator>
      <dc:date>2023-04-24T11:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Load from warehouse limited to a specific year</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2063639#M12209</link>
      <description>&lt;P&gt;Where Year(hid_data) = 2023 presumably (unless your database doesn't use Year(), in which case you may need a different function). This isn't really a Qlik question, though, since you're looking for a condition in your SQL statement. &lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 12:02:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2063639#M12209</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2023-04-24T12:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Load from warehouse limited to a specific year</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2064006#M12213</link>
      <description>&lt;P&gt;Hi, thx for help, its works.&lt;BR /&gt;My fixed code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LIB CONNECT TO 'HD';

sales_tmp:
LOAD
hid_sklep,
date(hid_data) as data,
Year(hid_data) as year,
Month(hid_data) as month,
kod_ean,
hid_segment
Where Year(hid_data) = 2023;

SELECT
"hid_sklep",
"hid_data",
"kod_ean",
"hid_segment"
FROM "public"."sales_72"
;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 06:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2064006#M12213</guid>
      <dc:creator>Sebastian_Dec</dc:creator>
      <dc:date>2023-04-25T06:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load from warehouse limited to a specific year</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2064029#M12214</link>
      <description>&lt;P&gt;in the load script editor if u can use the where condition for the year filed as 2023 then it works.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 06:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-from-warehouse-limited-to-a-specific-year/m-p/2064029#M12214</guid>
      <dc:creator>Prem0212</dc:creator>
      <dc:date>2023-04-25T06:59:07Z</dc:date>
    </item>
  </channel>
</rss>

