<?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: Previous Year Data in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Previous-Year-Data/m-p/2439711#M3637</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If YTD is your Date field, then can you try this ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(KPI='STEC', sum({&amp;lt;[YTD/MTD]={'YTD'},YTD={"$(=AddYears(YTD,-1))"}&amp;gt;}[Thermal energy consumption (kiln)])/sum({&amp;lt;[YTD/MTD]={'YTD'},YTD={"$(=AddYears(YTD,-1))"}&amp;gt;}[Clinker production volume])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2024 09:54:17 GMT</pubDate>
    <dc:creator>mpc</dc:creator>
    <dc:date>2024-04-10T09:54:17Z</dc:date>
    <item>
      <title>Previous Year Data</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Previous-Year-Data/m-p/2439386#M3633</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have expression like this:&lt;/P&gt;
&lt;P&gt;if(KPI='STEC', sum({&amp;lt;[YTD/MTD]={'YTD'}&amp;gt;}[Thermal energy consumption (kiln)])/sum({&amp;lt;[YTD/MTD]={'YTD'}&amp;gt;}[Clinker production volume]),&lt;/P&gt;
&lt;P&gt;it shows me YTD data for STEC KPI for selected Year.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to have one more column named Previous Year YTD in my table which will show data for STEC for same period of previous year.&lt;/P&gt;
&lt;P&gt;For Example, if I choose Year 2023 and Month Feb, in Column YTD I would like to see data for Feb 2023 and in Colum Previous Year YTD data for Feb 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 13:57:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Previous-Year-Data/m-p/2439386#M3633</guid>
      <dc:creator>PeterGHEBS</dc:creator>
      <dc:date>2024-04-09T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Year Data</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Previous-Year-Data/m-p/2439711#M3637</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If YTD is your Date field, then can you try this ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if(KPI='STEC', sum({&amp;lt;[YTD/MTD]={'YTD'},YTD={"$(=AddYears(YTD,-1))"}&amp;gt;}[Thermal energy consumption (kiln)])/sum({&amp;lt;[YTD/MTD]={'YTD'},YTD={"$(=AddYears(YTD,-1))"}&amp;gt;}[Clinker production volume])&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 09:54:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Previous-Year-Data/m-p/2439711#M3637</guid>
      <dc:creator>mpc</dc:creator>
      <dc:date>2024-04-10T09:54:17Z</dc:date>
    </item>
  </channel>
</rss>

