<?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 YOY Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70290#M11589</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use this expression instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='YTD YOY Sales: ' &amp;amp; num(Sum({$&amp;lt;Year={$(=Year(Today())-1)},Type={'Sales'}, &lt;STRONG&gt;Month = {"&amp;lt;=$(=Max({$&amp;lt;Type={'Sales'},Year={$(=Year(Today()))}&amp;gt;}Month))"}&lt;/STRONG&gt;&amp;gt;}Value)-Sum({$&amp;lt;Year={$(=Year(Today()))},Type={'Sales'}&amp;gt;}Value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2018 18:31:05 GMT</pubDate>
    <dc:creator>boorgura</dc:creator>
    <dc:date>2018-06-22T18:31:05Z</dc:date>
    <item>
      <title>YTD YOY Question</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70289#M11588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this article, which was helpful, but not exactly what I need to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/230218"&gt;Set Analysis - YTD Compared with Previous Years (Same Parameter)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to find which month is the most recent month we have data for and compare it to the same cumulative total for the year at this time last year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching an app I mocked up that should simulate the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example above would work well if I was updating daily, but the grain of the data is at a month level, and may be delayed a few days, so in early June I might be up to either April or May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works well if I had data for the entire year.&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;Year={$(=Year(Today())-1)},Type={'Sales'}&amp;gt;}Value)-Sum({$&amp;lt;Year={$(=Year(Today()))},Type={'Sales'}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:15:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70289#M11588</guid>
      <dc:creator>datagrrl</dc:creator>
      <dc:date>2018-06-22T18:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: YTD YOY Question</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70290#M11589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use this expression instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='YTD YOY Sales: ' &amp;amp; num(Sum({$&amp;lt;Year={$(=Year(Today())-1)},Type={'Sales'}, &lt;STRONG&gt;Month = {"&amp;lt;=$(=Max({$&amp;lt;Type={'Sales'},Year={$(=Year(Today()))}&amp;gt;}Month))"}&lt;/STRONG&gt;&amp;gt;}Value)-Sum({$&amp;lt;Year={$(=Year(Today()))},Type={'Sales'}&amp;gt;}Value))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70290#M11589</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2018-06-22T18:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: YTD YOY Question</title>
      <link>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70291#M11590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...I feel like I was getting close, but that last step was just not working out for me. I also realize I had the original calculation backwards. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2018 18:35:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/YTD-YOY-Question/m-p/70291#M11590</guid>
      <dc:creator>datagrrl</dc:creator>
      <dc:date>2018-06-22T18:35:31Z</dc:date>
    </item>
  </channel>
</rss>

