<?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 calculation - need help with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753125#M471808</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 am trying to calculate YTD using &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DayNumberOfYear()&lt;/SPAN&gt;. My calendar is FY, first month is Oct. In MasterCalendar I have added &lt;EM&gt;DayNumberOfYear(DateofSale,10) as &lt;SPAN style="color: #ff0000;"&gt;DayNbrOfYear&lt;/SPAN&gt;&lt;/EM&gt; now in the set analysis I am trying to check a range if day falls between day 1 and the day number as of Today(). Problem is it is not giving me syntax error and not calculating it properly. For e.g as of today it should add up only day 1-142 it is adding up entire Year.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DayNbrOfYear={"&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;=1&amp;lt;=({&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;DayNumberOfYear(today(),10)&lt;/STRONG&gt;&lt;/SPAN&gt;})"}&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. I am new to QV and have not much experience with Set Analysis.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rashid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Feb 2015 16:11:52 GMT</pubDate>
    <dc:creator>rmuhammad</dc:creator>
    <dc:date>2015-02-19T16:11:52Z</dc:date>
    <item>
      <title>YTD calculation - need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753125#M471808</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 am trying to calculate YTD using &lt;SPAN style="font-size: 13.3333330154419px;"&gt;DayNumberOfYear()&lt;/SPAN&gt;. My calendar is FY, first month is Oct. In MasterCalendar I have added &lt;EM&gt;DayNumberOfYear(DateofSale,10) as &lt;SPAN style="color: #ff0000;"&gt;DayNbrOfYear&lt;/SPAN&gt;&lt;/EM&gt; now in the set analysis I am trying to check a range if day falls between day 1 and the day number as of Today(). Problem is it is not giving me syntax error and not calculating it properly. For e.g as of today it should add up only day 1-142 it is adding up entire Year.&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DayNbrOfYear={"&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;gt;=1&amp;lt;=({&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;DayNumberOfYear(today(),10)&lt;/STRONG&gt;&lt;/SPAN&gt;})"}&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. I am new to QV and have not much experience with Set Analysis.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rashid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753125#M471808</guid>
      <dc:creator>rmuhammad</dc:creator>
      <dc:date>2015-02-19T16:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation - need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753126#M471809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;sum({$&amp;lt;DayNbrOfYear={"&amp;lt;=$(=DayNumberOfYear(today(),10))"}&amp;gt;} Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753126#M471809</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-02-19T16:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: YTD calculation - need help with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753127#M471810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Henric! You are the Best &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Feb 2015 16:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-calculation-need-help-with-Set-Analysis/m-p/753127#M471810</guid>
      <dc:creator>rmuhammad</dc:creator>
      <dc:date>2015-02-19T16:30:23Z</dc:date>
    </item>
  </channel>
</rss>

