<?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 Date Logic in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-Logic/m-p/1557233#M743577</link>
    <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;I need urgent help automate dates.&amp;nbsp; In the report, we have two tabs one for&amp;nbsp; this TY Saturday and another one for LY Saturday.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the first tab will use coming Saturday Fiscal Year date 3/16/2019 and the second tab will use &amp;nbsp; LY Fiscal Saturday date 3/17/2018. How can automate the dates using the attached file.&lt;/P&gt;&lt;P&gt;The table I am using is in attached file.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>has75042</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Date Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Logic/m-p/1557233#M743577</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;I need urgent help automate dates.&amp;nbsp; In the report, we have two tabs one for&amp;nbsp; this TY Saturday and another one for LY Saturday.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the first tab will use coming Saturday Fiscal Year date 3/16/2019 and the second tab will use &amp;nbsp; LY Fiscal Saturday date 3/17/2018. How can automate the dates using the attached file.&lt;/P&gt;&lt;P&gt;The table I am using is in attached file.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Logic/m-p/1557233#M743577</guid>
      <dc:creator>has75042</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Date Logic</title>
      <link>https://community.qlik.com/t5/QlikView/Date-Logic/m-p/1557617#M743578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If possible, create &lt;EM&gt;&lt;STRONG&gt;day&lt;/STRONG&gt;&lt;/EM&gt;(Saturday, Monday,...) in SQL script itself during extraction as it will save calculation time on front end, then use below expression with variables for TY and LY saturdays,&lt;/P&gt;&lt;P&gt;//vFiscalYearStart = YearStart(today(),0,4)&lt;/P&gt;&lt;P&gt;//vLYFiscalYearSTart = AddYears(YearStart(today(),0,4),-1)&lt;/P&gt;&lt;P&gt;//vLYToday = AddYears(today(),-1)&lt;/P&gt;&lt;P&gt;//vToday = date(today())&lt;/P&gt;&lt;P&gt;This year :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;=Sum({&amp;lt;dates ={"&amp;gt;=$(=vFiscalYearStart)&amp;lt;=$(=vToday)"},day={'Saturday'}&amp;gt;}sale)&lt;/PRE&gt;&lt;P&gt;Last Year:&lt;/P&gt;&lt;PRE&gt;=Sum({&amp;lt;dates ={"&amp;gt;=$(=vLYFiscalYearSTart)&amp;lt;=$(=vLYToday)"},day={'Saturday'}&amp;gt;}sale)&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shubham&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 06:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-Logic/m-p/1557617#M743578</guid>
      <dc:creator>Shubham_Deshmukh</dc:creator>
      <dc:date>2019-03-18T06:12:30Z</dc:date>
    </item>
  </channel>
</rss>

