<?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 Problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226774#M78940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Can you help me in another question related to this? I have a calendar and I have mapped, as you say, and it is working almost perfectly: sum({} Sales) The only problem is this: If the use selectes the Date: 05-08-2009, I want to show the YTD value until that date, and not until today. I've changed the expresion to this: sum({} Quantidade) But I can't get the desired results. Thanks for all your help&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Oct 2009 18:07:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-28T18:07:39Z</dc:date>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226770#M78936</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've a typical problem of YTD.&lt;/P&gt;&lt;P&gt;My user have the ability of filtering the Year, Month and Day of Sales Revenue.&lt;/P&gt;&lt;P&gt;The question is that I cannot show the YTD value when a Month or a Day is filtered because the YTD values excludes all other months.&lt;/P&gt;&lt;P&gt;I have this Sum Expression:&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;Year={$(LAST_WORKDAY_REPDATE_VAR)}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Where LAST_WORKDAY_REPDATE_VAR is a variable that holds the Year of a Calendar selection, but I can't get no results from this expression.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Mário&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 00:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226770#M78936</guid>
      <dc:creator />
      <dc:date>2009-10-28T00:45:53Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226771#M78937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first $ in your expression is telling it to include all selections. So you're explicitly telling it to include the Month and Day selections when doing the sum. Instead, you need to tell it to IGNORE the month and day selections (as well as any other fields that are in your calendar). Something like this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;sum({&amp;lt;Month=,Day=,Year={$(LAST_WORKDAY_REPDATE_VAR)}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;Another thing you need to make sure of is that the Year field and the LAST_WORKDAY_REPDATE_VAR are formatted the same, as set analysis appears to do a text rather than numeric comparison.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 00:52:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226771#M78937</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2009-10-28T00:52:31Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226772#M78938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great TIP!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 16:47:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226772#M78938</guid>
      <dc:creator />
      <dc:date>2009-10-28T16:47:03Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226773#M78939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you help me in another question related to this?&lt;/P&gt;&lt;P&gt;I have a calendar and I have mapped, as you say, and it is working almost perfectly:&lt;/P&gt;&lt;P&gt;&lt;B&gt;sum&lt;/B&gt;({&amp;lt;&lt;B&gt;Data&lt;/B&gt;=, &lt;B&gt;Month&lt;/B&gt;=,&lt;B&gt;Year&lt;/B&gt;={&lt;B&gt;&lt;I&gt;$(=(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;Sales&lt;/B&gt;)&lt;/P&gt;&lt;P&gt;The only problem is this: If the use selectes the Date: 05-08-2009, I want to show the YTD value until that date, and not until today.&lt;/P&gt;&lt;P&gt;I've changed the expresion to this:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P style="font-weight: bold"&gt;sum&lt;/P&gt;&lt;B&gt;&lt;/B&gt;&lt;P style="font-weight: bold"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;({&amp;lt;&lt;B&gt;Data&lt;/B&gt;&amp;lt;={&lt;B&gt;&lt;I&gt;$(Data)&lt;/I&gt;&lt;/B&gt;}, &lt;B&gt;Month&lt;/B&gt;=,&lt;B&gt;Year&lt;/B&gt;={&lt;B&gt;&lt;I&gt;$(=(Year))&lt;/I&gt;&lt;/B&gt;}&amp;gt;} &lt;B&gt;Quantidade&lt;/B&gt;) &lt;P&gt;But I can't get the desired results.&lt;/P&gt;&lt;P&gt;Thanks for all your help&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 18:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226773#M78939</guid>
      <dc:creator />
      <dc:date>2009-10-28T18:03:48Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226774#M78940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Can you help me in another question related to this? I have a calendar and I have mapped, as you say, and it is working almost perfectly: sum({} Sales) The only problem is this: If the use selectes the Date: 05-08-2009, I want to show the YTD value until that date, and not until today. I've changed the expresion to this: sum({} Quantidade) But I can't get the desired results. Thanks for all your help&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 18:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226774#M78940</guid>
      <dc:creator />
      <dc:date>2009-10-28T18:07:39Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226775#M78941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I've found the answer: sum({} Sales) Thanks buddy!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 18:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226775#M78941</guid>
      <dc:creator />
      <dc:date>2009-10-28T18:34:01Z</dc:date>
    </item>
    <item>
      <title>YTD Problem</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226776#M78942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I've put the &amp;gt;= like this post and worked! http://community.qlik.com/forums/p/20981/80535.aspx#80535 Thanks again!&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2009 18:37:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-Problem/m-p/226776#M78942</guid>
      <dc:creator />
      <dc:date>2009-10-28T18:37:40Z</dc:date>
    </item>
  </channel>
</rss>

