<?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 How to get Dec-22 Value for Jan-23 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-get-Dec-22-Value-for-Jan-23/m-p/2085239#M88989</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a Dataset which has values from the year 2020. I need to show current year Profit's based on comparison with previous Months&lt;/P&gt;
&lt;P&gt;Sample Dataset is like below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karthick30_0-1687171876783.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110407iEFFF5543D4CBE36D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Karthick30_0-1687171876783.png" alt="Karthick30_0-1687171876783.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For Jan 23 , Previous value is showing as 0 , but i have value for Dec-22. I need to show Dec -22 value in Jan 23 place.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remaining values are coming correctly&lt;/P&gt;
&lt;P&gt;Any way to achieve this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Jun 2023 10:52:30 GMT</pubDate>
    <dc:creator>Karthick30</dc:creator>
    <dc:date>2023-06-19T10:52:30Z</dc:date>
    <item>
      <title>How to get Dec-22 Value for Jan-23</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-Dec-22-Value-for-Jan-23/m-p/2085239#M88989</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I have a Dataset which has values from the year 2020. I need to show current year Profit's based on comparison with previous Months&lt;/P&gt;
&lt;P&gt;Sample Dataset is like below&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Karthick30_0-1687171876783.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/110407iEFFF5543D4CBE36D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Karthick30_0-1687171876783.png" alt="Karthick30_0-1687171876783.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For Jan 23 , Previous value is showing as 0 , but i have value for Dec-22. I need to show Dec -22 value in Jan 23 place.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Remaining values are coming correctly&lt;/P&gt;
&lt;P&gt;Any way to achieve this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 10:52:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-Dec-22-Value-for-Jan-23/m-p/2085239#M88989</guid>
      <dc:creator>Karthick30</dc:creator>
      <dc:date>2023-06-19T10:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Dec-22 Value for Jan-23</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-get-Dec-22-Value-for-Jan-23/m-p/2085285#M88991</link>
      <description>&lt;P&gt;First expression limited to 2023. Second expression same as first but:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- shift monts 1 step with addmonths to catch the 2022-12 row.&lt;BR /&gt;- use above function to look up one row so dates match 2023.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;table:&lt;BR /&gt;load * Inline [&lt;BR /&gt;date, value&lt;BR /&gt;2022-11-01, 10&lt;BR /&gt;2022-12-01, 15&lt;BR /&gt;2023-01-01, 50&lt;BR /&gt;2023-02-01, 40&lt;BR /&gt;2023-03-01, 30&lt;BR /&gt;2023-04-01, 20&lt;BR /&gt;2023-05-01, 60&lt;BR /&gt;2023-06-01, 70&lt;BR /&gt;2023-07-01, 40&lt;BR /&gt;2023-08-01, 30&lt;BR /&gt;2023-09-01, 20&lt;BR /&gt;2023-10-01, 60&lt;BR /&gt;2023-11-01, 70&lt;BR /&gt;2023-12-01, 40&lt;BR /&gt;2024-01-01, 30&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;exp1 =&amp;nbsp;sum({&amp;lt;date={"=year(date)=2023"}&amp;gt;} value)&lt;/P&gt;
&lt;P&gt;exp2 =&amp;nbsp;above( sum({&amp;lt;date={"=year(addmonths(date,1))=2023"}&amp;gt;} value) )&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Table must exclude zero values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jun 2023 12:40:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-get-Dec-22-Value-for-Jan-23/m-p/2085285#M88991</guid>
      <dc:creator>jonashertz</dc:creator>
      <dc:date>2023-06-19T12:40:09Z</dc:date>
    </item>
  </channel>
</rss>

