<?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: Previous Fiscal Year Expression Issue in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140186#M20180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{$&amp;lt;Year=, Month=, Date=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum),-1,7)))&amp;lt;=$(=&lt;SPAN style="color: #ff0000;"&gt;Num(&lt;/SPAN&gt;AddYears(Max(DateNum),-1))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Sep 2016 15:50:06 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-02T15:50:06Z</dc:date>
    <item>
      <title>Previous Fiscal Year Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140184#M20178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the YTD expressions found in these posts, with slight modification for the fiscal year starting July-1: &lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;A href="https://community.qlik.com/docs/DOC-7045"&gt;Previous YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Fiscal YTD set analysis expression is the following, this works perfectly&lt;/P&gt;&lt;P&gt;{$&amp;lt;Year=, Month=, Date=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum),0,7)))&amp;lt;=$(=Max(DateNum))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Previous Fiscal YTD expression doesn't work at all - I'm assuming its a syntax error as the set analysis doesn't restrict data at all when its used.&lt;/P&gt;&lt;P&gt;{$&amp;lt;Year=, Month=, Date=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum),-1,7)))&amp;lt;=$(=AddYears(Max(DateNum),-1))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone take a look at these expressions and tell me what is wrong with the second one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:01:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140184#M20178</guid>
      <dc:creator />
      <dc:date>2016-09-02T15:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Fiscal Year Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140185#M20179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like your DateNum field is not formatted as date. If so, try the below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{$&amp;lt;Year=, Month=, Date=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum),-1,7)))&amp;lt;=$(=&lt;STRONG&gt;Num(&lt;/STRONG&gt;AddYears(Max(DateNum),-1))&lt;STRONG&gt;)&lt;/STRONG&gt;"}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140185#M20179</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2016-09-02T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Fiscal Year Expression Issue</title>
      <link>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140186#M20180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{$&amp;lt;Year=, Month=, Date=, DateNum={"&amp;gt;=$(=Num(YearStart(Max(DateNum),-1,7)))&amp;lt;=$(=&lt;SPAN style="color: #ff0000;"&gt;Num(&lt;/SPAN&gt;AddYears(Max(DateNum),-1))&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt;"}&amp;gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Sep 2016 15:50:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Previous-Fiscal-Year-Expression-Issue/m-p/1140186#M20180</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-02T15:50:06Z</dc:date>
    </item>
  </channel>
</rss>

