<?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 in qlikview in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333203#M411628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to get the Sales(2017 YTD) vs Sales(2016 YTD) and also Sales_Total in the same format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 15:36:38 GMT</pubDate>
    <dc:creator>psk180590</dc:creator>
    <dc:date>2017-06-21T15:36:38Z</dc:date>
    <item>
      <title>YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333197#M411622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm looking to generate a chart for YTD current year vs YTD last year. I have many values to calculate(Sales, Quantity, Per Country, Per State, Per Region etc.,). Each of this will be having a separate chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with a single variable to define YTD current year and another one to define YTD last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use this in the chart expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Sai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:17:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333197#M411622</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-21T12:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333198#M411623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check below using this you can create variable and use it in you application&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6163"&gt;YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-7045"&gt;Previous YTQ, QTD, MTD and WTD&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333198#M411623</guid>
      <dc:creator>prma7799</dc:creator>
      <dc:date>2017-06-21T12:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333199#M411624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create 2 variable &lt;/P&gt;&lt;P&gt;Considering you have proper date field&lt;/P&gt;&lt;P&gt;1 for YTD like&lt;/P&gt;&lt;P&gt;'=$(&amp;gt;=YearStart(max(datefieldName))&amp;lt;=(date(max(dateFieldName))))'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;2 for LY-YTD like&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'=$(&amp;gt;=YearStart(AddYears(max(datefieldName),-1))&amp;lt;=(date(AddYears(max(dateFieldName),-1))))'&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:27:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333199#M411624</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-06-21T12:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333200#M411625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the below formula. But, it doesn't give me any values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET vDate_APO_YTD = ="&amp;gt;$(=YearStart(max(APORegion.Date))&amp;lt;=(date(max(APORegion.Date))))}&amp;gt;";&lt;/P&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;SET vDate_APO_YTD_VJ = ="&amp;gt;$(=YearStart(AddYears(max(APORegion.Date),-1))&amp;lt;=(date(AddYears(max(APORegion.Date),-1))))}&amp;gt;";&lt;/SPAN&gt;&lt;/P&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;Could you please check if i'm missing anything here.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:43:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333200#M411625</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-21T12:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333201#M411626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your expression in set analysis????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In chart you have to use those variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;dateField={"=$vDate_APO_YTD"}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;dateField={"=$vDate_APO_YTD_VJ"}&amp;gt;}Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note : Please check syntax of expression. I am bad with syntax &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Prashant&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333201#M411626</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-06-21T12:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333202#M411627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason i'm not able to get the desired result. I'm attaching my test data here for reference can you please have&amp;nbsp; look and suggest me what i might be doing wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333202#M411627</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-21T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333203#M411628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking to get the Sales(2017 YTD) vs Sales(2016 YTD) and also Sales_Total in the same format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333203#M411628</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-21T15:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333204#M411629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/23109"&gt;jagan&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;I have seen your post regarding the same topic but, some how i'm not able to follow your suggestions. Can you please help me on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333204#M411629</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-21T15:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333205#M411630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;YTD:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Yearstart(today()))&amp;lt;=$(today())"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Y-1TD-1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Yearstart(today(),-1))&amp;lt;=$(=AddYears(today(),-1))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;} &amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333205#M411630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-21T16:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333206#M411631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The YTD (current year) formula works perfectly but the YTD (last year) gives me same values as YTD current year.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 07:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333206#M411631</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-22T07:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333207#M411632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;YTD Flag:&amp;nbsp; if(if(Month(date(Floor(Date)))&amp;lt;=3,(Year(date(Floor(Date)))-1)&amp;amp;'-'&amp;amp;(Year(date(Floor(Date)))),(Year(date(Floor(Date))))&amp;amp;'-'&amp;amp;(Year(date(Floor(Date)))+1))=if(Month(((today())))&amp;lt;=3,(Year(((today())))-1)&amp;amp;'-'&amp;amp;(Year(((today())))),(Year(((today()))))&amp;amp;'-'&amp;amp;(Year(((today())))+1)),1,0) as YTD_Flag,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-IN" style="font-size: 12.0pt; font-family: 'Cambria','serif'; color: black;"&gt;LYTD Flag:&amp;nbsp; inyeartodate(Date, $(vDateToday), -1,4)* -1&amp;nbsp; AS LastYTDFlag&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt; background: white;"&gt;Try this in script make flag.In front end write expression as :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;YTD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;YTD={'1'}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LYTD&amp;nbsp; &lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; color: #3d3d3d; font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; font-size: 8pt;"&gt;&lt;SPAN style="color: #3d3d3d;"&gt;({&amp;lt;L&lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;YTD={'1'}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; color: #3d3d3d; font-size: 8pt;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-style: inherit; font-weight: inherit; color: #3d3d3d; font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this will helps u..!!&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mohammad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 09:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333207#M411632</guid>
      <dc:creator>mohammadkhatimi</dc:creator>
      <dc:date>2017-06-22T09:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333208#M411633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It tried it with your example in a textbox, it worked...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 10:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333208#M411633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T10:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333209#M411634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YTD:&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;Date={"&amp;gt;=$(=Yearstart(today()))&amp;lt;=$(today())"} &amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Y-1TD-1:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={"&amp;gt;=$(=Yearstart(&lt;SPAN style="font-size: 13.3333px;"&gt;AddYears(&lt;/SPAN&gt;today(),-1)))&amp;lt;=$(=AddYears(today(),-1))"} &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 10:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333209#M411634</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-22T10:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333210#M411635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly thanks for all your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is turning out to be bit more complicated then i thought it would. So, here is what i'm looking to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get YTD current year vales for each month.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI&gt;1st-31st Jan is YTD Jan&lt;/LI&gt;&lt;LI&gt;1st Jan to 28th Feb is YTD Feb&lt;/LI&gt;&lt;LI&gt;1st Jan to 31st Mar is YTD Mar&lt;/LI&gt;&lt;LI&gt;1st Jan to 30th Apr is YTD Apr&lt;/LI&gt;&lt;LI&gt;And so on for the preceding months.&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to achieve the YTD for my data upto May 31st(i.e., 1st Jan to 31st May) but it works only without the Month dimension in my chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, what i would like to have is to generate a value for each point mentioned above and have them with a month dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE&lt;/STRONG&gt;: I believe that having date formulas would be better as i have many expressions(Sales and&amp;nbsp; Quantity of three different types). I mean having a Date variable that would get me the Period from 1st Jan to 31st Jan and the next one to get Period from 1st Jan to 28th Feb and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 13:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333210#M411635</guid>
      <dc:creator>psk180590</dc:creator>
      <dc:date>2017-06-22T13:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: YTD in qlikview</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333211#M411636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you have multiple years why do use use month instead of yearmonth as dimension?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;basically it should work with something like&amp;nbsp; rangesum(above(sum(Sales),0,RowNo())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if YearMonth is the only dimension and YearMonth is sorted ascending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 15:16:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-in-qlikview/m-p/1333211#M411636</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-22T15:16:26Z</dc:date>
    </item>
  </channel>
</rss>

