<?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 Prior YTD figure expression trouble in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Prior-YTD-figure-expression-trouble/m-p/175012#M43614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm trying to create an expresion in which we look at the previous years YTD figure?&lt;/P&gt;&lt;P&gt;My attempt was: [Code] sum({&amp;lt;Master_Calendar_Month_Key={"&amp;gt;=$(=yearstart(Master_Calendar_Month_Key)) &amp;lt;=$(=Master_Calendar_Month_Key)"},&lt;BR /&gt; Master_Calendar_MonthYear = {"$(=date(AddMonths(Master_Calendar_MonthYear,-12), 'MMM-YYYY'))"}&amp;gt;}Count) but this didn't provide the correct details.&lt;/P&gt;&lt;P&gt;I also tried:&lt;/P&gt;&lt;P&gt;&lt;PRE&gt; sum({1&amp;lt;Master_Calendar_Month_Key={"&amp;gt;=$(=yearstart(Master_Calendar_Month_Key)) &amp;lt;=$(=Master_Calendar_Month_Key)"},&lt;BR /&gt; Master_Calendar_MonthYear = {"$(=date(AddMonths(Master_Calendar_MonthYear,-12), 'MMM-YYYY'))"}&amp;gt;}Count)&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;but this again did not give me the right result. Does anyone have any other suggestions, they would be most welcome.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jan 2011 11:07:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-19T11:07:39Z</dc:date>
    <item>
      <title>Prior YTD figure expression trouble</title>
      <link>https://community.qlik.com/t5/QlikView/Prior-YTD-figure-expression-trouble/m-p/175012#M43614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm trying to create an expresion in which we look at the previous years YTD figure?&lt;/P&gt;&lt;P&gt;My attempt was: [Code] sum({&amp;lt;Master_Calendar_Month_Key={"&amp;gt;=$(=yearstart(Master_Calendar_Month_Key)) &amp;lt;=$(=Master_Calendar_Month_Key)"},&lt;BR /&gt; Master_Calendar_MonthYear = {"$(=date(AddMonths(Master_Calendar_MonthYear,-12), 'MMM-YYYY'))"}&amp;gt;}Count) but this didn't provide the correct details.&lt;/P&gt;&lt;P&gt;I also tried:&lt;/P&gt;&lt;P&gt;&lt;PRE&gt; sum({1&amp;lt;Master_Calendar_Month_Key={"&amp;gt;=$(=yearstart(Master_Calendar_Month_Key)) &amp;lt;=$(=Master_Calendar_Month_Key)"},&lt;BR /&gt; Master_Calendar_MonthYear = {"$(=date(AddMonths(Master_Calendar_MonthYear,-12), 'MMM-YYYY'))"}&amp;gt;}Count)&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;but this again did not give me the right result. Does anyone have any other suggestions, they would be most welcome.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jan 2011 11:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Prior-YTD-figure-expression-trouble/m-p/175012#M43614</guid>
      <dc:creator />
      <dc:date>2011-01-19T11:07:39Z</dc:date>
    </item>
  </channel>
</rss>

