<?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 Unable to to sum based on current year vs last year to date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55744#M3703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am new to QS. I have data for year 2017 &amp;amp; 2018 in a table. what i am try to do is take SUM of all transactions up to TODAY but only for current year. I am trying to prepare comparison of current YTD vs Last YTD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tied all sort of YTD &amp;amp; LY TD formulas &lt;A href="https://community.qlik.com/docs/DOC-17974"&gt;Date Level Analysis - WTD, MTD, QTD &amp;amp;amp; YTD (Current Year &amp;amp;amp; Previous Year)&lt;/A&gt; but none seems to be working &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my detailed ! .QVF file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 09:33:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-18T09:33:40Z</dc:date>
    <item>
      <title>Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55744#M3703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am new to QS. I have data for year 2017 &amp;amp; 2018 in a table. what i am try to do is take SUM of all transactions up to TODAY but only for current year. I am trying to prepare comparison of current YTD vs Last YTD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tied all sort of YTD &amp;amp; LY TD formulas &lt;A href="https://community.qlik.com/docs/DOC-17974"&gt;Date Level Analysis - WTD, MTD, QTD &amp;amp;amp; YTD (Current Year &amp;amp;amp; Previous Year)&lt;/A&gt; but none seems to be working &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is my detailed ! .QVF file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 09:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55744#M3703</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T09:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55745#M3704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the goal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/200029_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;DATE = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(DATE))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(DATE)))"}&amp;gt;} [Total Avail Room])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;DATE = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(DATE))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(DATE)))"}, MPECode={'1. JA JABH'}&amp;gt;}[Total Avail Room])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;DATE = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(DATE), -1)) &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(DATE), -1)))"}&amp;gt;}[Total Avail Room])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Sum({&amp;lt;DATE = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(DATE), -1)) &amp;amp; '&amp;lt;=' &amp;amp; Date(AddYears(Max(DATE), -1)))"}, MPECode={'1. JA JABH'}&amp;gt;}[Total Avail Room])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 12:03:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55745#M3704</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55746#M3705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, you are a star &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 12:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55746#M3705</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T12:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55747#M3706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just for my understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=Sum({&amp;lt;DATE = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(DATE))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(DATE)))"}&amp;gt;} [Total Avail Room])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;DATE (capital) is my date field? and I can also replace it with my auto calendar field as below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;=Sum({&amp;lt;&lt;/SPAN&gt;[Date.autoCalendar.Date]&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt; = {"$(='&amp;gt;=' &amp;amp; Date(YearStart(Max(&lt;/SPAN&gt;[Date.autoCalendar.Date]&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;))) &amp;amp; '&amp;lt;=' &amp;amp; Date(Max(&lt;/SPAN&gt;[Date.autoCalendar.Date]&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: bold; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;)))"}&amp;gt;} [Total Avail Room])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 13:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55747#M3706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-18T13:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55748#M3707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not 100% confident, have you tested to see if it works or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 15:24:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55748#M3707</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-18T15:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55749#M3708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;its not working with autoCalendar.Data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 06:18:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55749#M3708</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T06:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to to sum based on current year vs last year to date</title>
      <link>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55750#M3709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then I guess it is a problem related to derived fields&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 14:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Unable-to-to-sum-based-on-current-year-vs-last-year-to-date/m-p/55750#M3709</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-04-19T14:00:04Z</dc:date>
    </item>
  </channel>
</rss>

