<?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 YTD Help with Fiscal Year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255001#M96501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i've made a graph with the following expression to calculate YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=max(Year))}, Month = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works great and now I need to make something similar but YTD must be between June and July, for ex: 06/2010 - 07/2011. I searched the community but i didn't find the right answer to my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2011 18:27:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-12T18:27:48Z</dc:date>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255001#M96501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i've made a graph with the following expression to calculate YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Year = {$(=max(Year))}, Month = {"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"}&amp;gt;} Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works great and now I need to make something similar but YTD must be between June and July, for ex: 06/2010 - 07/2011. I searched the community but i didn't find the right answer to my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anybody can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 18:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255001#M96501</guid>
      <dc:creator />
      <dc:date>2011-09-12T18:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255002#M96502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Mario,&lt;/P&gt;&lt;P&gt;see if this is ok for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I give u 2 solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u,&lt;/P&gt;&lt;P&gt;Stefano&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 18:56:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255002#M96502</guid>
      <dc:creator />
      <dc:date>2011-09-12T18:56:12Z</dc:date>
    </item>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255003#M96503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefano, this is not exactly what i need, &lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;taking the values&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;​​from your example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;would be:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;if i select:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month&amp;nbsp; = 5&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD must be = 40&lt;/P&gt;&lt;P&gt;month&amp;nbsp; = 6&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD must be = 96&amp;nbsp;&amp;nbsp; (40+56)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;month&amp;nbsp; = 7&amp;nbsp;&amp;nbsp;&amp;nbsp; YTD must be = 70&amp;nbsp; (this is because that my fiscal year starts at July and ends at June of the next year, then at July of each year begins sum from 0) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 19:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255003#M96503</guid>
      <dc:creator />
      <dc:date>2011-09-12T19:25:41Z</dc:date>
    </item>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255004#M96504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; My suggestion would be to add fiscal data to your date dimension. That way you can reference either the calendar period or the fiscal period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I build out this type of data I have two period options: CalendarPeriod and FiscalPeriod. You can then customize your report to use either (or both). Users can select CalendarQ1 or FiscalQ1 as required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modifying your date data will be a lot easier, and more maintainable thanks to leap years, than trying to code something in QV to handle the offset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For what it's worth, if you decide to work with your date dimension consider adding offsets to make comparisons easier. For example, adding something like a CalendarMonthOffset column will allow reports to do things like compare current calendar month with previous month (offset = 1), MTD vs prior year MTD (offset = 12), etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 19:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255004#M96504</guid>
      <dc:creator />
      <dc:date>2011-09-12T19:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255005#M96505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"Maybe" this is near to the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:33:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255005#M96505</guid>
      <dc:creator />
      <dc:date>2011-09-12T21:33:21Z</dc:date>
    </item>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255006#M96506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefano, yes it's near but when i select for ex. year=2011 month=8&amp;nbsp; on the graph the result i've got is 12, and it has to be 34 (11 + 23)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255006#M96506</guid>
      <dc:creator />
      <dc:date>2011-09-12T21:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255007#M96507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mario, are u italian?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;34 is the solution if u change '-' with '+' in the expression. &lt;/P&gt;&lt;P&gt;I've underestood u had a ytd in the table, i u have MTD change that and it should be right...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise I surrender and go to bed.. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 21:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255007#M96507</guid>
      <dc:creator />
      <dc:date>2011-09-12T21:53:40Z</dc:date>
    </item>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255008#M96508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;Stefano, it's close but &lt;/SPAN&gt;&lt;SPAN class="hps"&gt;if for example&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you select&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;Month =&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;9&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;obtained&lt;/SPAN&gt; &lt;SPAN class="hps atn"&gt;79 (&lt;/SPAN&gt;23 &lt;SPAN class="hps"&gt;+56)&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;when it should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;be 90&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;(11&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;+23&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;+56&lt;/SPAN&gt;&lt;SPAN&gt;) in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;formula&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;brings only&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;two months...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cmq mille grazie e buona notte!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="en"&gt;&lt;SPAN class="hps"&gt;PS: i'm from Argentina but muy parents are italians&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 22:09:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255008#M96508</guid>
      <dc:creator />
      <dc:date>2011-09-12T22:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255009#M96509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is perfect! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...and the winner is.... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after th time i "loose" it must be right! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/angry.png" /&gt; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have really to go to bed... i have to develope with this Qlik tomorrow at work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C u&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 22:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255009#M96509</guid>
      <dc:creator />
      <dc:date>2011-09-12T22:13:12Z</dc:date>
    </item>
    <item>
      <title>YTD Help with Fiscal Year</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255010#M96510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EXCELLENT!! FANTASTICO!! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORKS GREAT!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank u very much !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 22:22:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Help-with-Fiscal-Year/m-p/255010#M96510</guid>
      <dc:creator />
      <dc:date>2011-09-12T22:22:36Z</dc:date>
    </item>
  </channel>
</rss>

