<?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: Financial YTD with 13 Periods in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037886#M349690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's easier then thought. If you have this financial period in a master-calendar you could use most of the logic from the normal calendar to create flags or the use of a max(Period) and counting backwards and forwards - of course calendar-functions like addmonths() or inmonthtodate() won't work but they aren't needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside your financial-period I would create a financial -year, -month and a monthcounter - autonumber(FinancialPeriod) - and then should be the same logics applicable like in normal calendars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 06:43:15 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-01-07T06:43:15Z</dc:date>
    <item>
      <title>Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037879#M349683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am used to creating dynamic YTD and MTD charts using a standard calendar. Using Functions like addmonths, (max(Year)-1) etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Previous Year YTD function involving a 13 period Financial Year without using calendar functions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Previous Year Expression looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;FinYear = {$(#=(Left(max(FinYearPeriod),4)-1))},FinPeriod = {$(#=right(max(FinYearPeriod),2))}&amp;gt;}[Line Sales])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinYearPeriod looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;201501&lt;/P&gt;&lt;P&gt;201502&lt;/P&gt;&lt;P&gt;201503&lt;/P&gt;&lt;P&gt;201504&lt;/P&gt;&lt;P&gt;201505&lt;/P&gt;&lt;P&gt;201506&lt;/P&gt;&lt;P&gt;201507&lt;/P&gt;&lt;P&gt;201508&lt;/P&gt;&lt;P&gt;201509&lt;/P&gt;&lt;P&gt;201510&lt;/P&gt;&lt;P&gt;201511&lt;/P&gt;&lt;P&gt;201512&lt;/P&gt;&lt;P&gt;201513&lt;/P&gt;&lt;P&gt;201601 etc etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also need to create an expression showing the max 3 Period Sales, how would i do this without Addmonths or being able to minus. As far as i see it Qlikview sees my YearPeriod as a number so if we are in Period 201601 and i say max(YearPeriod)-1 this will equal 201600.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 13:56:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037879#M349683</guid>
      <dc:creator />
      <dc:date>2016-01-06T13:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037880#M349684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FYI my Previous Year Period expression does not work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&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>Wed, 06 Jan 2016 14:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037880#M349684</guid>
      <dc:creator />
      <dc:date>2016-01-06T14:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037881#M349685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you could apply a second master-calendar like this one: &lt;A href="https://community.qlik.com/docs/DOC-8837"&gt;4-5-4 Master Calendar&lt;/A&gt; and use them to simplify your period-matchings maybe with user-defined functions (variables with parameter) or you could flag those FYTD&amp;nbsp;&amp;nbsp; / PFYTD in a similar way like descripted in various postings here: &lt;A href="https://community.qlik.com/docs/DOC-8843"&gt;How to use - Master-Calendar and Date-Values&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:12:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037881#M349685</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-06T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037882#M349686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have a second master calendar which is very specific to my client, there is no constant pattern as sometimes they add an extra week to one of their periods etc, this i have created in excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the your (very well put together) thread. I have actually stumbled upon this a couple of times and it has helped me in the past. I still cannot find anything regarding a 13 period Financial Year in their.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are clearly an expert in his topic. have you worked on a Financial Calendar like this before?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 14:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037882#M349686</guid>
      <dc:creator />
      <dc:date>2016-01-06T14:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037883#M349687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This meant the periods are not completely predictable and the periods could differ over the years, right? I'm not sure but I think I would try to create such flags with the logic of the function daynumberofyear() - applying it by not calendar years with a peek/previous approach - and counting then backwards your needed days and/or trying to use this within a set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But before I would consider to extend those manually excel-file to such flags - I think to filter such excel-list and set these flags will only take a few minutes (it's not nicely but practically).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2016 15:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037883#M349687</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-06T15:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037884#M349688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see what you're saying. But i still need to measure example &lt;STRONG&gt;Fin Year &lt;SPAN style="text-decoration: underline;"&gt;2016&lt;/SPAN&gt; &amp;amp; Fin Period 01&lt;/STRONG&gt; against &lt;STRONG&gt;Fin Year &lt;SPAN style="text-decoration: underline;"&gt;2015&lt;/SPAN&gt; &amp;amp; Fin Period 01 &lt;/STRONG&gt;Sales. It isn't a set amount of days, it is always Period vs Period.. Even if the current Fin Year period has 7 days more data... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think i'm far off with my expression, it works in a text box, i probably need to persist a bit more and play around a bit with it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 06:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037884#M349688</guid>
      <dc:creator />
      <dc:date>2016-01-07T06:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037885#M349689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this post &lt;A href="https://community.qlik.com/message/860237"&gt;Re: How to extract period Wise Qvds&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Neetha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 06:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037885#M349689</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-07T06:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037886#M349690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it's easier then thought. If you have this financial period in a master-calendar you could use most of the logic from the normal calendar to create flags or the use of a max(Period) and counting backwards and forwards - of course calendar-functions like addmonths() or inmonthtodate() won't work but they aren't needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside your financial-period I would create a financial -year, -month and a monthcounter - autonumber(FinancialPeriod) - and then should be the same logics applicable like in normal calendars.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 06:43:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037886#M349690</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-01-07T06:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Financial YTD with 13 Periods</title>
      <link>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037887#M349691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks For Your Help Marcus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was far simpler than i originally thought (as it usually is) as a number YearPeriod is actually easy to work with. Previous Month YTD Sales is an easy formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;FinYearPeriod = {$(#=max(FinYearPeriod)-100)}&lt;/SPAN&gt;&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FinYearPeriod example 201601 - with the above example becomes 201501.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apologies for the unnecessary hassle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 08:56:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Financial-YTD-with-13-Periods/m-p/1037887#M349691</guid>
      <dc:creator />
      <dc:date>2016-01-07T08:56:40Z</dc:date>
    </item>
  </channel>
</rss>

