<?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: Re: Comparing data over previous years in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581149#M477641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is not as expected. In fact the selected date in v_sel_date does not have any impact on 2014 value. If i insert the date 20140101, the turnover for 2014 is the same as if i insert 20140417.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it helps me to find the way. I'm working on it to find a solution ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Apr 2014 14:10:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-17T14:10:57Z</dc:date>
    <item>
      <title>Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581118#M477610</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;&lt;/P&gt;&lt;P&gt;I would like to compare the turnover for previous years at the same date.&lt;/P&gt;&lt;P&gt;For instance we are the 15th of April 2014, so I would like to compare the turnover at the same date for previous years:&lt;/P&gt;&lt;P&gt;I mean trurnover in 15th April 2009, 15th April 2010, 15 th April 2011 ... 'till 15th 2014 in order to compare the same situation over the years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An idea how to do that ?&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, 15 Apr 2014 13:14:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581118#M477610</guid>
      <dc:creator />
      <dc:date>2014-04-15T13:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581119#M477611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Use this,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;addmonths (YourDateColumn,12) for previous year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;addmonths (YourDateColumn,24) for previous to previous year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;and so on.....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Hope it will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;- Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Code"&gt;Vishal Waghole&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 14:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581119#M477611</guid>
      <dc:creator>VishalWaghole</dc:creator>
      <dc:date>2014-04-15T14:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581120#M477612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Depending what is your data volume you and what other analytics you would like to have in your application, you may want to prepare your data model to support those comparisions. Of course preparing your expressions in dynamic manner will be useful. It all depends what you want to show your user and what selections user can make. How many years and how much rows per year do you assume?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Apr 2014 14:52:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581120#M477612</guid>
      <dc:creator />
      <dc:date>2014-04-15T14:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581121#M477613</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;Thanks for your anwsers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my database I have the turnover starting at year 2009 and i would like to compare every year at the same current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User won't choose any date. The date to consider is the current date (when the report is open).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now let's explain better.&lt;/P&gt;&lt;P&gt;I have sales orders with &lt;STRONG style="text-decoration: underline;"&gt;creation date&lt;/STRONG&gt; and &lt;STRONG style="text-decoration: underline;"&gt;expected delivery date&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I manage two periods during the year: the first 6 month (january - June) and the last 6 month (july - december).&lt;/P&gt;&lt;P&gt;A sales order can be created today and to be delivered in 3 or 6 month.&lt;/P&gt;&lt;P&gt;The date to be considered for the turnover calculation is the expected delivery date, because the expected delivery date is also the expected invoice date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expected result: today we are the 16th of April 2014.&lt;/P&gt;&lt;P&gt;I would lke to compare the value of all the sales orders created before 16th April 2014 &lt;STRONG&gt;AND&lt;/STRONG&gt; with delivery date:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/ between 2014/01/01 and 2014/06/01 - First part of the year (semester 1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/ between 2014/07/01 and 2014/12/31 - Second part of the year (semester 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the same for the previous years. All the sales orders created before the 16th April 2013 &lt;STRONG&gt;AND&lt;/STRONG&gt; with delivery date:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1/ between 2013/01/01 and 2013/06/01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/ between 2013/07/01 and 2013/12/31 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... and the same for 2012, 2011, 2010 and 2009 to compare the performance of each year at the same period. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your feedback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 07:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581121#M477613</guid>
      <dc:creator />
      <dc:date>2014-04-16T07:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581122#M477614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi epissarra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you already tryed to load your data into QV? If yes, please share sample with some test data. It will be easier to propose something. If not - anyway prepare and share some xls table with sample of your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 08:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581122#M477614</guid>
      <dc:creator />
      <dc:date>2014-04-16T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581123#M477615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the table for 2013/2014 of sales orders. The field LIVDATE is the expected delivery date.&lt;/P&gt;&lt;P&gt;I already loaded values in QV and already have some reports.&lt;/P&gt;&lt;P&gt;The field VAL_SO_NET_PRICE is the value of the sales order (there is a dummy value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for 2014:&lt;/P&gt;&lt;P&gt;- semester 1, sum VAL_SO_NET_PRICE for CREADTE &amp;lt;= 20140416 AND LIVDATE between (20140101 and 20140630) &lt;/P&gt;&lt;P&gt;- semester 2, sum VAL_SO_NET_PRICE for CREADTE &amp;lt;= 20140416 AND LIVDATE between (20140701 and 20141231)&lt;/P&gt;&lt;P&gt;for 2013:&lt;/P&gt;&lt;P&gt;- semester 1, sum VAL_SO_NET_PRICE for CREADTE &amp;lt;= 20130416 AND LIVDATE between (20130101 and 20130630) &lt;/P&gt;&lt;P&gt;- semester 2, sum VAL_SO_NET_PRICE for CREADTE &amp;lt;= 20130416 AND LIVDATE between (20130701 and 20131231)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... for 2012 'till 2009.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 08:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581123#M477615</guid>
      <dc:creator />
      <dc:date>2014-04-16T08:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581124#M477616</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;You could define variables in the load script, don't know if this is a smart way to do it but I use it.&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//For last year&lt;/P&gt;&lt;P&gt;let vPriorYearDate = '=date(addyears(Now(),-1),' &amp;amp; chr(39) &amp;amp; 'DD.MM.YYYY' &amp;amp; chr(39) &amp;amp; ')';&lt;/P&gt;&lt;P&gt;//2 years back&lt;/P&gt;&lt;P&gt;let vPriorYearDate2 = '=date(addyears(Now(),-2),' &amp;amp; chr(39) &amp;amp; 'DD.MM.YYYY' &amp;amp; chr(39) &amp;amp; ')';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And change the date format (I use DD.MM.YYYY) to the one you use.&lt;/P&gt;&lt;P&gt;Then in the expression use set analysis ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'$(vPriorYearDate)'}&amp;gt;} VAL_SO_NET_PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581124#M477616</guid>
      <dc:creator />
      <dc:date>2014-04-16T09:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581125#M477617</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 SUM should be applied on DATE &amp;lt;= vPriorYearDate and not Date = vPriorYearDate.&lt;/P&gt;&lt;P&gt;How do you build the SUM with less or equal condition ?&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, 16 Apr 2014 09:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581125#M477617</guid>
      <dc:creator />
      <dc:date>2014-04-16T09:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581126#M477618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First idea in attachment.&lt;/P&gt;&lt;P&gt;Please consider what to do with 29.02 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 09:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581126#M477618</guid>
      <dc:creator />
      <dc:date>2014-04-16T09:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581127#M477619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but with my personnal edition i cannot open your attached document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could copy/paste on Word doc ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581127#M477619</guid>
      <dc:creator />
      <dc:date>2014-04-16T10:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581128#M477620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let v_year=Year(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD NCDEGPF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREADATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIVDATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAL_SO_NET_PRICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(month(LIVDATE)&amp;lt;=6,'1 sem','2 sem') as SEM,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(LIVDATE) as LIV_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(CREADATE) as CRE_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(MakeDate($(v_year),month(CREADATE),day(CREADATE))&amp;lt;=Today(),1,0 ) as IS_YTD&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Feuil1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimensions:&lt;/P&gt;&lt;P&gt;CRE_YEAR,&lt;/P&gt;&lt;P&gt;SEM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;IS_YTD={1}&amp;gt;}VAL_SO_NET_PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581128#M477620</guid>
      <dc:creator />
      <dc:date>2014-04-16T10:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581129#M477621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Date={'&amp;lt;=$(vPriorYearDate)'}&amp;gt;} VAL_SO_NET_PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Henrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581129#M477621</guid>
      <dc:creator />
      <dc:date>2014-04-16T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581130#M477622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use set as follows,&lt;/P&gt;&lt;P&gt;Current date&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; Date={'$(=TODAY())'} &amp;gt;}Value)&lt;/P&gt;&lt;P&gt;Previous Year&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; Date={'$(=ADDYEARS(TODAY(),-1))'} &amp;gt;}Value)&lt;/P&gt;&lt;P&gt;Two years ago&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; Date={'$(=ADDYEARS(TODAY(),-2))'} &amp;gt;}Value)&lt;/P&gt;&lt;P&gt;Three years ago&lt;/P&gt;&lt;P&gt;SUM({&amp;lt; Date={'$(=ADDYEARS(TODAY(),-3))'} &amp;gt;}Value)&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 10:33:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581130#M477622</guid>
      <dc:creator>joachim_boivie</dc:creator>
      <dc:date>2014-04-16T10:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581131#M477623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that's it.&lt;/P&gt;&lt;P&gt;But the result is not as expected because you consider only the CREADATE and not the LIVDATE (expected delivery date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:09:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581131#M477623</guid>
      <dc:creator />
      <dc:date>2014-04-16T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581132#M477624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;epissarra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have another one, more dynamic idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let v_year=Year(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD NCDEGPF,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CREADATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LIVDATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VAL_SO_NET_PRICE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MakeDate(1900,month(CREADATE),day(CREADATE)) as STANDARD_DATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(month(LIVDATE)&amp;lt;=6,'1 sem','2 sem') as SEM,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(LIVDATE) as LIV_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; year(CREADATE) as CRE_YEAR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(MakeDate($(v_year),month(CREADATE),day(CREADATE))&amp;lt;=Today(),1,0 ) as IS_YTD&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [Feuil1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//all dates putet into year 1900 to have common year &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;STANDARD_DATE={"&amp;lt;=$(=makedate(1900,month($(=v_sel_date)),day($(=v_sel_date))))"}&amp;gt;}VAL_SO_NET_PRICE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//where v_sel_date is variable with date selected by user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, this approach givas you more dynamic solutions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;I hope, that it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 12:34:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581132#M477624</guid>
      <dc:creator />
      <dc:date>2014-04-16T12:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581133#M477625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help, you've done it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i was expecting ... Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581133#M477625</guid>
      <dc:creator />
      <dc:date>2014-04-16T14:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581134#M477626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;epissarrra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for this "standarisation" choose year, which consists 29.02 &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581134#M477626</guid>
      <dc:creator />
      <dc:date>2014-04-16T14:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581135#M477627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darek,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact it is not really ok.&lt;/P&gt;&lt;P&gt;With this method you consider only the CREADATE.&lt;/P&gt;&lt;P&gt;So you will calculate the turnover for the sales orders created between 20140101 and 20140416 compared with sales orders created between 20130101 and 20130416. And this is not what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have:&lt;/P&gt;&lt;P&gt;For 2014, &lt;STRONG style="text-decoration: underline;"&gt;all the sales&lt;/STRONG&gt; orders created before 20140416 &lt;STRONG&gt;AND&lt;/STRONG&gt; with expected delivery date within semester1; the same with semester2. So it means i have to consider, for instance, also sales orders created in december 2013 with delivery date in 2014 (check NCDEGPF 2020098058).&lt;/P&gt;&lt;P&gt;With your method, the sales order created the 26th of december 2013 with delivery date the 8th of July 2014 is excluded and it should not. It should be part of the turnover of 2014 semester2 (check NCDEGPF 2020098058).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:31:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581135#M477627</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581136#M477628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; should be even easier ....&lt;/P&gt;&lt;P&gt;But i will be able to test it later &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:37:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581136#M477628</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Comparing data over previous years</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581137#M477629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand good, you should consider only delivery date. It is not important when document was created. It is important only when it is expected to be delivered .... Isnt it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 15:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-data-over-previous-years/m-p/581137#M477629</guid>
      <dc:creator />
      <dc:date>2014-04-16T15:43:37Z</dc:date>
    </item>
  </channel>
</rss>

