<?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: Today's date vs last year same date calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281998#M851605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below logic alone is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic: &lt;STRONG style="font-size: 13.3333px; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;={"$(=Date((Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;)), '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;MM/DD/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Sales )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 17:43:14 GMT</pubDate>
    <dc:creator>nareshthavidishetty</dc:creator>
    <dc:date>2017-02-28T17:43:14Z</dc:date>
    <item>
      <title>Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281993#M851600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate the sum(sales) for today's date vs last year same date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like today's date (2/28/2017 ) sales is 222 and i need to compare the sales for 2/28/2016&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date field: Solddate&lt;/P&gt;&lt;P&gt;Logic: sum(sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281993#M851600</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281994#M851601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Sum({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Solddate&lt;/SPAN&gt;={"$(=Date(AddYears(Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Solddate&lt;/SPAN&gt;), -1), '&lt;SPAN style="color: #ff0000;"&gt;MM/DD/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Sales )&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281994#M851601</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T16:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281995#M851602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below condition on your Set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;2/28/2017&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {'$(=Today())'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;2/28/2016&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Date = {'$(=AddYears(Today(),-1))'}&amp;gt;}Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:11:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281995#M851602</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-02-28T16:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281996#M851603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get this as dynamic like if i select 2013 the sales is comparative in the chart like 2/28/2013 sales vs 2/28/2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281996#M851603</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-02-28T16:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281997#M851604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think the below should be working as dynamic !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333320617676px; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;={"$(=Date((Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;)), '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;MM/DD/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Sales )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;previous year&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333320617676px; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;={"$(=Date(AddYears(Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;), -1), '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333320617676px; font-family: inherit; color: #ff0000;"&gt;MM/DD/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Sales )&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 17:13:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281997#M851604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T17:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281998#M851605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below logic alone is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Logic: &lt;STRONG style="font-size: 13.3333px; font-family: Helvetica, sans-serif; color: #3d3d3d;"&gt;Sum({$&amp;lt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;={"$(=Date((Max(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Solddate&lt;/SPAN&gt;)), '&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit; color: #ff0000;"&gt;MM/DD/YYYY'&lt;/SPAN&gt;))"}&amp;gt;} Sales )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 17:43:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281998#M851605</guid>
      <dc:creator>nareshthavidishetty</dc:creator>
      <dc:date>2017-02-28T17:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281999#M851606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be check with your&amp;nbsp; Sales&amp;nbsp; ,&amp;nbsp; or&amp;nbsp; sales&amp;nbsp; , or&amp;nbsp; SALES..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to change as below ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;Solddate={"$(=Date((Max(Solddate)), 'MM/DD/YYYY'))"}&amp;gt;} sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;Solddate={"$(=Date(AddYears(Max(Solddate), -1), 'MM/DD/YYYY'))"}&amp;gt;} sales )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope&amp;nbsp; your dimnsion should be :&amp;nbsp; Solddate &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 19:22:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1281999#M851606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-28T19:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1282000#M851607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do a master calendar from your sold date:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Solddate) as Year,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(Solddate) as Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Day(Solddate) as Day,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SoldDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After That, you can use an expresion like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year = {$(max(Year))}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year = {$(max(Year)-1)}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 22:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1282000#M851607</guid>
      <dc:creator>ger_alegria</dc:creator>
      <dc:date>2017-02-28T22:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Today's date vs last year same date calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1282001#M851608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, Here what if you have forecast of data till November for 2017. In this case, If you select 2017 then what are expecting to see?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 02:40:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Today-s-date-vs-last-year-same-date-calculation/m-p/1282001#M851608</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-03-01T02:40:59Z</dc:date>
    </item>
  </channel>
</rss>

