<?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 Issue in YTD exp in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652957#M673714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;When I try to give the following expression for the calculation of previous year ytd value, I get the result as 0.&lt;/P&gt;&lt;P&gt;can you please help me out in finding where the issue is?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Date] = {"&amp;gt;=$(=YearStart(vCalendar)-1)"}*{"&amp;lt;$(=Date(MonthStart(vCalendar)-1,'DD/MM/YYYY'))"},&lt;/P&gt;&lt;P&gt;vcalendar is nothing but today()-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vidhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 Aug 2014 17:02:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-10T17:02:04Z</dc:date>
    <item>
      <title>Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652957#M673714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;When I try to give the following expression for the calculation of previous year ytd value, I get the result as 0.&lt;/P&gt;&lt;P&gt;can you please help me out in finding where the issue is?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[Date] = {"&amp;gt;=$(=YearStart(vCalendar)-1)"}*{"&amp;lt;$(=Date(MonthStart(vCalendar)-1,'DD/MM/YYYY'))"},&lt;/P&gt;&lt;P&gt;vcalendar is nothing but today()-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Vidhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 17:02:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652957#M673714</guid>
      <dc:creator />
      <dc:date>2014-08-10T17:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652958#M673715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please add the New field Called YEAR in the data model and use the below expression :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YEAR = {"$(=Yeay(Todat())-1)"}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Aug 2014 17:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652958#M673715</guid>
      <dc:creator />
      <dc:date>2014-08-10T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652959#M673716</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 comfortable with writing script for year, but I face few issues when I do the same for month.&lt;/P&gt;&lt;P&gt;I want to display Jan to Jul months of 2013 using variable, and it should automatically get changed to Jan to Aug 2013 when we are in September.&lt;/P&gt;&lt;P&gt;Hope I am clear.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vidhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 05:01:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652959#M673716</guid>
      <dc:creator />
      <dc:date>2014-08-11T05:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652960#M673717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First glance says about few corrections, try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Date] = {"&amp;gt;=$(=YearStart(vCalendar)-1) &amp;lt;$(=MonthStart(vCalendar)-1)"},&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 05:07:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652960#M673717</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-11T05:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652961#M673718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Expression doesn't seem to work. I get 0 as the result&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sheela&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 05:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652961#M673718</guid>
      <dc:creator />
      <dc:date>2014-08-11T05:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue in YTD exp</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652962#M673719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post your sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 05:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-in-YTD-exp/m-p/652962#M673719</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-08-11T05:39:48Z</dc:date>
    </item>
  </channel>
</rss>

