<?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: Pass Previous Year Variable to Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118168#M18216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put something like below in your set analysis&lt;/P&gt;&lt;P&gt;Year={'$(=Year(Max(DATE))-1)'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2018 19:21:20 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2018-10-18T19:21:20Z</dc:date>
    <item>
      <title>Pass Previous Year Variable to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118167#M18215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to compare this month to same month last year with a rolling 12 month period for&lt;/P&gt;&lt;P&gt;'Average Daily Contracts Received for Processing per month'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my expression for current year. It aggregates the daily averages for the timespan selected, which is usually fiscal year to date:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&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;$(eNewInBusUnit)&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;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;What would be the expression to get previous year's data?&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 15:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118167#M18215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-18T15:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Previous Year Variable to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118168#M18216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;put something like below in your set analysis&lt;/P&gt;&lt;P&gt;Year={'$(=Year(Max(DATE))-1)'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:21:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118168#M18216</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-18T19:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Previous Year Variable to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118169#M18217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm assuming you mean like this in replacement of 'Month, Date'? However, I am getting the infamous red line under the 1st bracket. Do you know the exact syntax in conjunction with the expression given?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Aggr&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;$(eNewInBusUnit)&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;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;={'&lt;/SPAN&gt;$(=Year(Max(DATE))-1)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 19:39:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118169#M18217</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-18T19:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Previous Year Variable to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118170#M18218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No. I mean repeat same logic as current year with the new set analysis&lt;/P&gt;&lt;P&gt;Let me put it this way whats the expression within &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;eNewInBusUnit&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2018 20:00:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118170#M18218</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2018-10-18T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Previous Year Variable to Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118171#M18219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-family: Helvetica;"&gt;eNewInBusUnit&lt;/EM&gt;&lt;/STRONG&gt;=count({&amp;lt;DateType={'SLAQueueStart'}&amp;gt;}BusinessUnit) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 12:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pass-Previous-Year-Variable-to-Expression/m-p/118171#M18219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-19T12:00:04Z</dc:date>
    </item>
  </channel>
</rss>

