<?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 Past Financial Year To date with variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Past-Financial-Year-To-date-with-variables/m-p/1811063#M66103</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a previous year to date for the last financial year. The financial year runs from March to February.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the below for my Year To Date which works perfectly&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DataType={'Transaction'},FinYear={$(vMaxFinYear)},[Transaction Date]={"&amp;lt;=$(vMaxCurrentDate)"}&amp;gt;}[Meter Count])&lt;/P&gt;&lt;P&gt;Variables are as follows,&lt;/P&gt;&lt;P&gt;vMaxCurrentDate=maxstring(Date)&lt;/P&gt;&lt;P&gt;vMaxFinYear=max(FinYear)&lt;/P&gt;&lt;P&gt;Then for my previous financial year to date I am using the following,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DataType={'Transaction'},FinYear={$(vMaxFinYear_1)},[Transaction Date]={"&amp;lt;=$(vMaxCurrentDateLY)"}&amp;gt;}[Meter Count])&lt;/P&gt;&lt;P&gt;Variables are as follows,&lt;/P&gt;&lt;P&gt;vMaxCurrentDateLY=maxstring(Date-365)&lt;/P&gt;&lt;P&gt;vMaxFinYear_1=$(vMaxFinYear)-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what is going wrong??&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 12:37:04 GMT</pubDate>
    <dc:creator>ChiCho</dc:creator>
    <dc:date>2021-05-27T12:37:04Z</dc:date>
    <item>
      <title>Past Financial Year To date with variables</title>
      <link>https://community.qlik.com/t5/App-Development/Past-Financial-Year-To-date-with-variables/m-p/1811063#M66103</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a previous year to date for the last financial year. The financial year runs from March to February.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the below for my Year To Date which works perfectly&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DataType={'Transaction'},FinYear={$(vMaxFinYear)},[Transaction Date]={"&amp;lt;=$(vMaxCurrentDate)"}&amp;gt;}[Meter Count])&lt;/P&gt;&lt;P&gt;Variables are as follows,&lt;/P&gt;&lt;P&gt;vMaxCurrentDate=maxstring(Date)&lt;/P&gt;&lt;P&gt;vMaxFinYear=max(FinYear)&lt;/P&gt;&lt;P&gt;Then for my previous financial year to date I am using the following,&lt;/P&gt;&lt;P&gt;sum({&amp;lt;DataType={'Transaction'},FinYear={$(vMaxFinYear_1)},[Transaction Date]={"&amp;lt;=$(vMaxCurrentDateLY)"}&amp;gt;}[Meter Count])&lt;/P&gt;&lt;P&gt;Variables are as follows,&lt;/P&gt;&lt;P&gt;vMaxCurrentDateLY=maxstring(Date-365)&lt;/P&gt;&lt;P&gt;vMaxFinYear_1=$(vMaxFinYear)-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what is going wrong??&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 12:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Past-Financial-Year-To-date-with-variables/m-p/1811063#M66103</guid>
      <dc:creator>ChiCho</dc:creator>
      <dc:date>2021-05-27T12:37:04Z</dc:date>
    </item>
  </channel>
</rss>

