<?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 only year end dates in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518959#M106162</link>
    <description>&lt;P&gt;YearEnd() adds a time component of 23:59:59. If you're just looking for a date, you'll need to either Floor() or DayName() the YearEnd() result.&lt;/P&gt;&lt;P&gt;Note that for performance reasons, it might be better to do something like:&lt;/P&gt;&lt;P&gt;Dates:&lt;/P&gt;&lt;P&gt;Load MakeDate(Year(Today()-RowNo(),12,31) as VALUE_DATE&lt;/P&gt;&lt;P&gt;Autogenerate(10); // To get ten years back, if you want more or less change this number&lt;/P&gt;&lt;P&gt;Load * From YourQVD Where Exists(VALUE_DATE);&lt;/P&gt;&lt;P&gt;DROP TABLE Dates;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 25 May 2025 10:01:42 GMT</pubDate>
    <dc:creator>Or</dc:creator>
    <dc:date>2025-05-25T10:01:42Z</dc:date>
    <item>
      <title>Load only year end dates</title>
      <link>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518958#M106161</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;How can I load only the last VALUE_DATE per year (i.e., year-end transactional dates) from a QVD in my script?&lt;/P&gt;&lt;P&gt;Where&amp;nbsp;VALUE_DATE = YearEnd(VALUE_DATE)&amp;nbsp; is not cutting it for it.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 07:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518958#M106161</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2025-05-25T07:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Load only year end dates</title>
      <link>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518959#M106162</link>
      <description>&lt;P&gt;YearEnd() adds a time component of 23:59:59. If you're just looking for a date, you'll need to either Floor() or DayName() the YearEnd() result.&lt;/P&gt;&lt;P&gt;Note that for performance reasons, it might be better to do something like:&lt;/P&gt;&lt;P&gt;Dates:&lt;/P&gt;&lt;P&gt;Load MakeDate(Year(Today()-RowNo(),12,31) as VALUE_DATE&lt;/P&gt;&lt;P&gt;Autogenerate(10); // To get ten years back, if you want more or less change this number&lt;/P&gt;&lt;P&gt;Load * From YourQVD Where Exists(VALUE_DATE);&lt;/P&gt;&lt;P&gt;DROP TABLE Dates;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 10:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518959#M106162</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-05-25T10:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Load only year end dates</title>
      <link>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518960#M106163</link>
      <description>&lt;P&gt;Thanks for the input. However, the year-end date isn't always 31/12/**** in this dataset. I'd like to filter the data to return only the maximum VALUE_DATE per year (i.e., the latest Value date each year).&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 10:07:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518960#M106163</guid>
      <dc:creator>LoKi_asterix</dc:creator>
      <dc:date>2025-05-25T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: Load only year end dates</title>
      <link>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518961#M106164</link>
      <description>&lt;P&gt;Then you would need to find out what that date is, typically by using something like&lt;/P&gt;&lt;P&gt;Select Year(VALUE_DATE) as Year, Max(VALUE_DATE) as VALUE_DATE&lt;/P&gt;&lt;P&gt;From YourTable&lt;/P&gt;&lt;P&gt;GROUP BY Year(VALUE_DATE);&lt;/P&gt;</description>
      <pubDate>Sun, 25 May 2025 10:51:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Load-only-year-end-dates/m-p/2518961#M106164</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2025-05-25T10:51:34Z</dc:date>
    </item>
  </channel>
</rss>

