<?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: Year to date Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061400#M920152</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replaced it with 'MM/DD/YYYY'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 May 2016 19:19:42 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-05-03T19:19:42Z</dc:date>
    <item>
      <title>Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061393#M920145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following set analysis for calculating Year to Date based on calendar year:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-03 at 09.44.25.png" class="jive-image image-1" src="/legacyfs/online/123351_Screen Shot 2016-05-03 at 09.44.25.png" style="height: 32px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;where MonthID is calculated as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-03 at 09.49.11.png" class="jive-image image-2" src="/legacyfs/online/123352_Screen Shot 2016-05-03 at 09.49.11.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;i have a fiscal month variable which is vFM = 6 denoting when the month the fiscal year starts. How can this be adjusted to come to a Year to Date based on the fiscal year calendar?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061393#M920145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061394#M920146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this in the script&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;&lt;STRONG style="text-decoration: line-through;"&gt;AutoNumber(Mod(Month(Date) - $(vFM), 12)+1) as FiscalMonthID&lt;/STRONG&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;STRONG style="text-decoration: line-through;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Num(Mod(Month(Date) - $(vFM), 12)+1) as FiscalMonthID&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Grabbed the logic from here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7094"&gt;Fiscal and Standard Calendar generation&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 08:04:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061394#M920146</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T08:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061395#M920147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The recommendation above gives the same value as the calendar Year to Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 17:08:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061395#M920147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T17:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061396#M920148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Year, Quarter, Month, MonthID, Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)&lt;SPAN style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, 0, 6&lt;/SPAN&gt;), 'YourDateFieldFormatHere') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), 'YourDateFieldFormatHere'))"}&amp;gt;} Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 17:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061396#M920148</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T17:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061397#M920149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny the moment i enter the expression, i get a message 'Error in expression'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 18:15:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061397#M920149</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T18:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061398#M920150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a screenshot? In the mean time I can check the syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 18:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061398#M920150</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061399#M920151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;Year, Quarter, Month, MonthID, Date = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, 0, 6&lt;/SPAN&gt;), '&lt;SPAN style="color: #ff0000;"&gt;YourDateFieldFormatHere&lt;/SPAN&gt;') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), '&lt;SPAN style="color: #ff0000;"&gt;YourDateFieldFormatHere&lt;/SPAN&gt;'))"}&amp;gt;} Amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you replace &lt;STRONG style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YourDateFieldFormatHere&lt;/STRONG&gt; with your datefield's format or did you just copy and paste the whole thing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 18:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061399#M920151</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T18:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061400#M920152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I replaced it with 'MM/DD/YYYY'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 19:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061400#M920152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061401#M920153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share a screenshot of the error? Did you try clicking okay to see if you still see any result or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 19:24:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061401#M920153</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T19:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061402#M920154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, i had not click ok, when i do so i get the following result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-03 at 22.17.48.png" class="jive-image image-1" src="/legacyfs/online/123424_Screen Shot 2016-05-03 at 22.17.48.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;However the calculated Year to Date is 8 132 064.83&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 20:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061402#M920154</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-03T20:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061403#M920155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check if this is giving you the right date range. Try it in a text box object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;='&amp;gt;=' &amp;amp; Date(YearStart(Max(Date)&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #ff0000;"&gt;, 0, 6&lt;/SPAN&gt;), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY&lt;/SPAN&gt;') &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(Date), '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MM/DD/YYYY&lt;/SPAN&gt;')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 20:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061403#M920155</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-03T20:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061404#M920156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Sunny&lt;/P&gt;&lt;P&gt;Changed your expression to the following since my fiscal year start month is 10:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123477" alt="Screen Shot 2016-05-04 at 06.58.10.png" class="jive-image image-2" src="/legacyfs/online/123477_Screen Shot 2016-05-04 at 06.58.10.png" style="height: 34px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;This gives the correct date range as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123476" alt="Screen Shot 2016-05-04 at 06.57.26.png" class="jive-image image-1" src="/legacyfs/online/123476_Screen Shot 2016-05-04 at 06.57.26.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I then changed the expression for Year to Date to:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-04 at 07.07.21.png" class="image-5 jive-image" src="/legacyfs/online/123480_Screen Shot 2016-05-04 at 07.07.21.png" style="height: 19px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives the same value as the old value as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="123479" alt="Screen Shot 2016-05-04 at 06.59.02.png" class="image-4 jive-image" src="/legacyfs/online/123479_Screen Shot 2016-05-04 at 06.59.02.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 05:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061404#M920156</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T05:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Year to date Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061405#M920157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ended up using flags as follows:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-04 at 08.45.46.png" class="jive-image image-1" src="/legacyfs/online/123481_Screen Shot 2016-05-04 at 08.45.46.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;then using set analysis with&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-04 at 08.46.13.png" class="jive-image image-2" src="/legacyfs/online/123488_Screen Shot 2016-05-04 at 08.46.13.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;giving the correct result as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2016-05-04 at 08.46.37.png" class="jive-image image-3" src="/legacyfs/online/123489_Screen Shot 2016-05-04 at 08.46.37.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;How do i do the following flags:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Previous month&lt;/LI&gt;&lt;LI&gt;Previous two months&lt;/LI&gt;&lt;LI&gt;Quarter to date&lt;/LI&gt;&lt;LI&gt;Last year quarter to date&lt;/LI&gt;&lt;LI&gt;Same quarter of last year&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 06:52:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Year-to-date-Set-Analysis/m-p/1061405#M920157</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-04T06:52:54Z</dc:date>
    </item>
  </channel>
</rss>

