<?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: YTD Fiscal Year Calculations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728800#M261182</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;If this is resolved please close this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jul 2014 07:55:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-24T07:55:57Z</dc:date>
    <item>
      <title>YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728779#M261161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/H1&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am trying to do the set analysis calculations for MTD,YTD for this year and last year but i am unable to get the desired values.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;I have a fiscal date and i want to have the set analysis defined for sales such that if i pick a date it must give me the MTD sales until that date and same with YTD and also for last year.&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;/P&gt;&lt;P style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;Can someone please help me with any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 14:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728779#M261161</guid>
      <dc:creator />
      <dc:date>2014-07-22T14:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728780#M261162</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;I am still waiting for reply on this. Can someone throw me any suggestions?&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, 23 Jul 2014 11:37:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728780#M261162</guid>
      <dc:creator />
      <dc:date>2014-07-23T11:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728781#M261163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try this&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: CourierStd;"&gt;YTD:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;PeriodID = {"&amp;lt;=$(=Max(PeriodID))"},&lt;/P&gt;&lt;P&gt;Year = {$(=Max(Year))},&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Month = ,&lt;/P&gt;&lt;P&gt;Period = &amp;gt;} [# Departures Performed])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;PeriodID = {$(=Max(PeriodID))},&lt;/P&gt;&lt;P&gt;Year = ,&lt;/P&gt;&lt;P&gt;Quarter = ,&lt;/P&gt;&lt;P&gt;Month = ,&lt;/P&gt;&lt;P&gt;Period = &amp;gt;} [# Departures Performed])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 11:45:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728781#M261163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T11:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728782#M261164</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;From your Fiscal date create Calendar with Financial_Quarter,Financial_year...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For MTD try like this with your Date Field :&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CalYear={$(=max(CalYear))},CalMonth={$(=month(addmonths((max(CalDate)),-1)))}&amp;gt;}Sales) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For YTD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; =(sum( {&amp;lt;CalDate = {"&amp;gt;=$(= Date (min( {&amp;lt;CalMonth=, CalYear=, CalQuarter=&amp;gt;} QuaterStartDate )))&amp;lt;=$(vMaxDate))" }, CalYear=, CalMonth=, CalQuarter=&amp;gt;} Sales)) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For YTD (Year to Year):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;CalDate = {"&amp;gt;=$(=Date(Yearstart(max(CalDate))))&amp;lt;=$(=max(CalDate))"},CalMonth=,CalQuarter=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you to proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harshal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:13:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728782#M261164</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728783#M261165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following blog will be informative on this subject:&lt;/P&gt;&lt;P&gt;&lt;A href="http://iqlik.wordpress.com/2010/11/27/the-magic-of-set-analysis-point-in-time-reporting/" title="http://iqlik.wordpress.com/2010/11/27/the-magic-of-set-analysis-point-in-time-reporting/"&gt;The Magic of Set Analysis – Point In Time Reporting | iQlik - Everything QlikView.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728783#M261165</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2014-07-23T12:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728784#M261166</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;&lt;/P&gt;&lt;P&gt;I tried it this way and it didnt work for me,&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;[Date Id] = {"&amp;lt;=$(=Max([Date Id]))"},&lt;/P&gt;&lt;P&gt;[Fiscal Year Id] = {$(=Max(Year))},&lt;/P&gt;&lt;P&gt;[Fiscal Quarter] = ,&lt;/P&gt;&lt;P&gt;[Fiscal Month] = ,&lt;/P&gt;&lt;P&gt;[Date Id] = &amp;gt;} [Traffic])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i also posted one more post with my sample QVW and the validation file. Can you please look at that one too may be that should give you a better idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/126499"&gt;How To Calculate Selected Date, Last year date, MTD,YTD&lt;/A&gt;&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>Wed, 23 Jul 2014 12:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728784#M261166</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728785#M261167</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;&lt;/P&gt;&lt;P&gt;I tried it this way and it didnt work for me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Fiscal Year Id]={$(=max(Year))},[Fiscal Month]={$(=month(addmonths((max([Date Id])),-1)))}&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;actually i also posted one more post with my sample QVW and the validation file. Can you please look at that one too may be that should give you a better idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/126499"&gt;How To Calculate Selected Date, Last year date, MTD,YTD&lt;/A&gt;&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>Wed, 23 Jul 2014 12:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728785#M261167</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728786#M261168</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;You can create 5 variables:&lt;/P&gt;&lt;P&gt;vStartMTD =MonthStart([Fiscal date])&lt;/P&gt;&lt;P&gt;vStartYTD =YearStart([Fiscal date])&lt;/P&gt;&lt;P&gt;vStartPrevYTD =addyears(YearStart([Fiscal date]),-1)&lt;/P&gt;&lt;P&gt;vEndPrevTYD =addyears(YearEnd([Fiscal date]),-1)&lt;/P&gt;&lt;P&gt;vEndDate =[Fiscal date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for calculating MTD, YTD and Previous YTD, you the below set analysis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD =sum({&amp;lt;[Fiscal date] = {"&amp;gt;=$(vStartMTD)&amp;lt;=$(vEndDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;YTD =sum({&amp;lt;[Fiscal date] = {"&amp;gt;=$(vStartYTD)&amp;lt;=$(vEndDate)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Prev YTD =sum({&amp;lt;[Fiscal date] = {"&amp;gt;=$(vStartPrevYTD)&amp;lt;=$(vEndPrevYTD)"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 12:55:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728786#M261168</guid>
      <dc:creator />
      <dc:date>2014-07-23T12:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728787#M261169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please check the syntax for this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Date Id] = {"&amp;gt;=$(vStartMTD)&amp;lt;=$(vEndDate)"}&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because those 2 doesnt show up as variables they will be shown in color red and the value is displayed as 0. I think the syntax might be wrong.Can you please help me with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didnt try remaining calculations as this is the first one i was working on this.&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, 23 Jul 2014 13:11:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728787#M261169</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728788#M261170</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 is giving you an error because your [Date Id] field is not in the date format.&lt;/P&gt;&lt;P&gt;This is the reason why the "&amp;gt;=" and "&amp;lt;=" operators will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to change the field [Date Id] as follows in the script while loading:&lt;/P&gt;&lt;P&gt;date(date#([Date Id],'YYYYMMDD')) as XYZ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // XYZ can be any field name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:35:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728788#M261170</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728789#M261171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a calendar that will manage these types of calculations.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-6593"&gt;http://community.qlik.com/docs/DOC-6593&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&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, 23 Jul 2014 13:38:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728789#M261171</guid>
      <dc:creator>richard_pearce6</dc:creator>
      <dc:date>2014-07-23T13:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728790#M261172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my load script, i added this to the date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;date(date#([Date Id],'YYYYMMDD')) AS&amp;nbsp; [Fiscal Date]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and this gives me the date in date format and now i changed my set analysis to be something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt; [Fiscal Date] = {"&amp;gt;=$(vStartMTD)&amp;lt;=$(vEndDate)"}&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i get the value as 0 only, Any suggestions please?&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>Wed, 23 Jul 2014 13:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728790#M261172</guid>
      <dc:creator />
      <dc:date>2014-07-23T13:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728791#M261173</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;Can you share your qvw file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:04:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728791#M261173</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728792#M261174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this &lt;/P&gt;&lt;P&gt; i assumed that fiscal year starts from april.&lt;/P&gt;&lt;P&gt;YTD:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;={"&amp;gt;=$(=makedate($(=Year(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;)),4))&amp;lt;=$(=max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;))"},YEAR=,MONTH=,DAY=&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MTD:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;={"&amp;gt;=$(=makedate($(=Year(max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;)),$(=num(Month(max([Fiscal Date])))))&amp;lt;=$(=max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Fiscal Date] &lt;/SPAN&gt;))"},YEAR=,MONTH=,DAY=&amp;gt;}Traffic)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728792#M261174</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-07-23T14:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728793#M261175</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;&lt;/P&gt;&lt;P&gt;My fiscal year starts in february.So, i tried these 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Fiscal Date] ={"&amp;gt;=$(=makedate($(=Year(max([Fiscal Date] )),2))&amp;lt;=$(=max([Fiscal Date] ))"},[Fiscal Year Id]=,[Fiscal Month]=,[Date Id]=&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Date Id] ={"&amp;gt;=$(=makedate($(=Year(max([Date Id] )),2))&amp;lt;=$(=max([Date Id] ))"},[Fiscal Year Id]=,[Fiscal Month]=,[Date Id]=&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fiscal date gives me the date in 1/1/2010 format where as date id gives me the date in 20100101 format.&lt;/P&gt;&lt;P&gt;But in both of these cases, i received the following error&lt;/P&gt;&lt;P&gt;Error: Error in set modifier ad hoc element list: '' or ')' expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728793#M261175</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728794#M261176</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;PFA QVW file created by using dummy data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 14:25:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728794#M261176</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728795#M261177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help but the values seem wrong, one thing firstly is that the data in here for each day the traffic is shown for the whole week which means its aggregated up to the week level and the first day of the week shows the traffic for whole week, not sure if thats causing the difference or what not but the values seem off.If you look at my other post in which i sent you the QVW's i have attached the sample excel file with QVW.So, can you please try looking at it and see if that helps?&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, 23 Jul 2014 14:37:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728795#M261177</guid>
      <dc:creator />
      <dc:date>2014-07-23T14:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728796#M261178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh shit here in make date, at year one ) is missing &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i corrected it..use below expressions now below now &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;YTD:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date] &lt;/SPAN&gt;={"&amp;gt;=$(=makedate($(=Year(max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date] &lt;/SPAN&gt;)&lt;STRONG&gt;)&lt;/STRONG&gt;),4))&amp;lt;=$(=max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date] &lt;/SPAN&gt;))"},YEAR=,MONTH=,DAY=&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;MTD:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date] &lt;/SPAN&gt;={"&amp;gt;=$(=makedate($(=Year(max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date]&lt;/SPAN&gt;)&lt;STRONG&gt;)&lt;/STRONG&gt;),$(=num(Month(max([Fiscal Date])))))&amp;lt;=$(=max(&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;[Fiscal Date]&lt;/SPAN&gt;))"},YEAR=,MONTH=,DAY=&amp;gt;}Traffic)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:02:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728796#M261178</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-07-23T15:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728797#M261179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HiPrem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the below calculation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;[Fiscal Date] ={"&amp;gt;=$(=makedate($(=Year(max([Fiscal Date]))),$(=num(Month(max([Fiscal Date])))))&amp;lt;=$(=max([Fiscal Date]))"},[Fiscal Year Id]=,[Fiscal Month]=,[Date Id]=&amp;gt;}Traffic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But still i receive the same error &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error: Error in set modifier ad hoc element list: '' or ')' expected&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 15:11:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728797#M261179</guid>
      <dc:creator />
      <dc:date>2014-07-23T15:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: YTD Fiscal Year Calculations</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728798#M261180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you get a chance to look into it? Can you please help me with these calculations?&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>Wed, 23 Jul 2014 17:04:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Fiscal-Year-Calculations/m-p/728798#M261180</guid>
      <dc:creator />
      <dc:date>2014-07-23T17:04:54Z</dc:date>
    </item>
  </channel>
</rss>

