<?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: Current Period and Last year Same Period in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713131#M1264039</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached QVW file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;@vi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jul 2014 06:22:14 GMT</pubDate>
    <dc:creator>avinashelite</dc:creator>
    <dc:date>2014-07-04T06:22:14Z</dc:date>
    <item>
      <title>Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713125#M1264025</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 am preparing a dashboard for compare profit and loss for this year vs last year.Depend on the year selection I want to display current period and last year same period in the other column but it doesn't seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone give me a hand on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harsh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713125#M1264025</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713126#M1264028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({&amp;lt;Year={$(=Max(Year)-1)},Period=&amp;gt;}Amount)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713126#M1264028</guid>
      <dc:creator />
      <dc:date>2014-07-04T06:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713127#M1264030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried that. it didn't work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713127#M1264030</guid>
      <dc:creator />
      <dc:date>2014-07-04T06:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713128#M1264032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check &lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/03/03/ytd"&gt;Year-Over-Year comparisons&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713128#M1264032</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2014-07-04T06:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713129#M1264034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was extra "=" and you don't want to have that "Period=" there as it ignores all selections from Period dimension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713129#M1264034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-04T06:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713130#M1264037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713130#M1264037</guid>
      <dc:creator />
      <dc:date>2014-07-04T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713131#M1264039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached QVW file for solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;@vi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:22:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713131#M1264039</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2014-07-04T06:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713132#M1264041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create 2 Expressions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; For Current Year&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(=max(Year))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=max({&amp;lt;Year={$(=max(Year))}&amp;gt;} Month))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#,##0')&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;2) For Previous Year Same Period&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vLastYr)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Issue_Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;=$(=date(SetDateYear((today()-1),max(Year-1)), 'DD-MM-YYYY'))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'#,##0') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Where vLastYr=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)-1&amp;nbsp; (Create a variable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;The Data will change as per the Selections done in the Year List Box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Hope that fulfills your requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Aviral Nag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713132#M1264041</guid>
      <dc:creator>aveeeeeee7en</dc:creator>
      <dc:date>2014-07-04T06:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713133#M1264042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Current period&amp;nbsp; : &lt;STRONG&gt;sum({&amp;lt;Period={$(=Max(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Period&lt;/SPAN&gt;))}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;last year same period:&lt;STRONG&gt; sum({&amp;lt;Period={$(=Max({&amp;lt;Year={$(=Max(Year)-1)}&amp;gt;}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Period&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;))}&amp;gt;}Amount)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;hope this helps&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713133#M1264042</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-07-04T06:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713134#M1264044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 06:36:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713134#M1264044</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2014-07-04T06:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713135#M1264045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mohit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to explain this bit more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using valuelist in my &lt;STRONG&gt;dimension&lt;/STRONG&gt; for grouping purpose. It is as below.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ValueList('Direct Income','Direct Expense','Gross Profit','Other Expense','Profit Before Other Income','Other Income','Net Profit')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;So in my &lt;STRONG&gt;expression&lt;/STRONG&gt; I am using as below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;ValueList('Direct Income','Direct Expense','Gross Profit','Other Expense','Profit Before Other Income','Other Income','Net Profit')='Direct Income' ,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum({&amp;lt;Year={'$(=vPYear)'},Period={'=$(=vMaxMonth)'}&amp;gt;}Amount))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;but it &lt;/SPAN&gt;doesn't seems to work.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt;"&gt;Harsh &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:22:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713135#M1264045</guid>
      <dc:creator />
      <dc:date>2014-07-04T07:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Current Period and Last year Same Period</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713136#M1264046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working for the above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Period-and-Last-year-Same-Period/m-p/713136#M1264046</guid>
      <dc:creator />
      <dc:date>2014-07-04T07:44:59Z</dc:date>
    </item>
  </channel>
</rss>

