<?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 KPI - Actual year and previous year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316101#M614462</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I just want to know the correct formula (in KPI) to show the figure of the previous year when selecting a year or month. I have used the next formula but it's not working at all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;AÑO={$(=max([AÑO]-1))}&amp;gt;}[Unidad Ventas])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one in actual year is working correctly, so it is only this one I need to correct.&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;Joaquin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 07:30:38 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-07-17T07:30:38Z</dc:date>
    <item>
      <title>KPI - Actual year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316101#M614462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, I just want to know the correct formula (in KPI) to show the figure of the previous year when selecting a year or month. I have used the next formula but it's not working at all:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;AÑO={$(=max([AÑO]-1))}&amp;gt;}[Unidad Ventas])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The one in actual year is working correctly, so it is only this one I need to correct.&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;Joaquin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 07:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316101#M614462</guid>
      <dc:creator />
      <dc:date>2017-07-17T07:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - Actual year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316102#M614463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;You can use for Month like this and similarly for year too.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Previous Month : Sum({&amp;lt;DateID{$(=max(DateID)-1)}&amp;gt;}Qv_Amount)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Current Month :&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;DateID={$(=max(DateID))}&amp;gt;}Qv_Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 07:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316102#M614463</guid>
      <dc:creator />
      <dc:date>2017-07-17T07:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - Actual year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316103#M614464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lohit, would you mind to show me the YEAR formula too, so i can compare results with mine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 08:03:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316103#M614464</guid>
      <dc:creator />
      <dc:date>2017-07-17T08:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: KPI - Actual year and previous year</title>
      <link>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316104#M614465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try using Calendar measures. Check this video out: &lt;A href="http://help.qlik.com/en-US/sense/3.2/Content/Videos/Videos-creating-calendar-measures.htm" title="http://help.qlik.com/en-US/sense/3.2/Content/Videos/Videos-creating-calendar-measures.htm"&gt;Measures - Creating calendar measures ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 20:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/KPI-Actual-year-and-previous-year/m-p/1316104#M614465</guid>
      <dc:creator />
      <dc:date>2017-07-17T20:35:10Z</dc:date>
    </item>
  </channel>
</rss>

