<?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 Trending on Fiscal year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301017#M1199526</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier if you have a some date type column to back up the string value. In that way it will be easier to calculate the previous or previous two periods.&lt;/P&gt;&lt;P&gt;In the script, do something like the following:&lt;/P&gt;&lt;P&gt;Load ....&lt;BR /&gt; date(date#(right([Fiscal Period],7),'MM/YYYY')) as [Fiscal Date]&lt;BR /&gt;From...&lt;/P&gt;&lt;P&gt;Then use Fiscal Date in the following way imagining that the user is going to select a [Fiscal Period]:&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(max([Fiscal Date])))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for the current month&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(addmonths(max([Fiscal Date]),-1)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for the previous month&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(addmonths(max([Fiscal Date]),-2)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for 2 months ago&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Jan 2011 00:15:26 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2011-01-22T00:15:26Z</dc:date>
    <item>
      <title>Trending on Fiscal year</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301014#M1199523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have 3 Fiscal year month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal Year Periods&lt;/P&gt;&lt;P&gt;Oct FY11 Nov FY 11 Dec FY11 3 month Trend&lt;/P&gt;&lt;P&gt;55 75 85 arrow up or arrow down?? (how to calculated this)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 2:&lt;/P&gt;&lt;P&gt;Last Fiscal Month Current Fiscal month&lt;/P&gt;&lt;P&gt;76.7 (compare the current month value to last fiscal month) and to show graphically arrow up or down&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 18:16:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301014#M1199523</guid>
      <dc:creator />
      <dc:date>2011-01-21T18:16:27Z</dc:date>
    </item>
    <item>
      <title>Trending on Fiscal year</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301015#M1199524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way you can do this is with set analysis. First, calculate the current fiscal month:&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;[Fiscal Period]={'Dec FY11'} &amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;To do the 3 month trend I assume you ignore the second month and just evaluate if the 3rd month is greater than the 1st month. So,&lt;/P&gt;&lt;P&gt;if(sum({$&amp;lt;[Fiscal Period]={'Dec FY11'} &amp;gt;} Amount)&amp;gt;sum({$&amp;lt;[Fiscal Period]={'Oct FY11'} &amp;gt;} Amount),&lt;BR /&gt; 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_n_g.png', 'qmem://&amp;lt;bundled&amp;gt;/BuiltIn/arrow_d_r.png')&lt;/P&gt;&lt;P&gt;and to compare the past fiscal period it would be something similar.&lt;/P&gt;&lt;P&gt;Of course it would be better to make the fiscal period dynamic in the expression, but I would need to know your date format for Fiscal Period, or is it a string?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 22:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301015#M1199524</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-01-21T22:50:29Z</dc:date>
    </item>
    <item>
      <title>Trending on Fiscal year</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301016#M1199525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use 010/2010 , 011/2010 ,012/2010.&lt;/P&gt;&lt;P&gt;We have another column where we have JUL FY10. I suppose we can use either one.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jan 2011 23:06:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301016#M1199525</guid>
      <dc:creator />
      <dc:date>2011-01-21T23:06:26Z</dc:date>
    </item>
    <item>
      <title>Trending on Fiscal year</title>
      <link>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301017#M1199526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be easier if you have a some date type column to back up the string value. In that way it will be easier to calculate the previous or previous two periods.&lt;/P&gt;&lt;P&gt;In the script, do something like the following:&lt;/P&gt;&lt;P&gt;Load ....&lt;BR /&gt; date(date#(right([Fiscal Period],7),'MM/YYYY')) as [Fiscal Date]&lt;BR /&gt;From...&lt;/P&gt;&lt;P&gt;Then use Fiscal Date in the following way imagining that the user is going to select a [Fiscal Period]:&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(max([Fiscal Date])))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for the current month&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(addmonths(max([Fiscal Date]),-1)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for the previous month&lt;/P&gt;&lt;P&gt;{$&amp;lt;[Fiscal Period]=, [Fiscal Date]={'$(=date(addmonths(max([Fiscal Date]),-2)))'}&amp;gt;}&lt;/P&gt;&lt;P&gt;for 2 months ago&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Jan 2011 00:15:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trending-on-Fiscal-year/m-p/301017#M1199526</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-01-22T00:15:26Z</dc:date>
    </item>
  </channel>
</rss>

