<?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: Compare date from previous year with date from current year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710068#M255823</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;this could be the reason!&lt;/P&gt;&lt;P&gt;I am new in using Set Analysis, how can i conform the expressions that i get the same last 30 days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance und best regards,&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 11:03:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-28T11:03:54Z</dc:date>
    <item>
      <title>Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710063#M255818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have still the problem, that i am not able to compare a date from previous year with a date of the current year.&lt;/P&gt;&lt;P&gt;i.e. 15.05.2013 vs. 15.05.2014&lt;/P&gt;&lt;P&gt;I want to show the last 30 days vs the same days in the previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a line chart with these dimensions:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp; (=if(Datefield&amp;gt;=date(today()-30), Datefield)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Plattform&amp;nbsp;&amp;nbsp;&amp;nbsp; (there are about 10 plattforms)&lt;/P&gt;&lt;P&gt;Field for formula:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; amount of article&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And now i want to have two lines in the chart: one for the current year and one (as pointed line) for previous year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have allready tried this in expressions, but no data will shown:&lt;/P&gt;&lt;P&gt;=AVG({$&amp;lt;FieldYear={$(=Max(FieldYear))}&amp;gt;}[Article Online])&lt;/P&gt;&lt;P&gt;=AVG({$&amp;lt;FieldYear={$(=Max(FieldYear)-1)}&amp;gt;}[Article Online])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could somebody help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like this; in this example the 2nd line for prev year is missing!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69835_example.jpg" style="width: 620px; height: 257px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:39:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710063#M255818</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710064#M255819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=AVG({$&amp;lt;FieldYear={$('=Max(FieldYear'))}&amp;gt;}[Article Online])&lt;/P&gt;&lt;P&gt;=AVG({$&amp;lt;FieldYear={$('=Max(FieldYear)-1')}&amp;gt;}[Article Online])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:49:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710064#M255819</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710065#M255820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doesn't work &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No data available... any idea else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710065#M255820</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710066#M255821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mistake by myself!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the result of your changes, but now the plattform is missing (Agenda for years) &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="example2.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/69845_example2.jpg" style="width: 620px; height: 317px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710066#M255821</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710067#M255822</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 think in dimension that is&amp;nbsp; Date&amp;nbsp;&amp;nbsp; (=if(Datefield&amp;gt;=date(today()-30), Datefield)&lt;/P&gt;&lt;P&gt;in dimension values it has only this year values below 30 days only so it doesn't show previous year data as a line.bcoz in the dimension we have only values like 1/10/2014,2/10/2014.......29/10/2014&lt;/P&gt;&lt;P&gt;here we don't have 2013 values in dimension so it won't show the line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 10:59:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710067#M255822</guid>
      <dc:creator />
      <dc:date>2014-10-28T10:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710068#M255823</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;this could be the reason!&lt;/P&gt;&lt;P&gt;I am new in using Set Analysis, how can i conform the expressions that i get the same last 30 days?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance und best regards,&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 11:03:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710068#M255823</guid>
      <dc:creator />
      <dc:date>2014-10-28T11:03:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710069#M255824</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;Try to impliment in some other charts gauge and text objects.it will differenstiate the curr year and prev year [Article Online]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 11:08:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710069#M255824</guid>
      <dc:creator />
      <dc:date>2014-10-28T11:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: Compare date from previous year with date from current year</title>
      <link>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710070#M255825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rakesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried to switch into other diagrams but nothing works fine for me.&lt;/P&gt;&lt;P&gt;I think your idea regarding dimension date is the right way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement a set analysis function to the expressions, which give me also the last 30 days. &lt;BR /&gt;Could you help me how to build this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 07:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Compare-date-from-previous-year-with-date-from-current-year/m-p/710070#M255825</guid>
      <dc:creator />
      <dc:date>2014-10-29T07:15:10Z</dc:date>
    </item>
  </channel>
</rss>

