<?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 refresh quarterly in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Data-refresh-quarterly/m-p/2478826#M100523</link>
    <description>&lt;P&gt;Are you only interested in the current quarter information? So would a full load of the current quarter be enough or do you want to load incrementally? If you only need the full load of the current quarter you could do something like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LET vToday = Today();&amp;nbsp;&lt;BR /&gt;LET vCurrentYear = Year($(vToday));&amp;nbsp;&lt;BR /&gt;LET vCurrentMonth = Month($(vToday));&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LET vCurrentQuarter = Ceil($(vCurrentMonth) / 3);&lt;/P&gt;
&lt;P&gt;LET vQuarterStart = MakeDate($(vCurrentYear), (($(vCurrentQuarter)-1)*3)+1, 1);&lt;BR /&gt;LET vQuarterEnd = MonthEnd(MakeDate($(vCurrentYear), $(vCurrentQuarter)*3, 1));&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;* &lt;BR /&gt;FROM [your_data_source]&lt;BR /&gt;WHERE&amp;nbsp;YourDateField &amp;gt;= $(vQuarterStart) AND YourDateField &amp;lt;= $(vQuarterEnd);&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 07:22:17 GMT</pubDate>
    <dc:creator>SterreKapteijns</dc:creator>
    <dc:date>2024-08-30T07:22:17Z</dc:date>
    <item>
      <title>Data refresh quarterly</title>
      <link>https://community.qlik.com/t5/App-Development/Data-refresh-quarterly/m-p/2478674#M100502</link>
      <description>&lt;P&gt;I need help to get last quarter data dynamically&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Qlik report is a quarterly report and this report will get refreshed every quarter. When i am loading the data from database , I want to pull last quarter data dynamically in load script itself. For ex: We are currently in Last quarter of 2022 , Now I want to pull the last quarter data which is 2021-07-01(July) to 2021-09-30(Sep) . Next when Qlik report get refreshed on Jan01 2022 then Dynamically it should pull last quarter data which is from Oct 01-2021 to Dec 31 -2021 data. Can some one help me how to achieve this in load script. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 20:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-refresh-quarterly/m-p/2478674#M100502</guid>
      <dc:creator>Manish_Sharma</dc:creator>
      <dc:date>2024-11-15T20:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data refresh quarterly</title>
      <link>https://community.qlik.com/t5/App-Development/Data-refresh-quarterly/m-p/2478826#M100523</link>
      <description>&lt;P&gt;Are you only interested in the current quarter information? So would a full load of the current quarter be enough or do you want to load incrementally? If you only need the full load of the current quarter you could do something like this:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LET vToday = Today();&amp;nbsp;&lt;BR /&gt;LET vCurrentYear = Year($(vToday));&amp;nbsp;&lt;BR /&gt;LET vCurrentMonth = Month($(vToday));&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LET vCurrentQuarter = Ceil($(vCurrentMonth) / 3);&lt;/P&gt;
&lt;P&gt;LET vQuarterStart = MakeDate($(vCurrentYear), (($(vCurrentQuarter)-1)*3)+1, 1);&lt;BR /&gt;LET vQuarterEnd = MonthEnd(MakeDate($(vCurrentYear), $(vCurrentQuarter)*3, 1));&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;LOAD&lt;BR /&gt;* &lt;BR /&gt;FROM [your_data_source]&lt;BR /&gt;WHERE&amp;nbsp;YourDateField &amp;gt;= $(vQuarterStart) AND YourDateField &amp;lt;= $(vQuarterEnd);&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 07:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Data-refresh-quarterly/m-p/2478826#M100523</guid>
      <dc:creator>SterreKapteijns</dc:creator>
      <dc:date>2024-08-30T07:22:17Z</dc:date>
    </item>
  </channel>
</rss>

